Searched refs:stencil (Results 76 - 100 of 166) sorted by relevance

1234567

/external/deqp/framework/referencerenderer/
H A DrrMultisamplePixelBufferAccess.cpp239 void clearStencil (const MultisamplePixelBufferAccess& access, int stencil) argument
241 tcu::clearStencil(access.raw(), stencil);
/external/mesa3d/docs/
H A DMESA_resize_buffers.spec60 reallocating depth, stencil, alpha and accumulation buffers.
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_blitter.h89 void *saved_dsa_state; /**< depth stencil alpha state */
95 struct pipe_stencil_ref saved_stencil_ref; /**< stencil ref */
157 * - depth stencil alpha state
166 double depth, unsigned stencil);
194 * - depth stencil alpha state
273 * - depth stencil alpha state
284 * Clear a region of a depth-stencil surface, both stencil and depth
285 * or only one of them if this is a combined depth-stencil surface.
290 * - depth stencil alph
[all...]
H A Du_blitter.c94 /* Depth stencil alpha state. */
179 /* depth stencil alpha state objects */
190 dsa.stencil[0].enabled = 1;
191 dsa.stencil[0].func = PIPE_FUNC_ALWAYS;
192 dsa.stencil[0].fail_op = PIPE_STENCIL_OP_REPLACE;
193 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE;
194 dsa.stencil[0].zfail_op = PIPE_STENCIL_OP_REPLACE;
195 dsa.stencil[0].valuemask = 0xff;
196 dsa.stencil[0].writemask = 0xff;
433 /* Depth, stencil, alph
882 util_blitter_clear_custom(struct blitter_context *blitter, unsigned width, unsigned height, unsigned num_cbufs, unsigned clear_buffers, enum pipe_format cbuf_format, const union pipe_color_union *color, double depth, unsigned stencil, void *custom_blend, void *custom_dsa) argument
945 util_blitter_clear(struct blitter_context *blitter, unsigned width, unsigned height, unsigned num_cbufs, unsigned clear_buffers, enum pipe_format cbuf_format, const union pipe_color_union *color, double depth, unsigned stencil) argument
1325 util_blitter_clear_depth_stencil(struct blitter_context *blitter, struct pipe_surface *dstsurf, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_context.h122 } stencil[2]; member in struct:svga_depth_stencil_state
125 * back face stencil. We really need two:
416 unsigned stencil);
H A Dsvga_cmd.c225 * buffers, and depth/stencil buffers.
549 * exist for color buffers, a depth buffer, and a stencil buffer.
553 * all be the same size, but the depth and stencil buffers do not
889 uint32 stencil, // IN
906 cmd->stencil = stencil;
934 uint32 stencil, // IN
943 ret = SVGA3D_BeginClear(swc, flags, color, depth, stencil, &rect, 1);
885 SVGA3D_BeginClear(struct svga_winsys_context *swc, SVGA3dClearFlag flags, uint32 color, float depth, uint32 stencil, SVGA3dRect **rects, uint32 numRects) argument
930 SVGA3D_ClearRect(struct svga_winsys_context *swc, SVGA3dClearFlag flags, uint32 color, float depth, uint32 stencil, uint32 x, uint32 y, uint32 w, uint32 h) argument
/external/mesa3d/src/gallium/include/pipe/
H A Dp_context.h316 * \param stencil stencil clear value
322 unsigned stencil);
335 * Clear a depth-stencil surface.
338 * \param stencil stencil clear value
344 unsigned stencil,
366 * render target / depth stencil stages.
H A Dp_state.h226 unsigned enabled:1; /**< stencil[0]: stencil enabled, stencil[1]: two-side enabled */
247 struct pipe_stencil_state stencil[2]; /**< [0] = front, [1] = back */ member in struct:pipe_depth_stencil_alpha_state
297 struct pipe_surface *zsbuf; /**< Z/stencil buffer */
325 * depth stencil attachment point.
/external/skia/src/gpu/batches/
H A DGrDrawPathBatch.h31 void setStencilSettings(const GrStencilSettings& stencil) { fStencilSettings = stencil; } argument
65 // This can't return a more abstract type because we install the stencil settings late :(
161 // This can't return a more abstract type because we install the stencil settings late :(
H A DGrStencilAndCoverPathRenderer.cpp105 // fake inverse with a stencil and cover
149 pipelineBuilder->stencil()->setDisabled();
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
H A Dd3d11_screen.h524 state.stencil[0].enabled = !!depth_stencil_state_desc->StencilEnable;
534 state.stencil[0].writemask = depth_stencil_state_desc->StencilWriteMask;
535 state.stencil[0].valuemask = depth_stencil_state_desc->StencilReadMask;
536 state.stencil[0].zpass_op = d3d11_to_pipe_stencil_op[depth_stencil_state_desc->FrontFace.StencilPassOp];
537 state.stencil[0].fail_op = d3d11_to_pipe_stencil_op[depth_stencil_state_desc->FrontFace.StencilFailOp];
538 state.stencil[0].zfail_op = d3d11_to_pipe_stencil_op[depth_stencil_state_desc->FrontFace.StencilDepthFailOp];
539 state.stencil[0].func = depth_stencil_state_desc->FrontFace.StencilFunc - 1;
540 state.stencil[1].enabled = !!depth_stencil_state_desc->StencilEnable;
541 state.stencil[1].writemask = depth_stencil_state_desc->StencilWriteMask;
542 state.stencil[
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fDepthStencilClearTests.cpp21 * \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) argument
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 / ((
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fDepthStencilClearTests.cpp21 * \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) argument
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 / ((
[all...]
/external/deqp/modules/egl/
H A DteglRenderTests.cpp110 STENCILMODE_NONE = 0, //!< No stencil test or write
124 StencilMode stencil; member in struct:deqp::egl::__anon3973::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);
520 void clearGLES2 (const glw::Functions& gl, const tcu::Vec4& color, const float depth, const int stencil) argument
524 gl.clearStencil(stencil);
566 switch (drawOp.stencil)
618 void clear (const glw::Functions& gl, EGLint api, const tcu::Vec4& color, const float depth, const int stencil) argument
622 case EGL_OPENGL_ES2_BIT: clearGLES2(gl, color, depth, stencil); brea
[all...]
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_state.c809 dsa->valuemask[0] = state->stencil[0].valuemask;
810 dsa->valuemask[1] = state->stencil[1].valuemask;
811 dsa->writemask[0] = state->stencil[0].writemask;
812 dsa->writemask[1] = state->stencil[1].writemask;
821 /* stencil */
822 if (state->stencil[0].enabled) {
824 db_depth_control |= S_028800_STENCILFUNC(state->stencil[0].func); /* translates straight */
825 db_depth_control |= S_028800_STENCILFAIL(r600_translate_stencil_op(state->stencil[0].fail_op));
826 db_depth_control |= S_028800_STENCILZPASS(r600_translate_stencil_op(state->stencil[0].zpass_op));
827 db_depth_control |= S_028800_STENCILZFAIL(r600_translate_stencil_op(state->stencil[
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_fs_exec.c168 quad->output.stencil[j] = (unsigned)machine->Outputs[i].xyzw[1].f[j];
/external/mesa3d/src/gallium/drivers/noop/
H A Dnoop_pipe.c211 const union pipe_color_union *color, double depth, unsigned stencil)
227 unsigned stencil,
210 noop_clear(struct pipe_context *ctx, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
223 noop_clear_depth_stencil(struct pipe_context *ctx, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) argument
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkTypeUtil.inl333 inline VkClearDepthStencilValue makeClearDepthStencilValue (float depth, deUint32 stencil)
337 res.stencil = stencil;
/external/mesa3d/src/mesa/main/
H A Dreadpix.c181 GLubyte *map, *stencil; local
194 stencil = (GLubyte *) malloc(width * sizeof(GLubyte));
196 if (stencil) {
201 _mesa_unpack_ubyte_stencil_row(rb->Format, width, map, stencil);
205 _mesa_pack_stencil_span(ctx, width, type, dest, stencil, packing);
214 free(stencil);
412 * For a packed depth/stencil buffer being read as depth/stencil, just memcpy the
455 * For non-float-depth and stencil buffers being read as 24/8 depth/stencil,
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state.c495 * infeered state between dsa and stencil ref
551 R600_ERR("Unknown stencil op %d", s_op);
571 dsa->valuemask[0] = state->stencil[0].valuemask;
572 dsa->valuemask[1] = state->stencil[1].valuemask;
573 dsa->writemask[0] = state->stencil[0].writemask;
574 dsa->writemask[1] = state->stencil[1].writemask;
580 /* stencil */
581 if (state->stencil[0].enabled) {
583 db_depth_control |= S_028800_STENCILFUNC(state->stencil[0].func);
584 db_stencil_control |= S_02842C_STENCILFAIL(si_translate_stencil_op(state->stencil[
[all...]
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.c464 dsa.stencil[i].enabled = 0;
465 dsa.stencil[i].func = PIPE_FUNC_ALWAYS;
466 dsa.stencil[i].fail_op = PIPE_STENCIL_OP_KEEP;
467 dsa.stencil[i].zpass_op = PIPE_STENCIL_OP_KEEP;
468 dsa.stencil[i].zfail_op = PIPE_STENCIL_OP_KEEP;
469 dsa.stencil[i].valuemask = 0;
470 dsa.stencil[i].writemask = 0;
H A Dvl_mpeg12_decoder.c784 dsa.stencil[i].enabled = 0;
785 dsa.stencil[i].func = PIPE_FUNC_ALWAYS;
786 dsa.stencil[i].fail_op = PIPE_STENCIL_OP_KEEP;
787 dsa.stencil[i].zpass_op = PIPE_STENCIL_OP_KEEP;
788 dsa.stencil[i].zfail_op = PIPE_STENCIL_OP_KEEP;
789 dsa.stencil[i].valuemask = 0;
790 dsa.stencil[i].writemask = 0;
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup.c381 unsigned stencil,
402 stencil);
416 * both color and depth-stencil are being cleared when there's
465 unsigned stencil,
468 if (!lp_setup_try_clear( setup, color, depth, stencil, flags )) {
471 if (!lp_setup_try_clear( setup, color, depth, stencil, flags ))
378 lp_setup_try_clear( struct lp_setup_context *setup, const float *color, double depth, unsigned stencil, unsigned flags ) argument
462 lp_setup_clear( struct lp_setup_context *setup, const float *color, double depth, unsigned stencil, unsigned flags ) argument
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dxm_api.c375 * Choose a depth/stencil format that satisfies the given depth and
376 * stencil sizes.
379 choose_depth_stencil_format(XMesaDisplay xmdpy, int depth, int stencil) argument
389 if (depth <= 16 && stencil == 0) {
392 if (depth <= 24 && stencil == 0) {
396 if (depth <= 24 && stencil <= 8) {
400 if (depth <= 32 && stencil == 0) {
654 * stencil_size - requested bits/stencil values, or zero
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta.c62 #include "main/stencil.h"
261 GLuint StencilFP; /**< Fragment program for drawing stencil images */
653 /* NOTE: other stencil state not reset */
977 const struct gl_stencil_attrib *stencil = &save->Stencil; local
979 _mesa_set_enable(ctx, GL_STENCIL_TEST, stencil->Enabled);
980 _mesa_ClearStencil(stencil->Clear);
983 stencil->TestTwoSide);
984 _mesa_ActiveStencilFaceEXT(stencil->ActiveFace
989 stencil->Function[0],
990 stencil
[all...]

Completed in 684 milliseconds

1234567