Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Ddepthstencil.h181 simdscalar stencilMask = _simd_set1_ps(-1.0f); in DepthStencilTest() local
207 stencilMask = _simd_setzero_ps(); in DepthStencilTest()
228 stencilMask = _simd_cmple_ps(stencilRef, stencilWithMask); in DepthStencilTest()
231 stencilMask = _simd_cmplt_ps(stencilRef, stencilWithMask); in DepthStencilTest()
234 stencilMask = _simd_cmpgt_ps(stencilRef, stencilWithMask); in DepthStencilTest()
237 stencilMask = _simd_cmpge_ps(stencilRef, stencilWithMask); in DepthStencilTest()
240 stencilMask = _simd_cmpeq_ps(stencilRef, stencilWithMask); in DepthStencilTest()
243 stencilMask = _simd_cmpneq_ps(stencilRef, stencilWithMask); in DepthStencilTest()
248 simdscalar depthWriteMask = _simd_and_ps(depthResult, stencilMask); in DepthStencilTest()
251 *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/mesa3d/src/mesa/swrast/
Ds_stencil.c501 const GLuint stencilMask = ctx->Stencil.WriteMask[0]; in _swrast_write_stencil_span() local
525 if ((stencilMask & stencilMax) != stencilMax) { in _swrast_write_stencil_span()
534 = (stencil[i] & stencilMask) | (destVals[i] & ~stencilMask); in _swrast_write_stencil_span()
Ds_drawpix.c613 const GLuint stencilMask = ctx->Stencil.WriteMask[0]; in draw_depth_stencil_pixels() local
639 (stencilMask & 0xff) == 0xff) { in draw_depth_stencil_pixels()
680 if (stencilMask != 0x0) { in draw_depth_stencil_pixels()
/external/swiftshader/src/Renderer/
DPixelProcessor.cpp622 stencil.set(stencilReference, context->stencilMask, context->stencilWriteMask); in setStencilReference()
631 void PixelProcessor::setStencilMask(int stencilMask) in setStencilMask() argument
633 context->stencilMask = stencilMask; in setStencilMask()
634 stencil.set(context->stencilReference, stencilMask, context->stencilWriteMask); in setStencilMask()
661 stencil.set(context->stencilReference, context->stencilMask, stencilWriteMask); in setStencilWriteMask()
997 state.noStencilMask = (context->stencilMask == 0xFF); in update()
DPixelProcessor.hpp266 void setStencilMask(int stencilMask);
274 void setStencilMaskCCW(int stencilMask);
DContext.hpp413 int stencilMask; member in sw::Context
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp383 setStencilFuncsFront(depthStencilState.stencilFunc, depthStencilState.stencilMask, in setBlendDepthRasterStates()
653 GLuint stencilMask, in setStencilFuncsFront() argument
663 device->SetRenderState(frontFaceCCW ? D3DRS_STENCILMASK : D3DRS_CCW_STENCILMASK, stencilMask); in setStencilFuncsFront()
667 mCurDepthStencilState.stencilMask = stencilMask; in setStencilFuncsFront()
DStateManager9.h108 GLuint stencilMask,
/external/deqp/external/openglcts/modules/gl/
Dgl4cPostDepthCoverageTests.cpp444 gl.stencilMask(0xFF); in iterate()
456 gl.stencilMask(0x00); in iterate()
/external/deqp/modules/egl/
DteglImageUtil.cpp364 const deUint32 stencilMask = deBitMask32(0, numStencilBits); in initializeStencilRbo() local
376 const deUint32 stencil = stencilValues[ndx] & stencilMask; in initializeStencilRbo()
/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/framework/opengl/wrapper/
DglwInitES20Direct.inl107 gl->stencilMask = &glStencilMask;
DglwInitES30Direct.inl183 gl->stencilMask = &glStencilMask;
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp473 const uint8_t stencilMask = in clearImpl() local
481 ASSERT(!clearStencil || stencilMask != 0); in clearImpl()
489 const bool maskedClearStencil = clearStencil && stencilMask != 0xFF; in clearImpl()
615 clearStencilWithDraw, colorMasks, stencilMask, clearColorValue, in clearImpl()
2184 uint8_t stencilMask, in clearWithDraw() argument
2195 params.stencilMask = stencilMask; in clearWithDraw()
DFramebufferVk.h209 uint8_t stencilMask,
/external/deqp/framework/opengl/
DgluES3PlusWrapperFuncs.inl244 dst->stencilMask = src.stencilMask;
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp78 mState.stencilMask = 0xFFFFFFFFu; in Context()
483 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
487 mState.stencilMask != stencilMask) in setStencilParams()
491 mState.stencilMask = stencilMask; in setStencilParams()
1987 …case GL_STENCIL_VALUE_MASK: *params = sw::clampToSignedInt(mState.stencilMask); retu… in getIntegerv()
2925 device->setStencilMask(mState.stencilMask); in applyState()
2947 device->setStencilMaskCCW(mState.stencilMask); in applyState()
DContext.h326 GLuint stencilMask; member
436 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderStateCache.cpp242 dsDesc.StencilReadMask = ConvertStencilMask(glState.stencilMask); in getDepthStencilState()
/external/angle/src/libANGLE/
Dangletypes.cpp111 stencilMask = static_cast<GLuint>(-1); in DepthStencilState()
136 return (stencilMask & stencilWritemask) == 0; in isStencilMaskedOut()

1234