diff options
author | Chris Craik <ccraik@google.com> | 2013-07-16 22:43:01 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-07-16 22:43:02 +0000 |
commit | b3d83888229d9a9d40c3ada037fcf6f96e80e125 (patch) | |
tree | f4e5d9c893f107e7dec327b5840694590532bf45 /libs/hwui | |
parent | 07c09ce248db379c7c4f515c2c84611c9f258dd3 (diff) | |
parent | ecca6da4eab601f05a9d977c8d2651068b6e16b2 (diff) | |
download | frameworks_base-b3d83888229d9a9d40c3ada037fcf6f96e80e125.zip frameworks_base-b3d83888229d9a9d40c3ada037fcf6f96e80e125.tar.gz frameworks_base-b3d83888229d9a9d40c3ada037fcf6f96e80e125.tar.bz2 |
Merge "Support stencil-based clipping for functors"
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); |