/external/mesa3d/src/mesa/main/ |
enable.c | 660 if (ctx->Stencil.Enabled == state) 663 ctx->Stencil.Enabled = state; 938 if (ctx->Stencil.TestTwoSide == state) 941 ctx->Stencil.TestTwoSide = state; 943 ctx->Stencil._BackFace = 2; 945 ctx->Stencil._BackFace = 1; [all...] |
context.c | 121 #include "stencil.h" 193 * \param stencilBits requested minimum bits per stencil buffer value [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv04_context.c | 59 ctx->Stencil.Enabled ||
|
nv20_context.c | 79 if (buffers & BUFFER_BIT_STENCIL && ctx->Stencil.WriteMask[0]) 84 ctx->Stencil.Clear));
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_depth.c | 525 * depth+stencil buffer, only the Z bits will be touched. 651 * Clear both depth and stencil values in a combined depth+stencil buffer. 657 const GLuint writeMask = ctx->Stencil.WriteMask[0]; 666 /* check that we really have a combined depth+stencil buffer */ 677 /* need to mask stencil values */ 684 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glClear(depth+stencil)"); 699 clear |= (ctx->Stencil.Clear & writeMask & 0xff) << 24; 703 clear |= (ctx->Stencil.Clear & writeMask & 0xff); 726 const GLuint sClear = ctx->Stencil.Clear & writeMask [all...] |
s_drawpix.c | 256 * Draw stencil image. 505 * Draw depth+stencil values into a MESA_FORAMT_Z24_S8 or MESA_FORMAT_S8_Z24 543 * stencil offset/shift, GL_DEPTH_WRITEMASK and GL_STENCIL_WRITEMASK, 545 * Also, only the depth buffer and stencil buffers are touched, not the 557 const GLuint stencilMask = ctx->Stencil.WriteMask[0]; 589 * Separate depth/stencil buffers, or pixel transfer ops required. 626 /* get stencil values, with shift/offset/mapping */
|
s_span.c | [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_context.c | 59 ctx->Stencil.Enabled ||
|
nv20_context.c | 79 if (buffers & BUFFER_BIT_STENCIL && ctx->Stencil.WriteMask[0]) 84 ctx->Stencil.Clear));
|
/external/mesa3d/src/mesa/swrast/ |
s_depth.c | 525 * depth+stencil buffer, only the Z bits will be touched. 651 * Clear both depth and stencil values in a combined depth+stencil buffer. 657 const GLuint writeMask = ctx->Stencil.WriteMask[0]; 666 /* check that we really have a combined depth+stencil buffer */ 677 /* need to mask stencil values */ 684 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glClear(depth+stencil)"); 699 clear |= (ctx->Stencil.Clear & writeMask & 0xff) << 24; 703 clear |= (ctx->Stencil.Clear & writeMask & 0xff); 726 const GLuint sClear = ctx->Stencil.Clear & writeMask [all...] |
s_drawpix.c | 256 * Draw stencil image. 505 * Draw depth+stencil values into a MESA_FORAMT_Z24_S8 or MESA_FORMAT_S8_Z24 543 * stencil offset/shift, GL_DEPTH_WRITEMASK and GL_STENCIL_WRITEMASK, 545 * Also, only the depth buffer and stencil buffers are touched, not the 557 const GLuint stencilMask = ctx->Stencil.WriteMask[0]; 589 * Separate depth/stencil buffers, or pixel transfer ops required. 626 /* get stencil values, with shift/offset/mapping */
|
/frameworks/base/libs/hwui/ |
Caches.h | 48 #include "Stencil.h" 342 Stencil stencil; member in class:android::uirenderer::Caches
|
/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...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_state.c | [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_state.c | [all...] |
radeon_common.c | 283 /* need to re-compute stencil hw state */ 292 ctx->Driver.Enable(ctx, GL_STENCIL_TEST, ctx->Stencil.Enabled); 311 /* Need to update the derived ctx->Stencil._Enabled first */ 313 (ctx->Stencil.Enabled && fb->Visual.stencilBits > 0));
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_state.c | [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_state.c | [all...] |
radeon_common.c | 283 /* need to re-compute stencil hw state */ 292 ctx->Driver.Enable(ctx, GL_STENCIL_TEST, ctx->Stencil.Enabled); 311 /* Need to update the derived ctx->Stencil._Enabled first */ 313 (ctx->Stencil.Enabled && fb->Visual.stencilBits > 0));
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_blit.c | 247 clear_depth_value |= (ctx->Stencil.Clear & 0xff) << 24;
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_blit.c | 247 clear_depth_value |= (ctx->Stencil.Clear & 0xff) << 24;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
context.c | 121 #include "stencil.h" 193 * \param stencilBits requested minimum bits per stencil buffer value [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_cb_drawpixels.c | 191 * stencil value value, then writes to FRAG_RESULT_DEPTH/FRAG_RESULT_STENCIL. 252 /* TEX result.stencil, fragment.texcoord[0], texture[0], 2D; */ 710 /* Stencil writing bypasses the normal fragment pipeline to 711 * disable color writing and set stencil test to always pass. 716 /* depth/stencil */ 718 dsa.stencil[0].enabled = 1; 719 dsa.stencil[0].func = PIPE_FUNC_ALWAYS; 720 dsa.stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff; 721 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_drawpixels.c | 191 * stencil value value, then writes to FRAG_RESULT_DEPTH/FRAG_RESULT_STENCIL. 252 /* TEX result.stencil, fragment.texcoord[0], texture[0], 2D; */ 710 /* Stencil writing bypasses the normal fragment pipeline to 711 * disable color writing and set stencil test to always pass. 716 /* depth/stencil */ 718 dsa.stencil[0].enabled = 1; 719 dsa.stencil[0].func = PIPE_FUNC_ALWAYS; 720 dsa.stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff; 721 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE [all...] |