diff options
| author | 2015-04-03 09:37:49 -0700 | |
|---|---|---|
| committer | 2015-04-03 13:01:18 -0700 | |
| commit | 828407356dd5c34a3e441604aaf895cbec7c7e66 (patch) | |
| tree | 95f818ed2f79f01e16a38ade4fe461b89de95cca /libs/hwui/GlopBuilder.cpp | |
| parent | 095d99904579a5231d974a2447661c10a8eb621b (diff) | |
Delete pre-glop path
bug:19014311
Change-Id: I06376b6f625455892d8eafe2727b78025a64c4bf
Diffstat (limited to 'libs/hwui/GlopBuilder.cpp')
| -rw-r--r-- | libs/hwui/GlopBuilder.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/GlopBuilder.cpp b/libs/hwui/GlopBuilder.cpp index 0a46014a9f7d..9ca6bc635338 100644 --- a/libs/hwui/GlopBuilder.cpp +++ b/libs/hwui/GlopBuilder.cpp @@ -586,6 +586,12 @@ void GlopBuilder::build() { mDescription.hasColors = mOutGlop->mesh.vertices.attribFlags & VertexAttribFlags::kColor; mDescription.hasVertexAlpha = mOutGlop->mesh.vertices.attribFlags & VertexAttribFlags::kAlpha; + // Enable debug highlight when what we're about to draw is tested against + // the stencil buffer and if stencil highlight debugging is on + mDescription.hasDebugHighlight = !mCaches.debugOverdraw + && mCaches.debugStencilClip == Caches::kStencilShowHighlight + && mRenderState.stencil().isTestEnabled(); + // serialize shader info into ShaderData GLuint textureUnit = mOutGlop->fill.texture.texture ? 1 : 0; SkiaShader::store(mCaches, mShader, mOutGlop->transform.modelView, |