/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_zsa.c | 44 /* XXX does stencil[0] / stencil[1] order depend on rs->front_ccw? */ 52 * instead of just where the stencil condition holds (GC600 rev 0x0019, without 58 if(so->stencil[i].writemask == 0) 60 so->stencil[i].fail_op = so->stencil[i].zfail_op = so->stencil[i].zpass_op = PIPE_STENCIL_OP_KEEP; 66 * the stencil-modifying functions is used. */ 67 if (so->stencil[0].enabled) { 68 if (so->stencil[0].func != PIPE_FUNC_ALWAYS | [all...] |
etnaviv_state.h | 43 return ctx->zsa && ctx->zsa->stencil[0].enabled;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen8_wm_depth_stencil.c | 29 #include "main/stencil.h" 41 struct gl_stencil_attrib *stencil = &ctx->Stencil; local 44 if (stencil->_Enabled) { 50 FUNC(stencil->Function[0]) << GEN8_WM_DS_STENCIL_FUNC_SHIFT | 51 OP(stencil->FailFunc[0]) << GEN8_WM_DS_STENCIL_FAIL_OP_SHIFT | 52 OP(stencil->ZFailFunc[0]) << GEN8_WM_DS_Z_FAIL_OP_SHIFT | 53 OP(stencil->ZPassFunc[0]) << GEN8_WM_DS_Z_PASS_OP_SHIFT; 55 if (stencil->_WriteEnabled) 59 SET_FIELD(stencil->WriteMask[0] & 0xff, GEN8_WM_DS_STENCIL_WRITE_MASK) [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_depthstencil.c | 75 * Define a vgpu10 depth/stencil state object for the given 76 * svga depth/stencil state. 97 /* Note: we use the ds->stencil[0].enabled value for both the front 98 * and back-face enables. If single-side stencil is used, we'll have 107 /* Stencil */ 108 ds->stencil[0].enabled, /*f|b*/ 109 ds->stencil[0].enabled, /*f*/ 110 ds->stencil[0].enabled, /*b*/ 113 /* front stencil */ 114 ds->stencil[0].fail [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_clear.h | 41 double depth, unsigned stencil);
|
lp_clear.c | 52 unsigned stencil) 62 lp_setup_clear( llvmpipe->setup, color, depth, stencil, buffers );
|
lp_bld_depth.c | 30 * Depth/stencil testing to LLVM IR translation. 32 * To be done accurately/efficiently the depth/stencil test must be done with 33 * the same type/format of the depth/stencil buffer, which implies massaging 35 * type/format for depth/stencil values internally and only convert when 41 * place (we could avoid this by doing depth/stencil testing in linear format, 42 * which would be easy for late depth/stencil test as we could do that after 81 * Do the stencil test comparison (compare FB stencil values against ref value). 82 * This will be used twice when generating two-sided stencil code. 83 * \param stencil the front/back stencil stat [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_clear.h | 40 double depth, unsigned stencil);
|
sp_clear.c | 51 double depth, unsigned stencil) 78 /* Clearing only depth or stencil in a combined depth-stencil buffer. */ 79 util_clear_depth_stencil(pipe, zsbuf, zs_buffers, depth, stencil, 85 cv = util_pack64_z_stencil(zsbuf->format, depth, stencil);
|
sp_quad.h | 90 uint8_t stencil[TGSI_QUAD_SIZE]; member in struct:quad_header_output
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_depth.c | 45 #include "main/stencil.h" 70 * Convert GLenum stencil op tokens to pipe tokens. 121 if (ctx->Stencil.Enabled && ctx->DrawBuffer->Visual.stencilBits > 0) { 122 dsa->stencil[0].enabled = 1; 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]) [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_stencil.h | 41 GLint n, GLint x, GLint y, GLubyte stencil[]); 46 const GLubyte stencil[] );
|
/external/skia/src/gpu/ops/ |
GrStencilPathOp.cpp | 19 GrStencilSettings stencil(GrPathRendering::GetStencilPassSettings(fFillType), 23 &fViewMatrix, &fScissor, &stencil);
|
/external/skqp/src/gpu/ops/ |
GrStencilPathOp.cpp | 19 GrStencilSettings stencil(GrPathRendering::GetStencilPassSettings(fFillType), 23 &fViewMatrix, &fScissor, &stencil);
|
/external/skia/src/gpu/ |
GrRenderTarget.cpp | 23 GrStencilAttachment* stencil) 26 , fStencilAttachment(stencil) 77 bool GrRenderTargetPriv::attachStencilAttachment(sk_sp<GrStencilAttachment> stencil) { 78 if (!stencil && !fRenderTarget->fStencilAttachment) { 79 // No need to do any work since we currently don't have a stencil attachment and 83 fRenderTarget->fStencilAttachment = stencil.release();
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_zsa.c | 58 if (cso->stencil[0].enabled) { 59 const struct pipe_stencil_state *s = &cso->stencil[0]; 72 if (cso->stencil[1].enabled) { 73 const struct pipe_stencil_state *bs = &cso->stencil[1];
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
fd3_zsa.c | 61 if (cso->stencil[0].enabled) { 62 const struct pipe_stencil_state *s = &cso->stencil[0]; 76 if (cso->stencil[1].enabled) { 77 const struct pipe_stencil_state *bs = &cso->stencil[1];
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
fd5_zsa.c | 59 if (cso->stencil[0].enabled) { 60 const struct pipe_stencil_state *s = &cso->stencil[0]; 73 if (cso->stencil[1].enabled) { 74 const struct pipe_stencil_state *bs = &cso->stencil[1];
|
/external/skqp/src/gpu/ |
GrRenderTarget.cpp | 23 GrStencilAttachment* stencil) 26 , fStencilAttachment(stencil) 78 bool GrRenderTargetPriv::attachStencilAttachment(sk_sp<GrStencilAttachment> stencil) { 79 if (!stencil && !fRenderTarget->fStencilAttachment) { 80 // No need to do any work since we currently don't have a stencil attachment and 84 fRenderTarget->fStencilAttachment = stencil.release();
|
/external/deqp/modules/gles2/functional/ |
es2fDepthStencilTests.cpp | 21 * \brief Depth & stencil tests. 101 StencilParams stencil[rr::FACETYPE_LAST]; member in struct:deqp::gles2::Functional::DepthStencilCaseUtil::DepthStencilParams 124 << " stencil fail = " << glu::getStencilOpStr(params.stencilFailOp) << "\n" 134 log << TestLog::Message << "Stencil test: " << (params.stencilTestEnabled ? "enabled" : "disabled") << TestLog::EndMessage; 137 log << TestLog::Message << "Front-face stencil state: " << TestLog::EndMessage; 138 log << params.stencil[rr::FACETYPE_FRONT]; 140 log << TestLog::Message << "Back-face stencil state: " << TestLog::EndMessage; 141 log << params.stencil[rr::FACETYPE_BACK]; 163 int stencil; member in struct:deqp::gles2::Functional::DepthStencilCaseUtil::ClearCommand 170 , stencil (0 [all...] |
/external/deqp/modules/gles3/functional/ |
es3fDepthStencilTests.cpp | 21 * \brief Depth & stencil tests. 101 StencilParams stencil[rr::FACETYPE_LAST]; member in struct:deqp::gles3::Functional::DepthStencilCaseUtil::DepthStencilParams 124 << " stencil fail = " << glu::getStencilOpStr(params.stencilFailOp) << "\n" 134 log << TestLog::Message << "Stencil test: " << (params.stencilTestEnabled ? "enabled" : "disabled") << TestLog::EndMessage; 137 log << TestLog::Message << "Front-face stencil state: " << TestLog::EndMessage; 138 log << params.stencil[rr::FACETYPE_FRONT]; 140 log << TestLog::Message << "Back-face stencil state: " << TestLog::EndMessage; 141 log << params.stencil[rr::FACETYPE_BACK]; 163 int stencil; member in struct:deqp::gles3::Functional::DepthStencilCaseUtil::ClearCommand 170 , stencil (0 [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_zsa.c | 61 if (cso->stencil[0].enabled) { 62 const struct pipe_stencil_state *s = &cso->stencil[0]; 78 if (cso->stencil[1].enabled) { 79 const struct pipe_stencil_state *bs = &cso->stencil[1];
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_resource.h | 78 /* reference to the resource holding stencil data for a z32_s8 texture */ 80 struct fd_resource *stencil; member in struct:fd_resource 118 if (rsc->stencil && pending(rsc->stencil, write))
|
freedreno_state.h | 42 return ctx->zsa && ctx->zsa->stencil[0].enabled;
|
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_blitter.h | 121 double depth, unsigned stencil, 129 double depth, unsigned stencil); 149 double depth, unsigned stencil, 157 double depth, unsigned stencil);
|