diff options
author | Chris Craik <ccraik@google.com> | 2013-07-16 13:27:18 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2013-07-16 13:27:18 -0700 |
commit | ecca6da4eab601f05a9d977c8d2651068b6e16b2 (patch) | |
tree | d7b3d39eb65155174cafe6c3033be0917bde15ed /libs/hwui | |
parent | e77d6dd94371b97a8fac21a60b804b4f99559eab (diff) | |
download | frameworks_base-ecca6da4eab601f05a9d977c8d2651068b6e16b2.zip frameworks_base-ecca6da4eab601f05a9d977c8d2651068b6e16b2.tar.gz frameworks_base-ecca6da4eab601f05a9d977c8d2651068b6e16b2.tar.bz2 |
Support stencil-based clipping for functors
bug:9070351
Change-Id: I1c54e1bea1b84b1619cce27b14f189b42cab7062
Diffstat (limited to 'libs/hwui')
-rw-r--r-- | libs/hwui/OpenGLRenderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index 7c0f3ad..3e84273 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -445,6 +445,7 @@ status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { mCaches.enableScissor(); if (mDirtyClip) { setScissorFromClip(); + setStencilFromClip(); } Rect clip(*mSnapshot->clipRect); |