/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_fs.h | 65 struct pipe_stencil_state stencil[2]; member in struct:lp_fragment_shader_variant_key
|
/external/mesa3d/src/mesa/main/ |
pixeltransfer.h | 73 GLubyte stencil[]);
|
texstore.c | 322 * Store a combined depth/stencil texture image. 332 GLubyte *stencil = malloc(srcWidth * sizeof(GLubyte)); local 342 if (!depth || !stencil) { 344 free(stencil); 348 /* In case we only upload depth we need to preserve the stencil */ 360 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */ 376 /* get the 8-bit stencil values */ 379 stencil, /* dst addr */ 387 dstRow[i] = (dstRow[i] & 0xFFFFFF00) | (stencil[i] & 0xFF); 395 free(stencil); 411 GLubyte *stencil; local 497 GLubyte *stencil = malloc(srcWidth * sizeof(GLubyte)); local [all...] |
/external/skia/src/gpu/vk/ |
GrVkPipelineStateBuilder.cpp | 21 const GrStencilSettings& stencil, 35 return builder.finalize(stencil, primitiveType, renderPass, desc); 91 GrVkPipelineState* GrVkPipelineStateBuilder::finalize(const GrStencilSettings& stencil, 174 stencil,
|
/external/skqp/src/gpu/vk/ |
GrVkPipelineStateBuilder.cpp | 19 const GrStencilSettings& stencil, 33 return builder.finalize(stencil, primitiveType, renderPass, desc); 89 GrVkPipelineState* GrVkPipelineStateBuilder::finalize(const GrStencilSettings& stencil, 171 stencil,
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Device.hpp | 51 void clearStencil(unsigned int stencil, unsigned int mask);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_clear.c | 194 stencil ? "stencil" : "", 256 depth_stencil.stencil[0].enabled = 1; 257 depth_stencil.stencil[0].func = PIPE_FUNC_ALWAYS; 258 depth_stencil.stencil[0].fail_op = PIPE_STENCIL_OP_REPLACE; 259 depth_stencil.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE; 260 depth_stencil.stencil[0].zfail_op = PIPE_STENCIL_OP_REPLACE; 261 depth_stencil.stencil[0].valuemask = 0xff; 262 depth_stencil.stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff [all...] |
st_cb_fbo.c | 564 * or depth/stencil target. 606 * For Gallium we only supports combined Z+stencil, not separate buffers. 615 const struct gl_renderbuffer_attachment *stencil = local 622 if (depth->Type && stencil->Type && depth->Type != stencil->Type) { 623 st_fbo_invalid("Different Depth/Stencil buffer formats"); 628 stencil->Type == GL_RENDERBUFFER_EXT && 629 depth->Renderbuffer != stencil->Renderbuffer) { 630 st_fbo_invalid("Separate Depth/Stencil buffers"); 635 stencil->Type == GL_TEXTURE & [all...] |
/external/mesa3d/docs/specs/OLD/ |
MESA_packed_depth_stencil.spec | 35 transfer depth and stencil image data. Specifically, we defined new 36 packed pixel formats and types which pack both stencil and depth 49 2. If not, is it correct to use _REV to indicate that stencil 85 STENCIL_INDEX Stencil Stencil index 99 DEPTH_STENCIL Depth, Depth component, stencil index. 100 Stencil 182 DEPTH_STENCIL_MESA depth stencil
|
/external/mesa3d/src/intel/blorp/ |
blorp_clear.c | 438 const struct blorp_surf *stencil, 457 brw_blorp_surface_info_init(batch->blorp, ¶ms.stencil, stencil, 463 params.dst.surf.samples = params.stencil.surf.samples; 465 params.stencil.surf.logical_level0_px; 468 params.num_samples = params.stencil.surf.samples; 474 if (params.stencil.view.array_len < params.num_layers) 475 params.num_layers = params.stencil.view.array_len; 559 /* Given a depth stencil attachment, this function performs a fast depth clear 560 * on a depth portion and a regular clear on the stencil portion. Whe [all...] |
blorp_genX_exec.h | 772 * "If depth/stencil is enabled with 1D render target, depth/stencil 774 * Depth will use (legacy) TileY and stencil will use TileW. For this 800 db.StencilWriteEnable = params->stencil.enabled; 836 } else if (params->stencil.enabled) { 838 db.SurfaceType = isl_to_gen_ds_surftype[params->stencil.surf.dim]; 840 db.Width = params->stencil.surf.logical_level0_px.width - 1; 841 db.Height = params->stencil.surf.logical_level0_px.height - 1; 843 params->stencil.view.array_len - 1; 845 db.LOD = params->stencil.view.base_level [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_resource.c | 301 struct fd_resource_slice *sslice = fd_resource_slice(rsc->stencil, trans->base.level); 307 uint8_t *stencil = fd_bo_map(rsc->stencil->bo) + sslice->offset + local 308 fd_resource_layer_offset(rsc->stencil, sslice, trans->base.box.z) + 318 stencil, sslice->pitch, 422 if (rsc->stencil) 423 fd_bo_cpu_fini(rsc->stencil->bo); 483 if (rsc->stencil) 484 realloc_bo(rsc->stencil, fd_bo_size(rsc->stencil->bo)) 589 uint8_t *stencil = sbuf + sslice->offset + local 860 struct pipe_resource stencil = *tmpl; local [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
depthstencil.h | 25 * @brief Implements depth/stencil functionality 35 simdscalari stencil = _simd_castps_si(stencilps); local 49 simdscalari stencilincr = _simd_adds_epu8(stencil, _simd_set1_epi32(1)); 55 simdscalari stencildecr = _simd_subs_epu8(stencil, _simd_set1_epi32(1)); 61 simdscalari stencilincr = _simd_add_epi8(stencil, _simd_set1_epi32(1)); 67 simdscalari stencildecr = _simd_add_epi8(stencil, _simd_set1_epi32((-1) & 0xff)); 124 static_assert(KNOB_STENCIL_HOT_TILE_FORMAT == R8_UINT, "Unsupported stencil hot tile format"); 188 // apply stencil read mask 191 // do stencil compare in float to avoid simd integer emulation in AVX1 273 // apply stencil write mas [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_depth_test.c | 30 * \brief Quad depth / stencil testing 233 * fragment stencil values. 242 /* Copy quads stencil values 253 data->shader_stencil_refs[j] = ((unsigned)(quad->output.stencil[j])); 263 * Write data->bzzzz[] values and data->stencilVals into the Z/stencil buffer. 338 /** Only 8-bit stencil supported */ 343 * Do the basic stencil test (compare stencil buffer values against the 346 * \param data->stencilVals the stencil values from the stencil buffe 913 boolean stencil = qs->softpipe->depth_stencil->stencil[0].enabled; local [all...] |
sp_surface.c | 118 unsigned stencil, 129 depth, stencil,
|
/external/deqp/modules/gles2/functional/ |
es2fStencilTests.cpp | 21 * \brief Stencil tests. 126 int stencil; //!< Ref for quad op, clear value for clears member in class:deqp::gles2::Functional::StencilOp 137 , stencil (stencil_) 147 static StencilOp clearStencil (int stencil) 150 op.stencil = stencil; 161 static StencilOp quad (GLenum stencilTest, int stencil, GLenum depthTest, float depth, GLenum sFail, GLenum dFail, GLenum dPass) 163 return StencilOp(TYPE_QUAD, stencilTest, stencil, depthTest, depth, sFail, dFail, dPass); 232 context.clearStencil(op.stencil); 241 context.stencilFunc(op.stencilTest, op.stencil, op.stencilMask) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fStencilTests.cpp | 21 * \brief Stencil tests. 129 int stencil; //!< Ref for quad op, clear value for clears member in class:deqp::gles3::Functional::StencilOp 140 , stencil (stencil_) 150 static StencilOp clearStencil (int stencil) 153 op.stencil = stencil; 164 static StencilOp quad (GLenum stencilTest, int stencil, GLenum depthTest, float depth, GLenum sFail, GLenum dFail, GLenum dPass) 166 return StencilOp(TYPE_QUAD, stencilTest, stencil, depthTest, depth, sFail, dFail, dPass); 235 context.clearStencil(op.stencil); 244 context.stencilFunc(op.stencilTest, op.stencil, op.stencilMask) [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_copypix.c | 342 GLubyte *p, *tmpImage, *stencil; local 392 stencil = malloc(width * sizeof(GLubyte)); 393 if (!stencil) { 399 /* Get stencil values */ 401 memcpy(stencil, p, width * sizeof(GLubyte)); 405 _swrast_read_stencil_span( ctx, rb, width, srcx, sy, stencil ); 408 _mesa_apply_stencil_transfer_ops(ctx, width, stencil); 410 /* Write stencil values */ 413 destx, dy, stencil); 416 _swrast_write_stencil_span( ctx, width, destx, dy, stencil ); [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state.c | 468 int testmask = depth_stencil->stencil[0].valuemask & 0xff; 469 int writemask = depth_stencil->stencil[0].writemask & 0xff; 478 if (depth_stencil->stencil[0].enabled) { 479 int test = i915_translate_compare_func(depth_stencil->stencil[0].func); 480 int fop = i915_translate_stencil_op(depth_stencil->stencil[0].fail_op); 481 int dfop = i915_translate_stencil_op(depth_stencil->stencil[0].zfail_op); 482 int dpop = i915_translate_stencil_op(depth_stencil->stencil[0].zpass_op); 492 if (depth_stencil->stencil[1].enabled) { 493 int test = i915_translate_compare_func(depth_stencil->stencil[1].func); 494 int fop = i915_translate_stencil_op(depth_stencil->stencil[1].fail_op) [all...] |
/external/skia/src/gpu/ |
GrResourceProvider.cpp | 436 auto stencil = this->findByUniqueKey<GrStencilAttachment>(sbKey); local 437 if (!stencil) { 438 // Need to try and create a new stencil 439 stencil.reset(this->gpu()->createStencilAttachmentForRenderTarget(rt, width, height)); 440 if (stencil) { 441 this->assignUniqueKeyToResource(sbKey, stencil.get()); 445 if (rt->renderTargetPriv().attachStencilAttachment(std::move(stencil))) {
|
/external/skqp/src/gpu/ |
GrResourceProvider.cpp | 444 auto stencil = this->findByUniqueKey<GrStencilAttachment>(sbKey); local 445 if (!stencil) { 446 // Need to try and create a new stencil 447 stencil.reset(this->gpu()->createStencilAttachmentForRenderTarget(rt, width, height)); 448 if (stencil) { 449 this->assignUniqueKeyToResource(sbKey, stencil.get()); 453 if (rt->renderTargetPriv().attachStencilAttachment(std::move(stencil))) {
|
/art/test/656-checker-simd-opt/src/ |
Main.java | 51 /// CHECK-START-ARM64: void Main.stencil(int[], int[], int) loop_optimization (after) 63 private static void stencil(int[] a, int[] b, int n) { method in class:Main 200 stencil(a, b, 100); method
|
/external/skia/src/gpu/ops/ |
GrAAFillRectOp.cpp | 179 const GrUserStencilSettings* stencil) { 182 localMatrix, stencil); 191 const GrUserStencilSettings* stencil) 192 : INHERITED(ClassID()), fHelper(helperArgs, GrAAType::kCoverage, stencil) { 364 const SkRect& rect, const GrUserStencilSettings* stencil) { 370 return AAFillRectOp::Make(std::move(paint), viewMatrix, rect, devRect, nullptr, stencil); 419 const GrUserStencilSettings* stencil = local 421 return AAFillRectOp::Make(std::move(paint), viewMatrix, rect, devRect, localMatrix, stencil);
|
/external/skqp/src/gpu/ops/ |
GrAAFillRectOp.cpp | 179 const GrUserStencilSettings* stencil) { 182 localMatrix, stencil); 191 const GrUserStencilSettings* stencil) 192 : INHERITED(ClassID()), fHelper(helperArgs, GrAAType::kCoverage, stencil) { 364 const SkRect& rect, const GrUserStencilSettings* stencil) { 370 return AAFillRectOp::Make(std::move(paint), viewMatrix, rect, devRect, nullptr, stencil); 419 const GrUserStencilSettings* stencil = local 421 return AAFillRectOp::Make(std::move(paint), viewMatrix, rect, devRect, localMatrix, stencil);
|
/external/deqp/framework/referencerenderer/ |
rrMultisamplePixelBufferAccess.hpp | 101 void clearStencil (const MultisamplePixelBufferAccess& access, int stencil);
|