/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...] |
/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.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/svga/ |
svga_cmd.c | 225 * 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); [all...] |
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 118 STENCILMODE_NONE = 0, //!< No stencil test or write 119 STENCILMODE_LEQUAL_INC, //!< Stencil test with LEQUAL, increment on pass 132 StencilMode stencil; member in struct:deqp::egl::__anon23650::DrawPrimitiveOp 156 drawOp.stencil = (StencilMode)rnd.getInt(0, STENCILMODE_LAST-1); 282 if (drawOp.stencil != STENCILMODE_NONE) 286 DE_ASSERT(drawOp.stencil == STENCILMODE_LEQUAL_INC); 537 void clearGLES2 (const tcu::Vec4& color, const float depth, const int stencil) 541 glClearStencil(stencil); 583 switch (drawOp.stencil) 639 void clear (EGLint api, const tcu::Vec4& color, const float depth, const int stencil) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_state.c | 809 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[0].zfail_op)) [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_state.c | 809 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[0].zfail_op)) [all...] |
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
EglX11Api.cpp | 87 int bSize,red,green,blue,alpha,depth,stencil; local 122 IS_SUCCESS(glXGetFBConfigAttrib(dpy,*frmt,GLX_STENCIL_SIZE,&stencil)); 160 pMaxPixels,renderable,renderableType,visualId,visualType,samples,stencil,
|
/system/core/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/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_fs_exec.c | 168 quad->output.stencil[j] = (unsigned)machine->Outputs[i].xyzw[1].f[j];
|
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/ |
p_state.h | 226 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/chromium_org/webkit/common/gpu/ |
context_provider_in_process.cc | 55 attributes.stencil = true;
|
webgraphicscontext3d_in_process_command_buffer_impl.cc | 133 output_attribs->stencil_size = attributes.stencil ? 8 : 0;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_fs_exec.c | 168 quad->output.stencil[j] = (unsigned)machine->Outputs[i].xyzw[1].f[j];
|
/external/mesa3d/src/gallium/include/pipe/ |
p_state.h | 226 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/chromium_org/third_party/mesa/src/src/gallium/drivers/noop/ |
noop_pipe.c | 211 const union pipe_color_union *color, double depth, unsigned stencil) 227 unsigned stencil,
|
/external/mesa3d/src/gallium/drivers/noop/ |
noop_pipe.c | 211 const union pipe_color_union *color, double depth, unsigned stencil) 227 unsigned stencil,
|
/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/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/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
si_state.c | 495 * 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[0].fail_op)) [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_state.c | 495 * 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[0].fail_op)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_compositor.c | 464 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; [all...] |
vl_mpeg12_decoder.c | 784 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; [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_compositor.c | 464 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; [all...] |
vl_mpeg12_decoder.c | 784 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; [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
DrawingBuffer.cpp | 423 if (m_requestedAttributes.stencil) { 426 m_actualAttributes.stencil = stencilBits > 0; 705 if (!m_requestedAttributes.depth && !m_requestedAttributes.stencil) 733 if (m_requestedAttributes.stencil) { [all...] |