Searched defs:stencil (Results 1 - 25 of 105) sorted by relevance

12345

/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_clear.c52 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 Dlp_state_fs.h53 struct pipe_stencil_state stencil[2]; member in struct:lp_fragment_shader_variant_key
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_clear.h43 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
H A Du_simple_shaders.c220 * and writes it as depth and stencil, respectively.
230 struct ureg_dst out, depth, stencil; local
252 stencil = ureg_DECL_output( ureg,
264 ureg_writemask(stencil, TGSI_WRITEMASK_Y),
274 * as stencil.
284 struct ureg_dst out, stencil; local
301 stencil = ureg_DECL_output( ureg,
310 ureg_writemask(stencil, TGSI_WRITEMASK_Y),
432 * Make a fragment shader that sets the output stencil to a stencil valu
[all...]
H A Du_surface.c281 unsigned stencil,
311 unsigned zstencil = util_pack_z_stencil(dst->texture->format, depth, stencil);
368 depth, stencil);
277 util_clear_depth_stencil(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_clear.c50 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 Dsp_quad.h88 uint8_t stencil[TGSI_QUAD_SIZE]; member in struct:quad_header_output
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_clear.c42 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/deqp/external/vulkancts/framework/vulkan/
H A DvkTypeUtil.hpp64 inline VkClearValue makeClearValueDepthStencil (float depth, deUint32 stencil) argument
68 v.depthStencil.stencil = stencil;
/external/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpostprocess.h55 struct pipe_resource *stencil; /* stencil shared by inner_tmps */ member in struct:pp_queue_t
/external/skia/src/gpu/
H A DGrRenderTarget.cpp21 GrStencilAttachment* stencil)
23 , fStencilAttachment(stencil)
89 bool GrRenderTargetPriv::attachStencilAttachment(GrStencilAttachment* stencil) { argument
90 if (!stencil && !fRenderTarget->fStencilAttachment) {
91 // No need to do any work since we currently don't have a stencil attachment and
95 fRenderTarget->fStencilAttachment = stencil;
20 GrRenderTarget(GrGpu* gpu, const GrSurfaceDesc& desc, Flags flags, GrStencilAttachment* stencil) argument
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_clear.c46 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
H A Di915_surface.c128 unsigned stencil,
147 NULL, depth, stencil,
239 unsigned stencil,
252 packedds = util_pack_z_stencil(dst->format, depth, stencil);
258 do it if really have stencil and it isn't cleared */
124 i915_clear_depth_stencil_render(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) argument
235 i915_clear_depth_stencil_blitter(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) argument
/external/skia/src/gpu/vk/
H A DGrVkPipelineStateCache.cpp12 #include "GrRenderTargetPriv.h" // TODO: remove once refPipelineState gets passed stencil settings.
84 GrStencilSettings stencil; local
87 // TODO: attach stencil and create settings during render target flush.
89 stencil.reset(*pipeline.getUserStencil(), pipeline.hasStencilClip(),
95 if (!GrVkPipelineState::Desc::Build(&desc, primProc, pipeline, stencil,
117 stencil,
H A DGrVkStencilAttachment.cpp59 GrVkStencilAttachment* stencil = new GrVkStencilAttachment(gpu, format, imageDesc, local
63 return stencil;
H A DGrVkPipelineStateBuilder.cpp19 const GrStencilSettings& stencil,
36 return builder.finalize(stencil, primitiveType, renderPass, desc);
92 GrVkPipelineState* GrVkPipelineStateBuilder::finalize(const GrStencilSettings& stencil, argument
156 stencil,
16 CreatePipelineState( GrVkGpu* gpu, const GrPipeline& pipeline, const GrStencilSettings& stencil, const GrPrimitiveProcessor& primProc, GrPrimitiveType primitiveType, GrVkPipelineState::Desc* desc, const GrVkRenderPass& renderPass) argument
/external/deqp/framework/referencerenderer/
H A DrrMultisamplePixelBufferAccess.cpp239 void clearStencil (const MultisamplePixelBufferAccess& access, int stencil) argument
241 tcu::clearStencil(access.raw(), stencil);
/external/deqp/modules/glshared/
H A DglsInteractionTestUtil.hpp87 StencilState stencil[rr::FACETYPE_LAST]; member in struct:deqp::gls::InteractionTestUtil::RenderState
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_clear.c44 pack_zeta(enum pipe_format format, double depth, unsigned stencil) argument
48 return (zuint & 0xffffff00) | (stencil & 0xff);
54 const union pipe_color_union *color, double depth, unsigned stencil)
73 zeta = pack_zeta(fb->zsbuf->format, depth, stencil);
157 unsigned buffers, double depth, unsigned stencil,
213 PUSH_DATA (push, pack_zeta(ps->format, depth, stencil));
53 nv30_clear(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
156 nv30_clear_depth_stencil(struct pipe_context *pipe, struct pipe_surface *ps, unsigned buffers, double depth, unsigned stencil, unsigned x, unsigned y, unsigned w, unsigned h) argument
/external/mesa3d/src/mesa/main/
H A Dclear.c304 * Clear signed integer color buffer or stencil buffer (not depth).
333 /* Save current stencil clear value, set to 'value', do the
334 * stencil clear and restore the clear value.
395 * Clear unsigned integer color buffer (not depth, not stencil).
446 * "Only ClearBufferiv should be used to clear stencil buffers."
467 * Clear fixed-pt or float color buffer or depth buffer (not stencil).
559 * Clear depth/stencil buffer only.
563 GLfloat depth, GLint stencil)
610 ctx->Stencil.Clear = stencil;
562 _mesa_ClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) argument
H A Dpixeltransfer.c245 * 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...]
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/skia/src/gpu/gl/
H A DGrGLRenderTarget.cpp24 GrGLStencilAttachment* stencil)
26 , INHERITED(gpu, desc, ComputeFlags(gpu->glCaps(), idDesc), stencil) {
91 GrStencilAttachment* stencil = this->renderTargetPriv().getStencilAttachment(); local
92 if (nullptr == stencil) {
110 const GrGLStencilAttachment* glStencil = static_cast<const GrGLStencilAttachment*>(stencil);
21 GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, GrGLStencilAttachment* stencil) argument
/external/deqp/modules/gles3/functional/
H A Des3fFboMultisampleTests.cpp85 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local
109 if (depth || stencil)
121 if (stencil)
131 // Clear depth and stencil buffers.
173 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);
200 if (stencil)
202 // Visualize stencil.
311 // Depth/stencil formats.
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_pixelformat.c64 unsigned char stencil; member in struct:stw_pf_depth_info::__anon14971
100 /* combined depth-stencil */
141 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 1) == depth->bits.stencil);
180 pfi->pfd.cStencilBits = depth->bits.stencil;
189 * since state trackers can allocate depth/stencil/accum buffers, we provide
215 * Add the depth/stencil/accum/ms variants for a particular color format.

Completed in 478 milliseconds

12345