OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e77d6dd
)
Support stencil-based clipping for functors
author
Chris Craik
<ccraik@google.com>
Tue, 16 Jul 2013 20:27:18 +0000
(13:27 -0700)
committer
Chris Craik
<ccraik@google.com>
Tue, 16 Jul 2013 20:27:18 +0000
(13:27 -0700)
bug:
9070351
Change-Id: I1c54e1bea1b84b1619cce27b14f189b42cab7062
libs/hwui/OpenGLRenderer.cpp
patch
|
blob
|
history
diff --git
a/libs/hwui/OpenGLRenderer.cpp
b/libs/hwui/OpenGLRenderer.cpp
index
7c0f3ad
..
3e84273
100644
(file)
--- 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);