diff options
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r-- | libs/hwui/OpenGLRenderer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 4c7cf0aea212..2369f47ed99d 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -208,6 +208,12 @@ public: SkPaint* filterPaint(SkPaint* paint); /** + * Returns the desired size for the stencil buffer. If the returned value + * is 0, then no stencil buffer is required. + */ + ANDROID_API static uint32_t getStencilSize(); + + /** * Sets the alpha on the current snapshot. This alpha value will be modulated * with other alpha values when drawing primitives. */ |