diff options
Diffstat (limited to 'libs/hwui/Stencil.h')
-rw-r--r-- | libs/hwui/Stencil.h | 10 |
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(); |