diff options
| author | 2012-01-25 18:56:29 -0800 | |
|---|---|---|
| committer | 2012-01-30 12:04:17 -0800 | |
| commit | 530041d3191ce817832a0108514617768e43cda6 (patch) | |
| tree | 8705f42f34dd66983b6782c23b6046c65d1fdfff /libs/hwui/OpenGLRenderer.cpp | |
| parent | f10d69f30107f27465684630460615443783f2bc (diff) | |
Add stencil buffer to the EGL config
Change-Id: If76c0cd6127534d90f9526b75c0f8e56259c6722
Diffstat (limited to 'libs/hwui/OpenGLRenderer.cpp')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index cc0e05ef914b..f7d9040108e8 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -127,6 +127,10 @@ OpenGLRenderer::~OpenGLRenderer() { // Setup /////////////////////////////////////////////////////////////////////////////// +uint32_t OpenGLRenderer::getStencilSize() { + return STENCIL_BUFFER_SIZE; +} + void OpenGLRenderer::setViewport(int width, int height) { mOrthoMatrix.loadOrtho(0, width, height, 0, -1, 1); |