Searched defs:stencil (Results 101 - 125 of 128) sorted by relevance

123456

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_blitter.c94 /* Depth stencil alpha state. */
179 /* depth stencil alpha state objects */
190 dsa.stencil[0].enabled = 1;
191 dsa.stencil[0].func = PIPE_FUNC_ALWAYS;
192 dsa.stencil[0].fail_op = PIPE_STENCIL_OP_REPLACE;
193 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE;
194 dsa.stencil[0].zfail_op = PIPE_STENCIL_OP_REPLACE;
195 dsa.stencil[0].valuemask = 0xff;
196 dsa.stencil[0].writemask = 0xff;
433 /* Depth, stencil, alph
882 util_blitter_clear_custom(struct blitter_context *blitter, unsigned width, unsigned height, unsigned num_cbufs, unsigned clear_buffers, enum pipe_format cbuf_format, const union pipe_color_union *color, double depth, unsigned stencil, void *custom_blend, void *custom_dsa) argument
945 util_blitter_clear(struct blitter_context *blitter, unsigned width, unsigned height, unsigned num_cbufs, unsigned clear_buffers, enum pipe_format cbuf_format, const union pipe_color_union *color, double depth, unsigned stencil) argument
1325 util_blitter_clear_depth_stencil(struct blitter_context *blitter, struct pipe_surface *dstsurf, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_context.h122 } stencil[2]; member in struct:svga_depth_stencil_state
125 * back face stencil. We really need two:
416 unsigned stencil);
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/
H A Dp_state.h226 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/mesa/main/
H A Dtexstore.c2772 * Store a combined depth/stencil texture image.
2801 GLubyte *stencil = (GLubyte *) malloc(srcWidth * sizeof(GLubyte)); local
2803 if (!depth || !stencil) {
2805 free(stencil);
2809 /* In case we only upload depth we need to preserve the stencil */
2821 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */
2837 /* get the 8-bit stencil values */
2840 stencil, /* dst addr */
2848 dstRow[i] = (dstRow[i] & 0xFFFFFF00) | (stencil[i] & 0xFF);
2857 free(stencil);
2874 GLubyte *stencil; local
2970 GLubyte *stencil = (GLubyte *) malloc(srcWidth * sizeof(GLubyte)); local
[all...]
H A Ddlist.c1583 GLfloat depth, GLint stencil)
1593 n[4].i = stencil;
1596 CALL_ClearBufferfi(ctx->Exec, (buffer, drawbuffer, depth, stencil));
1582 save_ClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) argument
/external/deqp/framework/opengl/simplereference/
H A DsglrGLContext.cpp453 void GLContext::clearStencil (int stencil) argument
455 m_wrapper->glClearStencil(stencil);
478 void GLContext::clearBufferfi (deUint32 buffer, int drawbuffer, float depth, int stencil) argument
480 m_wrapper->glClearBufferfi(buffer, drawbuffer, depth, stencil);
/external/deqp/modules/egl/
H A DteglRenderTests.cpp118 STENCILMODE_NONE = 0, //!< No stencil test or write
132 StencilMode stencil; member in struct:deqp::egl::__anon19839::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) argument
541 glClearStencil(stencil);
583 switch (drawOp.stencil)
639 void clear (EGLint api, const tcu::Vec4& color, const float depth, const int stencil) argument
644 case EGL_OPENGL_ES2_BIT: clearGLES2(color, depth, stencil); brea
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fFboRenderTest.cpp755 // \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
1023 // Do stencil clears
1131 // Render intersecting quads - increment stencil on depth pass
1144 // Draw quad with stencil test (stencil
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...]
/external/kernel-headers/original/uapi/drm/
H A Dmga_drm.h140 unsigned int stencil; member in struct:__anon22799
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_blitter.c94 /* Depth stencil alpha state. */
179 /* depth stencil alpha state objects */
190 dsa.stencil[0].enabled = 1;
191 dsa.stencil[0].func = PIPE_FUNC_ALWAYS;
192 dsa.stencil[0].fail_op = PIPE_STENCIL_OP_REPLACE;
193 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE;
194 dsa.stencil[0].zfail_op = PIPE_STENCIL_OP_REPLACE;
195 dsa.stencil[0].valuemask = 0xff;
196 dsa.stencil[0].writemask = 0xff;
433 /* Depth, stencil, alph
882 util_blitter_clear_custom(struct blitter_context *blitter, unsigned width, unsigned height, unsigned num_cbufs, unsigned clear_buffers, enum pipe_format cbuf_format, const union pipe_color_union *color, double depth, unsigned stencil, void *custom_blend, void *custom_dsa) argument
945 util_blitter_clear(struct blitter_context *blitter, unsigned width, unsigned height, unsigned num_cbufs, unsigned clear_buffers, enum pipe_format cbuf_format, const union pipe_color_union *color, double depth, unsigned stencil) argument
1325 util_blitter_clear_depth_stencil(struct blitter_context *blitter, struct pipe_surface *dstsurf, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_context.h122 } stencil[2]; member in struct:svga_depth_stencil_state
125 * back face stencil. We really need two:
416 unsigned stencil);
/external/mesa3d/src/gallium/include/pipe/
H A Dp_state.h226 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/mesa3d/src/mesa/main/
H A Dtexstore.c2772 * Store a combined depth/stencil texture image.
2801 GLubyte *stencil = (GLubyte *) malloc(srcWidth * sizeof(GLubyte)); local
2803 if (!depth || !stencil) {
2805 free(stencil);
2809 /* In case we only upload depth we need to preserve the stencil */
2821 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */
2837 /* get the 8-bit stencil values */
2840 stencil, /* dst addr */
2848 dstRow[i] = (dstRow[i] & 0xFFFFFF00) | (stencil[i] & 0xFF);
2857 free(stencil);
2874 GLubyte *stencil; local
2970 GLubyte *stencil = (GLubyte *) malloc(srcWidth * sizeof(GLubyte)); local
[all...]
H A Ddlist.c1583 GLfloat depth, GLint stencil)
1593 n[4].i = stencil;
1596 CALL_ClearBufferfi(ctx->Exec, (buffer, drawbuffer, depth, stencil));
1582 save_ClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) argument
/external/skia/src/gpu/
H A DGrDrawState.h688 * Sets the stencil settings to use for the next draw.
690 * out the client settable stencil bits. So multipass algorithms
691 * using stencil should not change the clip between passes.
692 * @param settings the stencil settings to use.
699 * Shortcut to disable stencil testing and ops.
707 GrStencilSettings* stencil() { return &fCommon.fStencilSettings; } function in class:GrDrawState
735 * Disables writing to the color buffer. Useful when performing stencil
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DContext.cpp1311 // Applies the render target surface, depth stencil surface, viewport rectangle and
1613 // glClearBufferfv can be called to clear the color buffer or stencil buffer
1637 Error Context::clearBufferfi(GLenum buffer, int drawbuffer, float depth, int stencil) argument
1644 // glClearBufferfi can only be called to clear a depth stencil buffer
1649 clearParams.stencilClearValue = stencil;
H A DlibGLESv2.cpp6747 void __stdcall glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) argument
6749 EVENT("(GLenum buffer = 0x%X, GLint drawbuffer = %d, GLfloat depth, GLint stencil = %d)",
6750 buffer, drawbuffer, depth, stencil);
6775 gl::Error error = context->clearBufferfi(buffer, drawbuffer, depth, stencil);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d11/
H A Dd3d11_context.h1634 UINT8 stencil)
1643 pipe->clear_depth_stencil(pipe, view->object, flags, depth, stencil, 0, 0, view->object->width, view->object->height);
1630 ClearDepthStencilView( ID3D11DepthStencilView *depth_stencil_view, unsigned clear_flags, float depth, UINT8 stencil) argument
/external/deqp/framework/common/
H A DtcuTexture.cpp1039 void PixelBufferAccess::setPixStencil (int stencil, int x, int y, int z) const argument
1055 case TextureFormat::S: *((deUint32*)pixelPtr) = PU(stencil, 8, 24); break;
1056 case TextureFormat::DS: *((deUint32*)pixelPtr) = (*((deUint32*)pixelPtr) & 0xffffff00) | PU(stencil, 0, 8); break;
1064 *((deUint32*)(pixelPtr+4)) = PU((deUint32)stencil, 0, 8);
1069 intToChannel(pixelPtr, stencil, m_format.type);
1074 intToChannel(pixelPtr + getChannelSize(m_format.type)*stencilChannelIndex, stencil, m_format.type);
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
H A Dd3d11_context.h1634 UINT8 stencil)
1643 pipe->clear_depth_stencil(pipe, view->object, flags, depth, stencil, 0, 0, view->object->width, view->object->height);
1630 ClearDepthStencilView( ID3D11DepthStencilView *depth_stencil_view, unsigned clear_flags, float depth, UINT8 stencil) argument
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DRenderer9.cpp899 // get the maximum size of the stencil ref
1203 // Apply the depth stencil on the device
1216 ERR("depth stencil pointer unexpectedly null.");
1826 DWORD stencil = clearParams.stencilClearValue & 0x000000FF; local
1937 mDevice->SetRenderState(D3DRS_STENCILREF, stencil);
1992 mDevice->Clear(0, NULL, D3DCLEAR_ZBUFFER, color, depth, stencil);
2016 mDevice->Clear(0, NULL, dxClearFlags, color, depth, stencil);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
H A Dmeta.c62 #include "main/stencil.h"
261 GLuint StencilFP; /**< Fragment program for drawing stencil images */
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);
980 _mesa_ClearStencil(stencil->Clear);
983 stencil->TestTwoSide);
984 _mesa_ActiveStencilFaceEXT(stencil->ActiveFace
989 stencil->Function[0],
990 stencil
[all...]
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta.c62 #include "main/stencil.h"
261 GLuint StencilFP; /**< Fragment program for drawing stencil images */
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);
980 _mesa_ClearStencil(stencil->Clear);
983 stencil->TestTwoSide);
984 _mesa_ActiveStencilFaceEXT(stencil->ActiveFace
989 stencil->Function[0],
990 stencil
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/include/
H A Dsvga3d_reg.h1226 uint32 stencil; member in struct:__anon13997
1845 * render targets. This does no include the depth or stencil targets.
/external/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_reg.h1226 uint32 stencil; member in struct:__anon27408
1845 * render targets. This does no include the depth or stencil targets.

Completed in 848 milliseconds

123456