/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_depthstencil.c | 79 * 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 D | svga_state_rss.c | 126 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 D | svga_pipe_clear.c | 42 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/llvmpipe/ |
H A D | lp_clear.h | 41 double depth, unsigned stencil);
|
H A D | lp_clear.c | 52 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 D | 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 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/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_clear.h | 40 double depth, unsigned stencil);
|
H A D | sp_clear.c | 50 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
|
H A D | sp_quad.h | 88 uint8_t stencil[TGSI_QUAD_SIZE]; member in struct:quad_header_output
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_depth.c | 67 * 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...] |
H A D | st_cb_fbo.h | 81 const struct gl_renderbuffer_attachment *stencil);
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_stencil.h | 41 GLint n, GLint x, GLint y, GLubyte stencil[]); 46 const GLubyte stencil[] );
|
H A D | s_renderbuffer.h | 60 GLboolean stencil,
|
H A D | s_stencil.c | 41 IF stencil test fails THEN 42 Apply fail-op to stencil value 46 Apply zfail-op to stencil value 49 Apply zpass-op to stencil value 57 * Compute/return the offset of the stencil value in a pixel. 58 * For example, if the format is Z24+S8, the position of the stencil bits 83 /** Clamp the stencil value to [0, 255] */ 100 GLubyte s = stencil[j]; \ 102 stencil[j] = (GLubyte) (NEW_VAL); \ 109 GLubyte s = stencil[ 127 apply_stencil_op(const struct gl_context *ctx, GLenum oper, GLuint face, GLuint n, GLubyte stencil[], const GLubyte mask[], GLint stride) argument 210 do_stencil_test(struct gl_context *ctx, GLuint face, GLuint n, GLubyte stencil[], GLubyte mask[], GLint stride) argument 292 get_s8_values(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], GLubyte stencil[]) argument 326 put_s8_values(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const GLubyte stencil[]) argument 453 _swrast_read_stencil_span(struct gl_context *ctx, struct gl_renderbuffer *rb, GLint n, GLint x, GLint y, GLubyte stencil[]) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_clear.h | 43 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 D | 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" 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 D | 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" 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/skia/src/gpu/batches/ |
H A D | GrStencilPathBatch.h | 24 const GrStencilSettings& stencil, 28 return new GrStencilPathBatch(viewMatrix, useHWAA, stencil, scissor, renderTarget, path); 45 const GrStencilSettings& stencil, 52 , fStencil(stencil) 22 Create(const SkMatrix& viewMatrix, bool useHWAA, const GrStencilSettings& stencil, const GrScissorState& scissor, GrRenderTarget* renderTarget, const GrPath* path) argument 43 GrStencilPathBatch(const SkMatrix& viewMatrix, bool useHWAA, const GrStencilSettings& stencil, const GrScissorState& scissor, GrRenderTarget* renderTarget, const GrPath* path) argument
|
/external/skia/src/gpu/ |
H A D | GrRenderTarget.cpp | 95 bool GrRenderTargetPriv::attachStencilAttachment(GrStencilAttachment* stencil) { argument 96 if (!stencil && !fRenderTarget->fStencilAttachment) { 97 // No need to do any work since we currently don't have a stencil attachment and 101 fRenderTarget->fStencilAttachment = stencil;
|
H A D | GrPathRendering.h | 136 const GrStencilSettings* stencil) 141 , fStencil(stencil) { 159 const GrStencilSettings* stencil) 161 , fStencil(stencil) { 132 StencilPathArgs(bool useHWAA, GrRenderTarget* renderTarget, const SkMatrix* viewMatrix, const GrScissorState* scissor, const GrStencilSettings* stencil) argument 156 DrawPathArgs(const GrPrimitiveProcessor* primProc, const GrPipeline* pipeline, const GrProgramDesc* desc, const GrStencilSettings* stencil) argument
|
H A D | GrRenderTargetPriv.h | 24 * Attaches the GrStencilAttachment onto the render target. If stencil is a nullptr then the 28 bool attachStencilAttachment(GrStencilAttachment* stencil);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkTypeUtil.hpp | 64 inline VkClearValue makeClearValueDepthStencil (float depth, deUint32 stencil) argument 68 v.depthStencil.stencil = stencil;
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_clear.c | 46 double depth, unsigned stencil, 91 packed_z_stencil = util_pack_z_stencil(depth_tex->b.b.format, depth, stencil); 94 /* Avoid read-modify-write if there's no stencil. */ 114 packed_z_stencil = util_pack_z_stencil(depth_tex->b.b.format, depth, stencil); 222 double depth, unsigned stencil) 225 stencil); 231 double depth, unsigned stencil) 238 i915_clear_emit(pipe, buffers, color, depth, stencil, 44 i915_clear_emit(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil, unsigned destx, unsigned desty, unsigned width, unsigned height) argument 220 i915_clear_blitter(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument 229 i915_clear_render(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_mlaa.c | 105 mstencil.stencil[0].enabled = 1; 106 mstencil.stencil[0].valuemask = mstencil.stencil[0].writemask = ~0; 107 mstencil.stencil[0].func = PIPE_FUNC_ALWAYS; 108 mstencil.stencil[0].fail_op = PIPE_STENCIL_OP_KEEP; 109 mstencil.stencil[0].zfail_op = PIPE_STENCIL_OP_KEEP; 110 mstencil.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE; 141 mstencil.stencil[0].func = PIPE_FUNC_EQUAL; 142 mstencil.stencil[0].zpass_op = PIPE_STENCIL_OP_KEEP;
|
/external/mesa3d/src/mesa/main/ |
H A D | pixeltransfer.c | 245 * Apply stencil index shift, offset and table lookup to an array 246 * of stencil values. 250 GLubyte stencil[]) 258 stencil[i] = (stencil[i] << shift) + offset; 264 stencil[i] = (stencil[i] >> shift) + offset; 269 stencil[i] = stencil[i] + offset; 277 stencil[ 249 _mesa_apply_stencil_transfer_ops(const struct gl_context *ctx, GLuint n, GLubyte stencil[]) argument [all...] |