/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...] |
clear.c | 304 * Clear signed integer color buffer or stencil buffer (not depth). 325 * STENCIL, or DEPTH STENCIL and drawbuffer is not zero." 333 /* Save current stencil clear value, set to 'value', do the 334 * stencil clear and restore the clear value. 338 const GLuint clearSave = ctx->Stencil.Clear; 339 ctx->Stencil.Clear = *value; 341 ctx->Stencil.Clear = clearSave; 395 * Clear unsigned integer color buffer (not depth, not stencil). 446 * "Only ClearBufferiv should be used to clear stencil buffers. [all...] |
texstore.c | 2801 GLubyte *stencil = (GLubyte *) malloc(srcWidth * sizeof(GLubyte)); local 2874 GLubyte *stencil; local 2970 GLubyte *stencil = (GLubyte *) malloc(srcWidth * sizeof(GLubyte)); local [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/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/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup.c | 381 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 ))
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
xm_api.c | 375 * 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) 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 [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
meta.c | 62 #include "main/stencil.h" 143 struct gl_stencil_attrib Stencil; 261 GLuint StencilFP; /**< Fragment program for drawing stencil images */ 650 save->Stencil = ctx->Stencil; /* struct copy */ 651 if (ctx->Stencil.Enabled) 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) [all...] |
/external/deqp/modules/egl/ |
teglImageUtil.cpp | 374 const deUint32 stencil = stencilValues[ndx] & stencilMask; local 382 GLU_CHECK_GLW_CALL(gl, clearStencil(stencil)); 385 tcu::clearStencil(tcu::getSubregion(ref.getLevel(0), 0, 0, size.x(), size.y()), stencil); local
|
/external/deqp/modules/gles2/functional/ |
es2fFboRenderTest.cpp | 755 // \note Disabled for stencil configurations since doesn't exercise stencil buffer 852 // \note Disabled for stencil configurations since doesn't exercise stencil buffer 943 // \note Disabled for stencil configurations since doesn't exercise stencil buffer 998 : FboRenderCase(context, config.getName().c_str(), "Stencil clears", config) 1193 bool stencil = getConfig().stencilbufferFormat != GL_NONE; local 1433 bool stencil = getConfig().stencilbufferType != GL_NONE; local 1691 bool stencil = getConfig().stencilbufferType != GL_NONE; local 1860 bool stencil = getConfig().stencilbufferType != GL_NONE; local [all...] |
es2fRandomFragmentOpTests.cpp | 117 translateStencilState(src.stencil[rr::FACETYPE_BACK], dst.stencilStates[rr::FACETYPE_BACK]); 118 translateStencilState(src.stencil[rr::FACETYPE_FRONT], dst.stencilStates[rr::FACETYPE_FRONT]); 171 const StencilState& sParams = state.stencil[face];
|
/external/deqp/modules/gles3/functional/ |
es3fFboInvalidateTests.cpp | 185 // Stencil was preserved. 277 // Stencil was preserved. 466 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local 495 if (stencil) 534 // Stencil was preserved. 579 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local 615 if (stencil) 697 throw tcu::NotSupportedError("Unsupported depth/stencil format"); 713 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local 743 if (stencil) 833 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local 935 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local 1092 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local [all...] |
es3fRandomFragmentOpTests.cpp | 117 translateStencilState(src.stencil[rr::FACETYPE_BACK], dst.stencilStates[rr::FACETYPE_BACK]); 118 translateStencilState(src.stencil[rr::FACETYPE_FRONT], dst.stencilStates[rr::FACETYPE_FRONT]); 171 const StencilState& sParams = state.stencil[face];
|
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/ |
LwjglGraphics.java | 271 Display.create(new PixelFormat(config.r + config.g + config.b, config.a, config.depth, config.stencil, 284 .create(new PixelFormat(config.r + config.g + config.b, config.a, config.depth, config.stencil, config.samples)); 287 bufferFormat = new BufferFormat(config.r, config.g, config.b, config.a, config.depth, config.stencil, config.samples,
|
/external/mesa3d/src/mesa/swrast/ |
s_renderbuffer.c | 48 * which it manages (typically color buffers, Z and stencil). 52 * This one multi-purpose function can allocate stencil, depth, accum, color 332 * Add a software-based stencil renderbuffer to the given framebuffer. 355 _mesa_error(ctx, GL_OUT_OF_MEMORY, "Allocating stencil buffer"); 380 _mesa_error(ctx, GL_OUT_OF_MEMORY, "Allocating depth+stencil buffer"); 485 GLboolean stencil, 507 * hit for using combined depth/stencil in swrast. 510 stencil && fb->Visual.stencilBits == 8) { 511 /* use combined depth/stencil buffer */ 524 if (stencil) { [all...] |
/external/mesa3d/src/gallium/drivers/trace/ |
tr_context.c | [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrContext.hpp | 101 virtual void clearStencil (int stencil) = DE_NULL; 107 virtual void clearBufferfi (deUint32 buffer, int drawbuffer, float depth, int stencil) = DE_NULL;
|
sglrGLContext.hpp | 113 virtual void clearStencil (int stencil); 119 virtual void clearBufferfi (deUint32 buffer, int drawbuffer, float depth, int stencil);
|
/bionic/libc/kernel/uapi/drm/ |
mga_drm.h | 101 unsigned int stencil; member in struct:__anon276
|
/external/deqp/framework/common/ |
tcuTextureUtil.hpp | 117 void clearStencil (const PixelBufferAccess& access, int stencil); 157 * \brief Depth-stencil utilities 163 //! for combined depth stencil accesses and for sampler set to sample stencil returns 164 //! stencil access. Identity for non-combined formats.
|
/external/kernel-headers/original/uapi/drm/ |
mga_drm.h | 140 unsigned int stencil; member in struct:__anon12904
|
/external/libdrm/include/drm/ |
mga_drm.h | 140 unsigned int stencil; member in struct:__anon14615
|
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosrobovm/ |
IOSGLES30.java | 142 public native void glClearBufferfi(int buffer, int drawbuffer, float depth, int stencil);
|
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/ |
IOSGLES30.java | 126 public native void glClearBufferfi(int buffer, int drawbuffer, float depth, int stencil);
|