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

1234567891011

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_pipe_depthstencil.c79 * stencil[0]/[1] at this point. Presumably this can change as
82 ds->stencil[0].enabled = templ->stencil[0].enabled;
83 if (ds->stencil[0].enabled) {
84 ds->stencil[0].func = svga_translate_compare_func(templ->stencil[0].func);
85 ds->stencil[0].fail = svga_translate_stencil_op(templ->stencil[0].fail_op);
86 ds->stencil[0].zfail = svga_translate_stencil_op(templ->stencil[
[all...]
H A Dsvga_state_rss.c126 if (!curr->stencil[0].enabled)
133 else if (curr->stencil[0].enabled && !curr->stencil[1].enabled)
135 /* Regular stencil
140 EMIT_RS( svga, curr->stencil[0].func, STENCILFUNC, fail );
141 EMIT_RS( svga, curr->stencil[0].fail, STENCILFAIL, fail );
142 EMIT_RS( svga, curr->stencil[0].zfail, STENCILZFAIL, fail );
143 EMIT_RS( svga, curr->stencil[0].pass, STENCILPASS, fail );
165 /* Twoside stencil
170 EMIT_RS( svga, curr->stencil[c
[all...]
H A Dsvga_pipe_clear.c42 unsigned stencil)
89 ret = SVGA3D_ClearRect(svga->swc, flags, uc.ui, depth, stencil,
109 double depth, unsigned stencil)
121 ret = try_clear( svga, buffers, color, depth, stencil );
128 ret = try_clear( svga, buffers, color, depth, stencil );
38 try_clear(struct svga_context *svga, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
107 svga_clear(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_depthstencil.c79 * stencil[0]/[1] at this point. Presumably this can change as
82 ds->stencil[0].enabled = templ->stencil[0].enabled;
83 if (ds->stencil[0].enabled) {
84 ds->stencil[0].func = svga_translate_compare_func(templ->stencil[0].func);
85 ds->stencil[0].fail = svga_translate_stencil_op(templ->stencil[0].fail_op);
86 ds->stencil[0].zfail = svga_translate_stencil_op(templ->stencil[
[all...]
H A Dsvga_state_rss.c126 if (!curr->stencil[0].enabled)
133 else if (curr->stencil[0].enabled && !curr->stencil[1].enabled)
135 /* Regular stencil
140 EMIT_RS( svga, curr->stencil[0].func, STENCILFUNC, fail );
141 EMIT_RS( svga, curr->stencil[0].fail, STENCILFAIL, fail );
142 EMIT_RS( svga, curr->stencil[0].zfail, STENCILZFAIL, fail );
143 EMIT_RS( svga, curr->stencil[0].pass, STENCILPASS, fail );
165 /* Twoside stencil
170 EMIT_RS( svga, curr->stencil[c
[all...]
H A Dsvga_pipe_clear.c42 unsigned stencil)
89 ret = SVGA3D_ClearRect(svga->swc, flags, uc.ui, depth, stencil,
109 double depth, unsigned stencil)
121 ret = try_clear( svga, buffers, color, depth, stencil );
128 ret = try_clear( svga, buffers, color, depth, stencil );
38 try_clear(struct svga_context *svga, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
107 svga_clear(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
/external/chromium_org/third_party/mesa/src/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->f, 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
40 * processing unit is a quad (2x2 pixel block) we store the depth/stencil
88 * Do the stencil test comparison (compare FB stencil values against ref value).
89 * This will be used twice when generating two-sided stencil code.
90 * \param stencil the front/back stencil stat
96 lp_build_stencil_test_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
140 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
174 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
248 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
535 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 zs_dst_ptr, LLVMValueRef face, LLVMValueRef *zs_value, boolean do_branch) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_clear.h40 double depth, unsigned stencil);
H A Dsp_clear.c50 double depth, unsigned stencil)
76 cv = util_pack64_z_stencil(ps->format, depth, stencil);
48 softpipe_clear(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
/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->f, depth, stencil, buffers );
48 llvmpipe_clear(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_clear.h40 double depth, unsigned stencil);
H A Dsp_clear.c50 double depth, unsigned stencil)
76 cv = util_pack64_z_stencil(ps->format, depth, stencil);
48 softpipe_clear(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_depth.c67 * Convert GLenum stencil op tokens to pipe tokens.
112 dsa->stencil[0].enabled = 1;
113 dsa->stencil[0].func = st_compare_func_to_pipe(ctx->Stencil.Function[0]);
114 dsa->stencil[0].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[0]);
115 dsa->stencil[0].zfail_op = gl_stencil_op_to_pipe(ctx->Stencil.ZFailFunc[0]);
116 dsa->stencil[0].zpass_op = gl_stencil_op_to_pipe(ctx->Stencil.ZPassFunc[0]);
117 dsa->stencil[0].valuemask = ctx->Stencil.ValueMask[0] & 0xff;
118 dsa->stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff;
123 dsa->stencil[1].enabled = 1;
124 dsa->stencil[
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_depth.c67 * Convert GLenum stencil op tokens to pipe tokens.
112 dsa->stencil[0].enabled = 1;
113 dsa->stencil[0].func = st_compare_func_to_pipe(ctx->Stencil.Function[0]);
114 dsa->stencil[0].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[0]);
115 dsa->stencil[0].zfail_op = gl_stencil_op_to_pipe(ctx->Stencil.ZFailFunc[0]);
116 dsa->stencil[0].zpass_op = gl_stencil_op_to_pipe(ctx->Stencil.ZPassFunc[0]);
117 dsa->stencil[0].valuemask = ctx->Stencil.ValueMask[0] & 0xff;
118 dsa->stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff;
123 dsa->stencil[1].enabled = 1;
124 dsa->stencil[
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLContextAttributes.idl33 attribute boolean stencil;
H A DWebGLContextAttributes.cpp91 bool WebGLContextAttributes::stencil() const function in class:blink::WebGLContextAttributes
96 void WebGLContextAttributes::setStencil(bool stencil) argument
98 m_stencil = stencil;
148 attrs.stencil = m_stencil;
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_stencil.h41 GLint n, GLint x, GLint y, GLubyte stencil[]);
46 const GLubyte stencil[] );
/external/mesa3d/src/mesa/swrast/
H A Ds_stencil.h41 GLint n, GLint x, GLint y, GLubyte stencil[]);
46 const GLubyte stencil[] );
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_clear.h43 const union pipe_color_union *color, double depth, unsigned stencil)
56 depth, stencil,
41 util_clear(struct pipe_context *pipe, struct pipe_framebuffer_state *framebuffer, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_clear.h43 const union pipe_color_union *color, double depth, unsigned stencil)
56 depth, stencil,
41 util_clear(struct pipe_context *pipe, struct pipe_framebuffer_state *framebuffer, unsigned buffers, const union pipe_color_union *color, double depth, unsigned 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...]

Completed in 7425 milliseconds

1234567891011