Loading libs/hwui/OpenGLRenderer.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -1630,6 +1630,7 @@ void OpenGLRenderer::drawPatch(const SkBitmap* bitmap, const Patch* mesh, Texture* texture = entry ? entry->texture : mCaches.textureCache.get(bitmap); if (!texture) return; const AutoTexture autoCleanup(texture); // 9 patches are built for stretching - always filter int textureFillFlags = TextureFillFlags::ForceFilter; Loading libs/hwui/renderstate/RenderState.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -340,6 +340,9 @@ void RenderState::render(const Glop& glop, const Matrix4& orthoMatrix) { SkiaShader::apply(*mCaches, fill.skiaShaderData); GL_CHECKPOINT(); Texture* texture = (fill.skiaShaderData.skiaShaderType & kBitmap_SkiaShaderType) ? fill.skiaShaderData.bitmapData.bitmapTexture : nullptr; const AutoTexture autoCleanup(texture); // ------------------------------------ // ---------- GL state setup ---------- Loading Loading
libs/hwui/OpenGLRenderer.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -1630,6 +1630,7 @@ void OpenGLRenderer::drawPatch(const SkBitmap* bitmap, const Patch* mesh, Texture* texture = entry ? entry->texture : mCaches.textureCache.get(bitmap); if (!texture) return; const AutoTexture autoCleanup(texture); // 9 patches are built for stretching - always filter int textureFillFlags = TextureFillFlags::ForceFilter; Loading
libs/hwui/renderstate/RenderState.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -340,6 +340,9 @@ void RenderState::render(const Glop& glop, const Matrix4& orthoMatrix) { SkiaShader::apply(*mCaches, fill.skiaShaderData); GL_CHECKPOINT(); Texture* texture = (fill.skiaShaderData.skiaShaderType & kBitmap_SkiaShaderType) ? fill.skiaShaderData.bitmapData.bitmapTexture : nullptr; const AutoTexture autoCleanup(texture); // ------------------------------------ // ---------- GL state setup ---------- Loading