/frameworks/base/libs/hwui/ |
Stencil.cpp | 20 #include "Stencil.h" 35 Stencil::Stencil(): mState(kDisabled) { 38 uint32_t Stencil::getStencilSize() { 42 GLenum Stencil::getSmallestStencilFormat() { 54 void Stencil::clear() { 59 void Stencil::enableTest() { 70 void Stencil::enableWrite() { 81 void Stencil::enableDebugTest(GLint value, bool greater) { 89 void Stencil::enableDebugWrite() [all...] |
Stencil.h | 32 // Stencil buffer management 35 class ANDROID_API Stencil { 37 Stencil(); 40 * Returns the desired size for the stencil buffer. If the returned value 41 * is 0, then no stencil buffer is required. 46 * Returns the smallest stencil format accepted by render buffers. 51 * Clears the stencil buffer. 56 * Enables stencil test. When the stencil test is enabled the stencil [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
attrib.c | 52 #include "stencil.h" 119 GLboolean Stencil; 313 attr->Stencil = ctx->Stencil.Enabled; 314 attr->StencilTwoSide = ctx->Stencil.TestTwoSide; 416 memcpy( attr, &ctx->Stencil, sizeof(struct gl_stencil_attrib) ); 600 TEST_AND_UPDATE(ctx->Stencil.Enabled, enable->Stencil, GL_STENCIL_TEST); 602 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, enable->StencilTwoSide, GL_STENCIL_TEST_TWO_SIDE_EXT); 1211 const struct gl_stencil_attrib *stencil; local [all...] |
mtypes.h | [all...] |
/external/mesa3d/src/mesa/main/ |
attrib.c | 52 #include "stencil.h" 119 GLboolean Stencil; 313 attr->Stencil = ctx->Stencil.Enabled; 314 attr->StencilTwoSide = ctx->Stencil.TestTwoSide; 416 memcpy( attr, &ctx->Stencil, sizeof(struct gl_stencil_attrib) ); 600 TEST_AND_UPDATE(ctx->Stencil.Enabled, enable->Stencil, GL_STENCIL_TEST); 602 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, enable->StencilTwoSide, GL_STENCIL_TEST_TWO_SIDE_EXT); 1211 const struct gl_stencil_attrib *stencil; local [all...] |
mtypes.h | [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
meta.c | 62 #include "main/stencil.h" 143 struct gl_stencil_attrib Stencil; 261 GLuint StencilFP; /**< Fragment program for drawing stencil images */ 650 save->Stencil = ctx->Stencil; /* struct copy */ 651 if (ctx->Stencil.Enabled) 653 /* NOTE: other stencil state not reset */ 977 const struct gl_stencil_attrib *stencil = &save->Stencil; local 979 _mesa_set_enable(ctx, GL_STENCIL_TEST, stencil->Enabled) [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
meta.c | 62 #include "main/stencil.h" 143 struct gl_stencil_attrib Stencil; 261 GLuint StencilFP; /**< Fragment program for drawing stencil images */ 650 save->Stencil = ctx->Stencil; /* struct copy */ 651 if (ctx->Stencil.Enabled) 653 /* NOTE: other stencil state not reset */ 977 const struct gl_stencil_attrib *stencil = &save->Stencil; local 979 _mesa_set_enable(ctx, GL_STENCIL_TEST, stencil->Enabled) [all...] |