/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
WebGLContextAttributes.cpp | 91 bool WebGLContextAttributes::stencil() const function in class:blink::WebGLContextAttributes 96 void WebGLContextAttributes::setStencil(bool stencil) 98 m_stencil = stencil; 148 attrs.stencil = m_stencil;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/ |
postprocess.h | 55 struct pipe_resource *stencil; /* stencil shared by inner_tmps */ member in struct:pp_queue_t
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
postprocess.h | 55 struct pipe_resource *stencil; /* stencil shared by inner_tmps */ member in struct:pp_queue_t
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/ |
V8HTMLCanvasElementCustom.cpp | 68 v8::Handle<v8::String> stencil = v8AtomicString(isolate, "stencil"); local 69 if (jsAttributes->Has(stencil) && !isUndefinedOrNull(jsAttributes->Get(stencil))) 70 webGLAttributes->setStencil(jsAttributes->Get(stencil)->BooleanValue());
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_simple_shaders.c | 220 * 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...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_quad.h | 88 uint8_t stencil[TGSI_QUAD_SIZE]; member in struct:quad_header_output
|
sp_quad_depth_test.c | 30 * \brief Quad depth / stencil testing 220 * fragment stencil values. 229 /* Copy quads stencil values 240 data->shader_stencil_refs[j] = ((unsigned)(quad->output.stencil[j])); 250 * Write data->bzzzz[] values and data->stencilVals into the Z/stencil buffer. 325 /** Only 8-bit stencil supported */ 330 * Do the basic stencil test (compare stencil buffer values against the 333 * \param data->stencilVals the stencil values from the stencil buffe 892 boolean stencil = qs->softpipe->depth_stencil->stencil[0].enabled; local [all...] |
/external/deqp/modules/glshared/ |
glsInteractionTestUtil.hpp | 87 StencilState stencil[rr::FACETYPE_LAST]; member in struct:deqp::gls::InteractionTestUtil::RenderState
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_simple_shaders.c | 220 * 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...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad.h | 88 uint8_t stencil[TGSI_QUAD_SIZE]; member in struct:quad_header_output
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_state_fs.h | 53 struct pipe_stencil_state stencil[2]; member in struct:lp_fragment_shader_variant_key
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
stw_pixelformat.c | 64 unsigned char stencil; member in struct:stw_pf_depth_info::__anon18857 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.
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
readpix.c | 181 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/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_cb_fbo.c | 549 * Check if two renderbuffer attachments name a combined depth/stencil 554 const struct gl_renderbuffer_attachment *stencil) 556 assert(depth && stencil); 558 if (depth->Type == stencil->Type) { 560 depth->Renderbuffer == stencil->Renderbuffer) 564 depth->Texture == stencil->Texture) 576 * For Gallium we only supports combined Z+stencil, not separate buffers. 585 const struct gl_renderbuffer_attachment *stencil = local 592 if (depth->Type && stencil->Type && depth->Type != stencil->Type) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_copypix.c | 353 GLubyte *p, *tmpImage, *stencil; local 403 stencil = (GLubyte *) malloc(width * sizeof(GLubyte)); 404 if (!stencil) { 410 /* Get stencil values */ 412 memcpy(stencil, p, width * sizeof(GLubyte)); 416 _swrast_read_stencil_span( ctx, rb, width, srcx, sy, stencil ); 419 _mesa_apply_stencil_transfer_ops(ctx, width, stencil); 421 /* Write stencil values */ 424 destx, dy, stencil); 427 _swrast_write_stencil_span( ctx, width, destx, dy, stencil ); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrDrawState.h | 413 /// @name Stencil 417 * Sets the stencil settings to use for the next draw. 419 * out the client settable stencil bits. So multipass algorithms 420 * using stencil should not change the clip between passes. 421 * @param settings the stencil settings to use. 431 * Shortcut to disable stencil testing and ops. 440 GrStencilSettings* stencil() { return &fStencilSettings; } function in class:GrDrawState
|
/external/deqp/modules/gles3/functional/ |
es3fFboMultisampleTests.cpp | 85 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.
|
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.getPixelUint(x, 0).w(); local 489 float step = (float)(stencil / ((1u<<stencilBits) / (deUint32)STENCIL_STEPS)) / (float)(STENCIL_STEPS-1) [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_fs.h | 53 struct pipe_stencil_state stencil[2]; member in struct:lp_fragment_shader_variant_key
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_pixelformat.c | 64 unsigned char stencil; member in struct:stw_pf_depth_info::__anon7195 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.
|
/external/mesa3d/src/mesa/main/ |
readpix.c | 181 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/mesa/state_tracker/ |
st_cb_fbo.c | 549 * Check if two renderbuffer attachments name a combined depth/stencil 554 const struct gl_renderbuffer_attachment *stencil) 556 assert(depth && stencil); 558 if (depth->Type == stencil->Type) { 560 depth->Renderbuffer == stencil->Renderbuffer) 564 depth->Texture == stencil->Texture) 576 * For Gallium we only supports combined Z+stencil, not separate buffers. 585 const struct gl_renderbuffer_attachment *stencil = local 592 if (depth->Type && stencil->Type && depth->Type != stencil->Type) [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_copypix.c | 353 GLubyte *p, *tmpImage, *stencil; local 403 stencil = (GLubyte *) malloc(width * sizeof(GLubyte)); 404 if (!stencil) { 410 /* Get stencil values */ 412 memcpy(stencil, p, width * sizeof(GLubyte)); 416 _swrast_read_stencil_span( ctx, rb, width, srcx, sy, stencil ); 419 _mesa_apply_stencil_transfer_ops(ctx, width, stencil); 421 /* Write stencil values */ 424 destx, dy, stencil); 427 _swrast_write_stencil_span( ctx, width, destx, dy, stencil ); [all...] |
/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.getPixelUint(x, 0).w(); local 486 float step = (float)(stencil / ((1u<<stencilBits) / (deUint32)STENCIL_STEPS)) / (float)(STENCIL_STEPS-1) [all...] |
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...] |