HomeSort by relevance Sort by last modified time
    Searched refs:stencil (Results 101 - 125 of 366) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/mesa3d/src/gallium/auxiliary/postprocess/
pp_init.c 159 pipe_resource_reference(&ppq->stencil, NULL);
317 ppq->stencil = p->screen->resource_create(p->screen, &tmp_res);
318 ppq->stencils = p->pipe->create_surface(p->pipe, ppq->stencil, &p->surf);
319 if (!ppq->stencil || !ppq->stencils)
  /external/mesa3d/src/gallium/drivers/ilo/core/
ilo_state_cc.h 153 struct ilo_state_cc_stencil_info stencil; member in struct:ilo_state_cc_info
  /external/swiftshader/src/OpenGL/libGL/
Device.hpp 59 void clearStencil(unsigned int stencil, unsigned int mask);
  /external/mesa3d/src/gallium/drivers/i915/
i915_context.h 381 double depth, unsigned stencil);
384 double depth, unsigned stencil);
387 double depth, unsigned stencil,
i915_surface.c 98 /* Fallback for depth&stencil. XXX: see if we can use a proxy format */
168 unsigned stencil,
188 NULL, depth, stencil,
260 debug_printf("i915: cannot blit stencil, skipping\n");
313 unsigned stencil,
327 packedds = util_pack_z_stencil(dst->format, depth, stencil);
333 do it if really have stencil and it isn't cleared */
  /external/mesa3d/src/gallium/drivers/nouveau/nv50/
nv50_state.c 388 if (cso->stencil[0].enabled) {
391 SB_DATA (so, nvgl_stencil_op(cso->stencil[0].fail_op));
392 SB_DATA (so, nvgl_stencil_op(cso->stencil[0].zfail_op));
393 SB_DATA (so, nvgl_stencil_op(cso->stencil[0].zpass_op));
394 SB_DATA (so, nvgl_comparison_op(cso->stencil[0].func));
396 SB_DATA (so, cso->stencil[0].writemask);
397 SB_DATA (so, cso->stencil[0].valuemask);
403 if (cso->stencil[1].enabled) {
404 assert(cso->stencil[0].enabled);
407 SB_DATA (so, nvgl_stencil_op(cso->stencil[1].fail_op))
    [all...]
  /external/deqp/modules/gles3/functional/
es3fFboMultisampleTests.cpp 86 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local
110 if (depth || stencil)
122 if (stencil)
132 // Clear depth and stencil buffers.
174 glBlitFramebuffer(0, 0, m_size.x(), m_size.y(), 0, 0, m_size.x(), m_size.y(), GL_COLOR_BUFFER_BIT | (depth ? GL_DEPTH_BUFFER_BIT : 0) | (stencil ? GL_STENCIL_BUFFER_BIT : 0), GL_NEAREST);
201 if (stencil)
203 // Visualize stencil.
404 // Depth/stencil formats.
es3fFboRenderTest.cpp 523 : FboRenderCase (context, config.getName().c_str(), "Stencil clears", config)
562 // Do stencil clears
629 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0; local
666 // Clear depth and stencil in fbo B
675 if (stencil)
677 // Stencil to 1 in fbo A
701 if (stencil)
705 // Clear subset of stencil buffer to 1
712 // Render quad with stencil mask == 1
866 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0 local
1128 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0; local
1285 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0; local
1524 bool stencil; member in struct:deqp::gles3::Functional::__anon18438
1606 bool stencil = depthStencilFormats[fmtNdx].stencil; local
1640 bool stencil = depthStencilFormats[depthStencilFmtNdx].stencil; local
1682 bool stencil = depthStencilFormats[fmtNdx].stencil; local
    [all...]
  /external/mesa3d/src/mesa/main/
attrib.c 50 #include "stencil.h"
115 GLboolean Stencil;
370 attr->Stencil = ctx->Stencil.Enabled;
371 attr->StencilTwoSide = ctx->Stencil.TestTwoSide;
492 (void*)&ctx->Stencil))
681 TEST_AND_UPDATE(ctx->Stencil.Enabled, enable->Stencil, GL_STENCIL_TEST);
683 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, enable->StencilTwoSide, GL_STENCIL_TEST_TWO_SIDE_EXT);
1320 const struct gl_stencil_attrib *stencil; local
    [all...]
clear.c 322 * Clear signed integer color buffer or stencil buffer (not depth).
343 * STENCIL, or DEPTH STENCIL and drawbuffer is not zero."
352 /* Save current stencil clear value, set to 'value', do the
353 * stencil clear and restore the clear value.
357 const GLuint clearSave = ctx->Stencil.Clear;
358 ctx->Stencil.Clear = *value;
360 ctx->Stencil.Clear = clearSave;
390 * ClearNamedFramebufferiv if buffer is not COLOR or STENCIL."
419 * Clear unsigned integer color buffer (not depth, not stencil)
    [all...]
  /external/mesa3d/src/gallium/drivers/vc4/
vc4_state.c 212 (!cso->stencil[0].enabled ||
213 (cso->stencil[0].zfail_op == PIPE_STENCIL_OP_KEEP &&
214 (!cso->stencil[1].enabled ||
215 cso->stencil[1].zfail_op == PIPE_STENCIL_OP_KEEP)))) {
223 if (cso->stencil[0].enabled) {
224 const struct pipe_stencil_state *front = &cso->stencil[0];
225 const struct pipe_stencil_state *back = &cso->stencil[1];
  /external/mesa3d/src/gallium/drivers/r300/
r300_state.c 679 /* Create a new depth, stencil, and alpha state based on the CSO dsa state.
681 * This contains the depth buffer, stencil buffer, alpha test, and such.
682 * On the Radeon, depth and stencil buffer setup are intertwined, which is
711 /* Stencil buffer setup. */
712 if (state->stencil[0].enabled) {
715 (r300_translate_depth_stencil_function(state->stencil[0].func) <<
717 (r300_translate_stencil_op(state->stencil[0].fail_op) <<
719 (r300_translate_stencil_op(state->stencil[0].zpass_op) <<
721 (r300_translate_stencil_op(state->stencil[0].zfail_op) <<
725 (state->stencil[0].valuemask << R300_STENCILMASK_SHIFT)
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a4xx/
fd4_gmem.c 78 * the stencil
80 if (rsc->stencil) {
81 rsc = rsc->stencil;
150 emit_gmem2mem_surf(struct fd_batch *batch, bool stencil,
159 if (stencil) {
160 debug_assert(rsc->stencil);
161 rsc = rsc->stencil;
274 if (!rsc->stencil || (batch->resolve & FD_BUFFER_DEPTH))
276 if (rsc->stencil && (batch->resolve & FD_BUFFER_STENCIL))
310 /* The gmem_restore_tex logic will put the first buffer's stencil
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_simple_shaders.c 366 * and writes it as depth and stencil, respectively.
376 struct ureg_dst out, depth, stencil; local
408 stencil = ureg_DECL_output( ureg,
420 ureg_writemask(stencil, TGSI_WRITEMASK_Y),
430 * as stencil.
440 struct ureg_dst out, stencil; local
463 stencil = ureg_DECL_output( ureg,
472 ureg_writemask(stencil, TGSI_WRITEMASK_Y),
671 * Make a fragment shader that sets the output stencil to a stencil valu
    [all...]
u_dump_state.c 520 util_dump_member_begin(stream, "stencil");
522 for(i = 0; i < ARRAY_SIZE(state->stencil); ++i) {
525 util_dump_member(stream, bool, &state->stencil[i], enabled);
526 if (state->stencil[i].enabled) {
527 util_dump_member(stream, enum_func, &state->stencil[i], func);
529 &state->stencil[i], fail_op);
531 &state->stencil[i], zpass_op);
533 &state->stencil[i], zfail_op);
534 util_dump_member(stream, uint, &state->stencil[i], valuemask);
535 util_dump_member(stream, uint, &state->stencil[i], writemask)
    [all...]
  /external/swiftshader/src/Renderer/
Surface.hpp 201 // Depth/stencil formats
333 void clearStencil(unsigned char stencil, unsigned char mask, int x0, int y0, int width, int height);
495 Buffer stencil; member in class:sw::Surface
623 return stencil.format;
628 return stencil.pitchB;
633 return stencil.sliceB;
655 stencil.lock == LOCK_UNLOCKED;
Surface.cpp     [all...]
  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_pixelformat.c 64 unsigned char stencil; member in struct:stw_pf_depth_info::__anon30256
101 /* combined depth-stencil */
144 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 1) == depth->bits.stencil);
183 pfi->pfd.cStencilBits = depth->bits.stencil;
192 * since state trackers can allocate depth/stencil/accum buffers, we provide
224 * Add the depth/stencil/accum/ms variants for a list of color formats.
  /external/deqp/framework/opengl/simplereference/
sglrContextWrapper.cpp 259 void ContextWrapper::glClearStencil (int stencil)
261 m_curCtx->clearStencil(stencil);
284 void ContextWrapper::glClearBufferfi (deUint32 buffer, int drawbuffer, float depth, int stencil)
286 m_curCtx->clearBufferfi(buffer, drawbuffer, depth, stencil);
  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_batch.h 127 /* Track the cleared scissor for color/depth/stencil, so we know
132 struct pipe_scissor_state color, depth, stencil; member in struct:fd_batch::__anon29509
  /external/mesa3d/src/gallium/drivers/nouveau/nvc0/
nvc0_state.c 361 if (cso->stencil[0].enabled) {
364 SB_DATA (so, nvgl_stencil_op(cso->stencil[0].fail_op));
365 SB_DATA (so, nvgl_stencil_op(cso->stencil[0].zfail_op));
366 SB_DATA (so, nvgl_stencil_op(cso->stencil[0].zpass_op));
367 SB_DATA (so, nvgl_comparison_op(cso->stencil[0].func));
369 SB_DATA (so, cso->stencil[0].valuemask);
370 SB_DATA (so, cso->stencil[0].writemask);
375 if (cso->stencil[1].enabled) {
376 assert(cso->stencil[0].enabled);
379 SB_DATA (so, nvgl_stencil_op(cso->stencil[1].fail_op))
    [all...]
  /external/mesa3d/src/gallium/drivers/swr/
swr_state.cpp 663 /* depth/stencil target */
938 /* depth/stencil target */
    [all...]
  /external/swiftshader/src/OpenGL/libGLESv2/
Device.hpp 60 void clearStencil(unsigned int stencil, unsigned int mask);
  /frameworks/base/libs/hwui/renderstate/
RenderState.cpp 51 mStencil = new Stencil();
215 stencil().clear();
218 stencil().enableDebugWrite();
220 stencil().disable();
467 stencil().dump();
RenderState.h 26 #include "renderstate/Stencil.h"
111 Stencil& stencil() { return *mStencil; } function in class:android::uirenderer::RenderState
133 Stencil* mStencil = nullptr;

Completed in 1366 milliseconds

1 2 3 45 6 7 8 91011>>