Home
last modified time | relevance | path

Searched refs:stencilMask (Results 1 – 25 of 69) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Ddepthstencil.h158 simdscalar stencilMask = _simd_set1_ps(-1.0f); in DepthStencilTest() local
183 case ZFUNC_NEVER: stencilMask = _simd_setzero_ps(); break; in DepthStencilTest()
200 case ZFUNC_LE: stencilMask = _simd_cmple_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
201 case ZFUNC_LT: stencilMask = _simd_cmplt_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
202 case ZFUNC_GT: stencilMask = _simd_cmpgt_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
203 case ZFUNC_GE: stencilMask = _simd_cmpge_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
204 case ZFUNC_EQ: stencilMask = _simd_cmpeq_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
205 case ZFUNC_NE: stencilMask = _simd_cmpneq_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
209 simdscalar depthWriteMask = _simd_and_ps(depthResult, stencilMask); in DepthStencilTest()
212 *pStencilMask = stencilMask; in DepthStencilTest()
[all …]
/external/deqp/modules/gles2/functional/
Des2fDepthStencilClearTests.cpp75 , stencilMask (0) in Clear()
87 deUint32 stencilMask; member
255 clear->stencilMask = m_masked ? rnd.getUint32() : 0xffffffffu; in generateClears()
305 gl.stencilMask (clear->stencilMask); in renderGL()
316 gl.stencilMask (0xffffffffu); in renderGL()
465 if ((clear->clearMask & GL_STENCIL_BUFFER_BIT) == 0 || clear->stencilMask == 0) in renderReference()
477 …deUint32 newVal = ((oldVal & ~clear->stencilMask) | (clear->clearStencil & clear->stencilMask)) & … in renderReference()
Des2fStencilTests.cpp127 deUint32 stencilMask; member in deqp::gles2::Functional::StencilOp
138 , stencilMask (0xffffffffu) in StencilOp()
241 context.stencilFunc(op.stencilTest, op.stencil, op.stencilMask); in executeOps()
561 op.stencilMask = mask; in init()
/external/deqp/modules/gles3/functional/
Des3fDepthStencilClearTests.cpp75 , stencilMask (0) in Clear()
87 deUint32 stencilMask; member
258 clear->stencilMask = m_masked ? rnd.getUint32() : 0xffffffffu; in generateClears()
308 gl.stencilMask (clear->stencilMask); in renderGL()
319 gl.stencilMask (0xffffffffu); in renderGL()
468 if ((clear->clearMask & GL_STENCIL_BUFFER_BIT) == 0 || clear->stencilMask == 0) in renderReference()
480 …deUint32 newVal = ((oldVal & ~clear->stencilMask) | (clear->clearStencil & clear->stencilMask)) & … in renderReference()
Des3fStencilTests.cpp130 deUint32 stencilMask; member in deqp::gles3::Functional::StencilOp
141 , stencilMask (0xffffffffu) in StencilOp()
244 context.stencilFunc(op.stencilTest, op.stencil, op.stencilMask); in executeOps()
564 op.stencilMask = mask; in init()
/external/swiftshader/src/Device/
DPixelProcessor.cpp390 stencil.set(stencilReference, context->stencilMask, context->stencilWriteMask); in setStencilReference()
399 void PixelProcessor::setStencilMask(int stencilMask) in setStencilMask() argument
401 context->stencilMask = stencilMask; in setStencilMask()
402 stencil.set(context->stencilReference, stencilMask, context->stencilWriteMask); in setStencilMask()
429 stencil.set(context->stencilReference, context->stencilMask, stencilWriteMask); in setStencilWriteMask()
656 state.noStencilMask = (context->stencilMask == 0xFF); in update()
DPixelProcessor.hpp225 void setStencilMask(int stencilMask);
233 void setStencilMaskCCW(int stencilMask);
DContext.hpp166 int stencilMask; member in sw::Context
DContext.cpp179 stencilMask = 0xFFFFFFFF; in init()
/external/mesa3d/src/mesa/swrast/
Ds_stencil.c502 const GLuint stencilMask = ctx->Stencil.WriteMask[0]; in _swrast_write_stencil_span() local
526 if ((stencilMask & stencilMax) != stencilMax) { in _swrast_write_stencil_span()
535 = (stencil[i] & stencilMask) | (destVals[i] & ~stencilMask); in _swrast_write_stencil_span()
Ds_drawpix.c605 const GLuint stencilMask = ctx->Stencil.WriteMask[0]; in draw_depth_stencil_pixels() local
631 (stencilMask & 0xff) == 0xff) { in draw_depth_stencil_pixels()
672 if (stencilMask != 0x0) { in draw_depth_stencil_pixels()
/external/swiftshader/src/Renderer/
DPixelProcessor.cpp613 stencil.set(stencilReference, context->stencilMask, context->stencilWriteMask); in setStencilReference()
622 void PixelProcessor::setStencilMask(int stencilMask) in setStencilMask() argument
624 context->stencilMask = stencilMask; in setStencilMask()
625 stencil.set(context->stencilReference, stencilMask, context->stencilWriteMask); in setStencilMask()
652 stencil.set(context->stencilReference, context->stencilMask, stencilWriteMask); in setStencilWriteMask()
988 state.noStencilMask = (context->stencilMask == 0xFF); in update()
DPixelProcessor.hpp263 void setStencilMask(int stencilMask);
271 void setStencilMaskCCW(int stencilMask);
DContext.hpp413 int stencilMask; member in sw::Context
/external/deqp/external/openglcts/modules/gl/
Dgl4cPostDepthCoverageTests.cpp444 gl.stencilMask(0xFF); in iterate()
456 gl.stencilMask(0x00); in iterate()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp73 mState.stencilMask = -1; in Context()
493 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
497 mState.stencilMask != stencilMask) in setStencilParams()
501 mState.stencilMask = stencilMask; in setStencilParams()
1226 case GL_STENCIL_VALUE_MASK: *params = mState.stencilMask; break; in getIntegerv()
1848 device->setStencilMask(mState.stencilMask); in applyState()
1858 device->setStencilMaskCCW(mState.stencilMask); in applyState()
DContext.h238 GLuint stencilMask; member
332 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/external/deqp/modules/egl/
DteglImageUtil.cpp362 const deUint32 stencilMask = deBitMask32(0, numStencilBits); in initializeStencilRbo() local
374 const deUint32 stencil = stencilValues[ndx] & stencilMask; in initializeStencilRbo()
/external/deqp/framework/opengl/wrapper/
DglwInitES20Direct.inl107 gl->stencilMask = &glStencilMask;
DglwInitES30Direct.inl183 gl->stencilMask = &glStencilMask;
/external/deqp/framework/opengl/
DgluES3PlusWrapperFuncs.inl244 dst->stencilMask = src.stencilMask;
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp78 mState.stencilMask = 0xFFFFFFFFu; in Context()
482 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
486 mState.stencilMask != stencilMask) in setStencilParams()
490 mState.stencilMask = stencilMask; in setStencilParams()
1939 …case GL_STENCIL_VALUE_MASK: *params = sw::clampToSignedInt(mState.stencilMask); retu… in getIntegerv()
2860 device->setStencilMask(mState.stencilMask); in applyState()
2882 device->setStencilMaskCCW(mState.stencilMask); in applyState()
DContext.h355 GLuint stencilMask; member
464 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/external/swiftshader/src/Vulkan/
DVkPipeline.cpp319 context.stencilMask = depthStencilState->front.compareMask; in GraphicsPipeline()
/external/autotest/client/deps/webgl_mpd/src/debug/
Dwebgl-debug.js410 ctx.stencilMask(0xFFFFFFFF);

123