/external/deqp/framework/referencerenderer/ |
rrMultisamplePixelBufferAccess.cpp | 239 void clearStencil (const MultisamplePixelBufferAccess& access, int stencil) 241 tcu::clearStencil(access.raw(), stencil);
|
/external/mesa3d/docs/specs/OLD/ |
MESA_resize_buffers.spec | 60 reallocating depth, stencil, alpha and accumulation buffers.
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_translate.h | 112 DBG("Unhandled stencil op: %i", stencil_op); 455 unsigned stencil) 467 clear_value = (etna_cfloat_to_uintN(depth, 24) << 8) | (stencil & 0xFF); 470 DBG("Unhandled pipe format for depth stencil clear: %i", format);
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_draw.c | 125 const union pipe_color_union *color, double depth, unsigned stencil) 195 (stencil & 0xff);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_surface.c | 211 unsigned stencil, 222 depth, stencil,
|
lp_state_fs.c | 37 * - depth/stencil test 49 * depth/stencil test and blending is better done in the type that most closely 50 * matches the depth/stencil and color buffer respectively. 290 * Generate the fragment shader, depth/stencil test, and alpha tests. 324 * keep. Disabled because it may hide some real bugs in the (depth/stencil) 342 key->stencil[0].enabled) { 355 * stencil test or the stencil value isn't written. 357 if (key->stencil[0].enabled && (key->stencil[0].writemask | [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_state.h | 362 si_tile_mode_index(struct r600_texture *rtex, unsigned level, bool stencil) 364 if (stencil)
|
/external/mesa3d/src/gallium/drivers/trace/ |
tr_dump_state.c | 362 trace_dump_member_begin("stencil"); 364 for(i = 0; i < ARRAY_SIZE(state->stencil); ++i) { 367 trace_dump_member(bool, &state->stencil[i], enabled); 368 trace_dump_member(uint, &state->stencil[i], func); 369 trace_dump_member(uint, &state->stencil[i], fail_op); 370 trace_dump_member(uint, &state->stencil[i], zpass_op); 371 trace_dump_member(uint, &state->stencil[i], zfail_op); 372 trace_dump_member(uint, &state->stencil[i], valuemask); 373 trace_dump_member(uint, &state->stencil[i], writemask);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
genX_blorp_exec.c | 200 * data with different formats, which blorp does for stencil and depth 286 if (params->stencil.enabled) 287 brw_render_cache_set_add_bo(brw, params->stencil.addr.buffer);
|
/system/core/libpixelflinger/ |
clear.cpp | 114 if (c->state.buffers.stencil.format == 0) 143 // XXX: do stencil buffer 167 c->state.clear.stencil = s;
|
/external/deqp/modules/gles2/functional/ |
es2fDepthStencilClearTests.cpp | 21 * \brief Depth and stencil clear tests. 121 DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked); 145 DepthStencilClearCase::DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked) 148 , m_testStencil (stencil) 211 throw tcu::NotSupportedError("No depth/stencil buffers", "", __FILE__, __LINE__); 323 // Visualize depth / stencil buffers. 388 GLU_EXPECT_NO_ERROR(gl.getError(), "After stencil visualization"); 449 // Simulated stencil buffer span. 485 deUint32 stencil = rowAccess.getPixStencil(x, 0); local 486 float step = (float)(stencil / ((1u<<stencilBits) / (deUint32)STENCIL_STEPS)) / (float)(STENCIL_STEPS-1) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fDepthStencilClearTests.cpp | 21 * \brief Depth and stencil clear tests. 121 DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked); 145 DepthStencilClearCase::DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked) 148 , m_testStencil (stencil) 214 throw tcu::NotSupportedError("No depth/stencil buffers", "", __FILE__, __LINE__); 326 // Visualize depth / stencil buffers. 391 GLU_EXPECT_NO_ERROR(gl.getError(), "After stencil visualization"); 452 // Simulated stencil buffer span. 488 deUint32 stencil = rowAccess.getPixStencil(x, 0); local 489 float step = (float)(stencil / ((1u<<stencilBits) / (deUint32)STENCIL_STEPS)) / (float)(STENCIL_STEPS-1) [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
fd5_gmem.c | 165 if (rsc->stencil) { 170 struct fd_resource_slice *slice = fd_resource_slice(rsc->stencil, 0); 181 OUT_RELOCW(ring, rsc->stencil->bo, 0, 0, 0); /* RB_STENCIL_BASE_LO/HI */ 360 // might be required for doing depth/stencil in bypass mode? 464 if (!rsc->stencil || (batch->resolve & FD_BUFFER_DEPTH)) 466 if (rsc->stencil && (batch->resolve & FD_BUFFER_STENCIL))
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_draw.c | 461 if (vc4->zsa->base.stencil[0].enabled) { 493 const union pipe_color_union *color, double depth, unsigned stencil) 535 /* Clearing ZS will clear both Z and stencil, so if we're 543 perf_debug("Partial clear of Z+stencil buffer, " 551 NULL, depth, stencil); 565 job->clear_stencil = stencil; 591 unsigned buffers, double depth, unsigned stencil,
|
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 110 STENCILMODE_NONE = 0, //!< No stencil test or write 111 STENCILMODE_LEQUAL_INC, //!< Stencil test with LEQUAL, increment on pass 124 StencilMode stencil; member in struct:deqp::egl::__anon18268::DrawPrimitiveOp 164 drawOp.stencil = (StencilMode)rnd.getInt(0, STENCILMODE_LAST-1); 318 if (drawOp.stencil != STENCILMODE_NONE) 322 DE_ASSERT(drawOp.stencil == STENCILMODE_LEQUAL_INC); 551 void clearGLES2 (const glw::Functions& gl, const tcu::Vec4& color, const float depth, const int stencil) 555 gl.clearStencil(stencil); 597 switch (drawOp.stencil) 649 void clear (const glw::Functions& gl, EGLint api, const tcu::Vec4& color, const float depth, const int stencil) [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_blit.c | 157 double depth, unsigned stencil) 165 return util_pack_z_stencil(format, depth, stencil); 207 unsigned stencil) 241 * 7) FORCE_COMPRESSED_STENCIL_VALUE should be enabled for stencil clears 267 /* If both depth and stencil are present, they must be cleared together. */ 296 r300_depth_clear_value(fb->zsbuf->format, depth, stencil); 369 buffers, color, depth, stencil); 445 /* Clear a region of a depth stencil surface. */ 450 unsigned stencil, 468 util_blitter_clear_depth_stencil(r300->blitter, dst, clear_flags, depth, stencil, [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
fd3_gmem.c | 77 * the stencil 79 if (rsc->stencil) { 80 rsc = rsc->stencil; 313 bool stencil, 319 if (stencil) { 320 rsc = rsc->stencil; 442 if (!rsc->stencil || batch->resolve & FD_BUFFER_DEPTH) 445 if (rsc->stencil && batch->resolve & FD_BUFFER_STENCIL) 511 /* The gmem_restore_tex logic will put the first buffer's stencil [all...] |
/external/mesa3d/src/gallium/drivers/virgl/ |
virgl_encode.c | 134 tmp = VIRGL_OBJ_DSA_S1_STENCIL_ENABLED(dsa_state->stencil[i].enabled) | 135 VIRGL_OBJ_DSA_S1_STENCIL_FUNC(dsa_state->stencil[i].func) | 136 VIRGL_OBJ_DSA_S1_STENCIL_FAIL_OP(dsa_state->stencil[i].fail_op) | 137 VIRGL_OBJ_DSA_S1_STENCIL_ZPASS_OP(dsa_state->stencil[i].zpass_op) | 138 VIRGL_OBJ_DSA_S1_STENCIL_ZFAIL_OP(dsa_state->stencil[i].zfail_op) | 139 VIRGL_OBJ_DSA_S1_STENCIL_VALUEMASK(dsa_state->stencil[i].valuemask) | 140 VIRGL_OBJ_DSA_S1_STENCIL_WRITEMASK(dsa_state->stencil[i].writemask); 317 double depth, unsigned stencil) 330 virgl_encoder_write_dword(ctx->cbuf, stencil); [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_gmem.c | 46 * stencil, if enabled) buffers to fit within GMEM. Before rendering a tile, 129 if (rsc->stencil) 130 zsbuf_cpp[1] = rsc->stencil->cpp; 477 skip_restore(&batch->cleared_scissor.stencil, tile))
|
/external/skqp/src/gpu/vk/ |
GrVkCopyManager.cpp | 313 GrStencilAttachment* stencil = rt->renderTargetPriv().getStencilAttachment(); local 314 if (stencil) { 315 GrVkStencilAttachment* vkStencil = (GrVkStencilAttachment*)stencil; 369 // Set Dynamic viewport and stencil
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
ggl_context.h | 291 uint32_t stencil; member in struct:android::mask_state_t 300 GGLint stencil; member in struct:android::clear_state_t 434 surface_t stencil; member in struct:android::framebuffer_t
|
/external/mesa3d/src/gallium/drivers/ddebug/ |
dd_pipe.h | 85 unsigned stencil; member in struct:call_clear
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_fs_exec.c | 173 quad->output.stencil[j] = (unsigned)machine->Outputs[i].xyzw[1].u[j];
|
/external/mesa3d/src/intel/blorp/ |
blorp.h | 74 * stencil buffer packets. Instead, the driver guarantees that all depth 75 * and stencil images passed in will match what is currently set in the 152 const struct blorp_surf *stencil,
|
blorp_priv.h | 87 * - writing W-tiled stencil as Y-tiled 177 struct brw_blorp_surface_info stencil; member in struct:blorp_params
|