| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | stencil.h | 3 * Stencil operations. 93 * "Stencil comparison operations and queries of <ref> clamp its value 102 GLint ref = ctx->Stencil.Ref[face]; 109 return ctx->Stencil.Enabled && 116 const int face = ctx->Stencil._BackFace; 119 (ctx->Stencil.Function[0] != ctx->Stencil.Function[face] || 120 ctx->Stencil.FailFunc[0] != ctx->Stencil.FailFunc[face] || 121 ctx->Stencil [all...] |
| H A D | stencil.c | 28 * Stencil operations. 115 ctx->Stencil.Clear = (GLuint) s; 130 * __struct gl_contextRec::Stencil. On change flushes the vertices and notifies 153 if (ctx->Stencil.Function[0] == frontfunc && 154 ctx->Stencil.Function[1] == backfunc && 155 ctx->Stencil.ValueMask[0] == mask && 156 ctx->Stencil.ValueMask[1] == mask && 157 ctx->Stencil.Ref[0] == ref && 158 ctx->Stencil.Ref[1] == ref) 162 ctx->Stencil [all...] |
| H A D | clear.c | 374 const GLuint clearSave = ctx->Stencil.Clear; 375 ctx->Stencil.Clear = *value; 377 ctx->Stencil.Clear = clearSave; 706 const GLuint clearStencilSave = ctx->Stencil.Clear; 710 ctx->Stencil.Clear = stencil; 717 ctx->Stencil.Clear = clearStencilSave;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | stencil.h | 3 * Stencil operations. 93 * "Stencil comparison operations and queries of <ref> clamp its value 102 GLint ref = ctx->Stencil.Ref[face]; 109 return ctx->Stencil.Enabled && 116 const int face = ctx->Stencil._BackFace; 119 (ctx->Stencil.Function[0] != ctx->Stencil.Function[face] || 120 ctx->Stencil.FailFunc[0] != ctx->Stencil.FailFunc[face] || 121 ctx->Stencil [all...] |
| H A D | stencil.c | 28 * Stencil operations. 116 ctx->Stencil.Clear = (GLuint) s; 131 * __struct gl_contextRec::Stencil. On change flushes the vertices and notifies 154 if (ctx->Stencil.Function[0] == frontfunc && 155 ctx->Stencil.Function[1] == backfunc && 156 ctx->Stencil.ValueMask[0] == mask && 157 ctx->Stencil.ValueMask[1] == mask && 158 ctx->Stencil.Ref[0] == ref && 159 ctx->Stencil.Ref[1] == ref) 164 ctx->Stencil [all...] |
| H A D | attrib.c | 185 attr->Stencil = ctx->Stencil.Enabled; 186 attr->StencilTwoSide = ctx->Stencil.TestTwoSide; 251 memcpy(&head->Stencil, &ctx->Stencil, sizeof(head->Stencil)); 447 TEST_AND_UPDATE(ctx->Stencil.Enabled, enable->Stencil, GL_STENCIL_TEST); 449 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, enable->StencilTwoSide, 1145 TEST_AND_UPDATE(ctx->Stencil [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_atom_depth.c | 121 if (ctx->Stencil.Enabled && ctx->DrawBuffer->Visual.stencilBits > 0) { 123 dsa->stencil[0].func = st_compare_func_to_pipe(ctx->Stencil.Function[0]); 124 dsa->stencil[0].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[0]); 125 dsa->stencil[0].zfail_op = gl_stencil_op_to_pipe(ctx->Stencil.ZFailFunc[0]); 126 dsa->stencil[0].zpass_op = gl_stencil_op_to_pipe(ctx->Stencil.ZPassFunc[0]); 127 dsa->stencil[0].valuemask = ctx->Stencil.ValueMask[0] & 0xff; 128 dsa->stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff; 132 const GLuint back = ctx->Stencil._BackFace; 134 dsa->stencil[1].func = st_compare_func_to_pipe(ctx->Stencil.Function[back]); 135 dsa->stencil[1].fail_op = gl_stencil_op_to_pipe(ctx->Stencil [all...] |
| H A D | st_cb_clear.c | 316 depth_stencil.stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff; 317 stencil_ref.ref_value[0] = ctx->Stencil.Clear; 401 return (ctx->Stencil.WriteMask[0] & stencilMax) == 0; 414 return (ctx->Stencil.WriteMask[0] & stencilMax) != stencilMax; 514 ctx->Depth.Clear, ctx->Stencil.Clear);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| H A D | st_atom_depth.c | 100 if (ctx->Stencil.Enabled && ctx->DrawBuffer->Visual.stencilBits > 0) { 102 dsa->stencil[0].func = func_to_gallium(ctx->Stencil.Function[0]); 103 dsa->stencil[0].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[0]); 104 dsa->stencil[0].zfail_op = gl_stencil_op_to_pipe(ctx->Stencil.ZFailFunc[0]); 105 dsa->stencil[0].zpass_op = gl_stencil_op_to_pipe(ctx->Stencil.ZPassFunc[0]); 106 dsa->stencil[0].valuemask = ctx->Stencil.ValueMask[0] & 0xff; 107 dsa->stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff; 111 const GLuint back = ctx->Stencil._BackFace; 113 dsa->stencil[1].func = func_to_gallium(ctx->Stencil.Function[back]); 114 dsa->stencil[1].fail_op = gl_stencil_op_to_pipe(ctx->Stencil [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | nv04_state_raster.c | 174 /* Stencil test. */ 175 if (ctx->Stencil.WriteMask[0]) 181 nv04->ctrl[1] |= get_comparison_op(ctx->Stencil.Function[0]) << 4 | 183 ctx->Stencil.ValueMask[0] << 16 | 184 ctx->Stencil.WriteMask[0] << 24; 186 nv04->ctrl[2] |= get_stencil_op(ctx->Stencil.ZPassFunc[0]) << 8 | 187 get_stencil_op(ctx->Stencil.ZFailFunc[0]) << 4 | 188 get_stencil_op(ctx->Stencil.FailFunc[0]);
|
| H A D | nv10_state_raster.c | 151 PUSH_DATA (push, nvgl_comparison_op(ctx->Stencil.Function[0])); 153 PUSH_DATA (push, ctx->Stencil.ValueMask[0]); 162 PUSH_DATA (push, ctx->Stencil.WriteMask[0]); 171 PUSH_DATA (push, nvgl_stencil_op(ctx->Stencil.FailFunc[0])); 172 PUSH_DATA (push, nvgl_stencil_op(ctx->Stencil.ZFailFunc[0])); 173 PUSH_DATA (push, nvgl_stencil_op(ctx->Stencil.ZPassFunc[0]));
|
| H A D | nouveau_driver.c | 154 ctx->Stencil.WriteMask[0] : 0)); 157 ctx->Stencil.Clear);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | nv04_state_raster.c | 174 /* Stencil test. */ 175 if (ctx->Stencil.WriteMask[0]) 181 nv04->ctrl[1] |= get_comparison_op(ctx->Stencil.Function[0]) << 4 | 183 ctx->Stencil.ValueMask[0] << 16 | 184 ctx->Stencil.WriteMask[0] << 24; 186 nv04->ctrl[2] |= get_stencil_op(ctx->Stencil.ZPassFunc[0]) << 8 | 187 get_stencil_op(ctx->Stencil.ZFailFunc[0]) << 4 | 188 get_stencil_op(ctx->Stencil.FailFunc[0]);
|
| H A D | nv10_state_raster.c | 151 PUSH_DATA (push, nvgl_comparison_op(ctx->Stencil.Function[0])); 153 PUSH_DATA (push, ctx->Stencil.ValueMask[0]); 162 PUSH_DATA (push, ctx->Stencil.WriteMask[0]); 171 PUSH_DATA (push, nvgl_stencil_op(ctx->Stencil.FailFunc[0])); 172 PUSH_DATA (push, nvgl_stencil_op(ctx->Stencil.ZFailFunc[0])); 173 PUSH_DATA (push, nvgl_stencil_op(ctx->Stencil.ZPassFunc[0]));
|
| H A D | nouveau_driver.c | 154 ctx->Stencil.WriteMask[0] : 0)); 157 ctx->Stencil.Clear);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/cso/ |
| H A D | dsa.rst | 3 Depth, Stencil, & Alpha 15 * Stencil 28 Stencil Members 38 Stencil test value mask; this is ANDed with the value in the stencil 41 Stencil test writemask; this controls which bits of the stencil buffer
|
| /xsrc/external/mit/MesaLib/dist/docs/gallium/cso/ |
| H A D | dsa.rst | 3 Depth, Stencil, & Alpha 15 * Stencil 28 Stencil Members 38 Stencil test value mask; this is ANDed with the value in the stencil 41 Stencil test writemask; this controls which bits of the stencil buffer
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/ |
| H A D | i915_state.c | 69 front_mask = ctx->Stencil.ValueMask[0]; 70 front_writemask = ctx->Stencil.WriteMask[0]; 71 front_func = ctx->Stencil.Function[0]; 72 front_fail = ctx->Stencil.FailFunc[0]; 73 front_pass_z_fail = ctx->Stencil.ZFailFunc[0]; 74 front_pass_z_pass = ctx->Stencil.ZPassFunc[0]; 75 back_ref = _mesa_get_stencil_ref(ctx, ctx->Stencil._BackFace); 76 back_mask = ctx->Stencil.ValueMask[ctx->Stencil._BackFace]; 77 back_writemask = ctx->Stencil [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/ |
| H A D | i915_state.c | 69 front_mask = ctx->Stencil.ValueMask[0]; 70 front_writemask = ctx->Stencil.WriteMask[0]; 71 front_func = ctx->Stencil.Function[0]; 72 front_fail = ctx->Stencil.FailFunc[0]; 73 front_pass_z_fail = ctx->Stencil.ZFailFunc[0]; 74 front_pass_z_pass = ctx->Stencil.ZPassFunc[0]; 75 back_ref = _mesa_get_stencil_ref(ctx, ctx->Stencil._BackFace); 76 back_mask = ctx->Stencil.ValueMask[ctx->Stencil._BackFace]; 77 back_writemask = ctx->Stencil [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/common/ |
| H A D | driverfuncs.c | 260 ctx->Driver.Enable(ctx, GL_STENCIL_TEST, ctx->Stencil.Enabled); 290 ctx->Stencil.Function[0], 291 ctx->Stencil.Ref[0], 292 ctx->Stencil.ValueMask[0]); 294 ctx->Stencil.Function[1], 295 ctx->Stencil.Ref[1], 296 ctx->Stencil.ValueMask[1]); 297 ctx->Driver.StencilMaskSeparate(ctx, GL_FRONT, ctx->Stencil.WriteMask[0]); 298 ctx->Driver.StencilMaskSeparate(ctx, GL_BACK, ctx->Stencil.WriteMask[1]); 300 ctx->Stencil [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/common/ |
| H A D | driverfuncs.c | 262 ctx->Driver.Enable(ctx, GL_STENCIL_TEST, ctx->Stencil.Enabled); 292 ctx->Stencil.Function[0], 293 ctx->Stencil.Ref[0], 294 ctx->Stencil.ValueMask[0]); 296 ctx->Stencil.Function[1], 297 ctx->Stencil.Ref[1], 298 ctx->Stencil.ValueMask[1]); 299 ctx->Driver.StencilMaskSeparate(ctx, GL_FRONT, ctx->Stencil.WriteMask[0]); 300 ctx->Driver.StencilMaskSeparate(ctx, GL_BACK, ctx->Stencil.WriteMask[1]); 302 ctx->Stencil [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| H A D | s_stencil.c | 40 /* Stencil Logic: 133 const GLubyte wrtmask = ctx->Stencil.WriteMask[face]; 218 const GLuint valueMask = ctx->Stencil.ValueMask[face]; 231 switch (ctx->Stencil.Function[face]) { 262 if (ctx->Stencil.FailFunc[face] != GL_KEEP) { 263 apply_stencil_op(ctx, ctx->Stencil.FailFunc[face], face, n, stencil, 357 const GLuint face = (span->facing == 0) ? 0 : ctx->Stencil._BackFace; 401 apply_stencil_op(ctx, ctx->Stencil.ZPassFunc[face], face, count, 422 if (ctx->Stencil.ZFailFunc[face] != GL_KEEP) { 423 apply_stencil_op(ctx, ctx->Stencil [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| H A D | s_stencil.c | 40 /* Stencil Logic: 133 const GLubyte wrtmask = ctx->Stencil.WriteMask[face]; 218 const GLuint valueMask = ctx->Stencil.ValueMask[face]; 231 switch (ctx->Stencil.Function[face]) { 262 if (ctx->Stencil.FailFunc[face] != GL_KEEP) { 263 apply_stencil_op(ctx, ctx->Stencil.FailFunc[face], face, n, stencil, 417 const GLuint face = (span->facing == 0) ? 0 : ctx->Stencil._BackFace; 461 apply_stencil_op(ctx, ctx->Stencil.ZPassFunc[face], face, count, 482 if (ctx->Stencil.ZFailFunc[face] != GL_KEEP) { 483 apply_stencil_op(ctx, ctx->Stencil [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl_dd/ |
| H A D | t_dd_tritmp.h | 265 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 278 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 294 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 503 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 517 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 532 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) {
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/tnl_dd/ |
| H A D | t_dd_tritmp.h | 265 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 278 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 294 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 503 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 517 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { 532 if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) {
|