summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderstate/Stencil.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-02-06 15:25:51 -0800
committerChris Craik <ccraik@google.com>2015-02-09 11:04:31 -0800
commit2ab95d780b023152556d9f8659de734ec7b55047 (patch)
tree9739704a8a0a8f16b59d1f04af4a3022b02a1998 /libs/hwui/renderstate/Stencil.h
parent92b2fe5d0d9781d57f3a2520eecc83682e9aa8ed (diff)
downloadframeworks_base-2ab95d780b023152556d9f8659de734ec7b55047.zip
frameworks_base-2ab95d780b023152556d9f8659de734ec7b55047.tar.gz
frameworks_base-2ab95d780b023152556d9f8659de734ec7b55047.tar.bz2
Glop support for indexed quads
bug:19014311 Change-Id: If35a873421b41cc4508b0d8ac1b4d900c9bb3717
Diffstat (limited to 'libs/hwui/renderstate/Stencil.h')
-rw-r--r--libs/hwui/renderstate/Stencil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/renderstate/Stencil.h b/libs/hwui/renderstate/Stencil.h
index a88beae..e4f0f3f 100644
--- a/libs/hwui/renderstate/Stencil.h
+++ b/libs/hwui/renderstate/Stencil.h
@@ -98,6 +98,10 @@ public:
return mState == kTest;
}
+ bool isWriteEnabled() {
+ return mState == kWrite;
+ }
+
void dump();
private: