Searched refs:stencil (Results 1 - 25 of 310) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_zsa.c44 /* 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[
[all...]
H A Detnaviv_state.h43 return ctx->zsa && ctx->zsa->stencil[0].enabled;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen8_wm_depth_stencil.c29 #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) |
60 SET_FIELD(stencil
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_depthstencil.c75 * 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
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,
115 ds->stencil[
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_clear.h41 double depth, unsigned stencil);
H A Dlp_clear.c52 unsigned stencil)
62 lp_setup_clear( llvmpipe->setup, color, depth, stencil, buffers );
48 llvmpipe_clear(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
H A Dlp_bld_depth.c30 * 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 th
89 lp_build_stencil_test_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
133 lp_build_stencil_test(struct lp_build_context *bld, const struct pipe_stencil_state stencil[2], LLVMValueRef stencilRefs[2], LLVMValueRef stencilVals, LLVMValueRef front_facing) argument
167 lp_build_stencil_op_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, enum stencil_op op, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
241 lp_build_stencil_op(struct lp_build_context *bld, const struct pipe_stencil_state stencil[2], enum stencil_op op, LLVMValueRef stencilRefs[2], LLVMValueRef stencilVals, LLVMValueRef mask, LLVMValueRef front_facing) argument
815 lp_build_depth_stencil_test(struct gallivm_state *gallivm, const struct pipe_depth_state *depth, const struct pipe_stencil_state stencil[2], struct lp_type z_src_type, const struct util_format_description *format_desc, struct lp_build_mask_context *mask, LLVMValueRef stencil_refs[2], LLVMValueRef z_src, LLVMValueRef z_fb, LLVMValueRef s_fb, LLVMValueRef face, LLVMValueRef *z_value, LLVMValueRef *s_value, boolean do_branch) argument
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_clear.h40 double depth, unsigned stencil);
H A Dsp_clear.c51 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);
49 softpipe_clear(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
H A Dsp_quad.h90 uint8_t stencil[TGSI_QUAD_SIZE]; member in struct:quad_header_output
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_depth.c45 #include "main/stencil.h"
70 * Convert GLenum stencil op tokens to pipe tokens.
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]);
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;
133 dsa->stencil[
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_stencil.h41 GLint n, GLint x, GLint y, GLubyte stencil[]);
46 const GLubyte stencil[] );
/external/skia/src/gpu/ops/
H A DGrStencilPathOp.cpp19 GrStencilSettings stencil(GrPathRendering::GetStencilPassSettings(fFillType),
23 &fViewMatrix, &fScissor, &stencil);
/external/skqp/src/gpu/ops/
H A DGrStencilPathOp.cpp19 GrStencilSettings stencil(GrPathRendering::GetStencilPassSettings(fFillType),
23 &fViewMatrix, &fScissor, &stencil);
/external/skia/src/gpu/
H A DGrRenderTarget.cpp23 GrStencilAttachment* stencil)
26 , fStencilAttachment(stencil)
77 bool GrRenderTargetPriv::attachStencilAttachment(sk_sp<GrStencilAttachment> stencil) { argument
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();
21 GrRenderTarget(GrGpu* gpu, const GrSurfaceDesc& desc, GrRenderTargetFlags flags, GrStencilAttachment* stencil) argument
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_zsa.c58 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/
H A Dfd3_zsa.c61 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/
H A Dfd5_zsa.c59 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/
H A DGrRenderTarget.cpp23 GrStencilAttachment* stencil)
26 , fStencilAttachment(stencil)
78 bool GrRenderTargetPriv::attachStencilAttachment(sk_sp<GrStencilAttachment> stencil) { argument
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();
21 GrRenderTarget(GrGpu* gpu, const GrSurfaceDesc& desc, GrRenderTargetFlags flags, GrStencilAttachment* stencil) argument
/external/deqp/modules/gles2/functional/
H A Des2fDepthStencilTests.cpp21 * \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"
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)
181 , stencil (stencil
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fDepthStencilTests.cpp21 * \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"
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)
181 , stencil (stencil
[all...]
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_zsa.c61 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/
H A Dfreedreno_resource.h78 /* 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))
H A Dfreedreno_state.h42 return ctx->zsa && ctx->zsa->stencil[0].enabled;
/external/mesa3d/src/gallium/drivers/ilo/
H A Dilo_blitter.h121 double depth, unsigned stencil,
129 double depth, unsigned stencil);
149 double depth, unsigned stencil,
157 double depth, unsigned stencil);

Completed in 1079 milliseconds

1234567891011>>