summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Stencil.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-09-21 19:28:05 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-21 19:28:06 -0700
commit8e586f61dd4f7fa53b01e63ac779ffc7cde05bdd (patch)
tree8329d87f72780ef47d6d8c74ab46a56cca648bbe /libs/hwui/Stencil.h
parent88923c973e3b58593c4d0fb6724addcefc53004f (diff)
parent7c450aaa3caac2a05fcb20a177483d0e92378426 (diff)
downloadframeworks_base-8e586f61dd4f7fa53b01e63ac779ffc7cde05bdd.zip
frameworks_base-8e586f61dd4f7fa53b01e63ac779ffc7cde05bdd.tar.gz
frameworks_base-8e586f61dd4f7fa53b01e63ac779ffc7cde05bdd.tar.bz2
Merge "Add support for a new developer setting: overdraw debugging" into jb-mr1-dev
Diffstat (limited to 'libs/hwui/Stencil.h')
-rw-r--r--libs/hwui/Stencil.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/hwui/Stencil.h b/libs/hwui/Stencil.h
index 67ccc78..2f8a66a 100644
--- a/libs/hwui/Stencil.h
+++ b/libs/hwui/Stencil.h
@@ -59,6 +59,16 @@ public:
void enableWrite();
/**
+ * The test passes only when equal to the specified value.
+ */
+ void enableDebugTest(GLint value, bool greater = false);
+
+ /**
+ * Used for debugging. The stencil test always passes and increments.
+ */
+ void enableDebugWrite();
+
+ /**
* Disables stencil test and write.
*/
void disable();