From 70969ccde405ea410fc7ccfe869999a03f056686 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Wed, 30 Mar 2016 18:09:17 -0700 Subject: Fix layer damage and clipping for Text shadows Fixes: 27787426 Change-Id: I4c65cca0cfcd343a9cfbaedd3a32b83f90df2ecf --- libs/hwui/OpenGLRenderer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/hwui/OpenGLRenderer.cpp') diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index c0994272c964..53ea7fa6f77d 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -1413,7 +1413,9 @@ void OpenGLRenderer::renderGlop(const Glop& glop, GlopRenderType type) { if (type == GlopRenderType::Standard && !mRenderState.stencil().isWriteEnabled()) { // TODO: specify more clearly when a draw should dirty the layer. // is writing to the stencil the only time we should ignore this? +#if !HWUI_NEW_OPS dirtyLayer(glop.bounds.left, glop.bounds.top, glop.bounds.right, glop.bounds.bottom); +#endif mDirty = true; } } -- cgit v1.2.3-59-g8ed1b