Home
last modified time | relevance | path

Searched refs:maxStencil (Results 1 – 7 of 7) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fStencilTests.cpp456 int maxStencil = (1<<stencilBits)-1; in init()
457 if (targetStencil < maxStencil) in init()
467 int maxStencil = (1<<stencilBits)-1; in init()
468 dst.push_back(StencilOp::clearStencil((targetStencil-1)&maxStencil)); in init()
473 int maxStencil = (1<<stencilBits)-1; in init()
474 dst.push_back(StencilOp::clearStencil((targetStencil+1)&maxStencil)); in init()
511 int maxStencil = (1<<stencilBits)-1; in init()
512 if (targetStencil < maxStencil) in init()
523 int maxStencil = (1<<stencilBits)-1; in init()
524 if (targetStencil < maxStencil) in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fStencilTests.cpp459 int maxStencil = (1<<stencilBits)-1; in init()
460 if (targetStencil < maxStencil) in init()
470 int maxStencil = (1<<stencilBits)-1; in init()
471 dst.push_back(StencilOp::clearStencil((targetStencil-1)&maxStencil)); in init()
476 int maxStencil = (1<<stencilBits)-1; in init()
477 dst.push_back(StencilOp::clearStencil((targetStencil+1)&maxStencil)); in init()
514 int maxStencil = (1<<stencilBits)-1; in init()
515 if (targetStencil < maxStencil) in init()
526 int maxStencil = (1<<stencilBits)-1; in init()
527 if (targetStencil < maxStencil) in init()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp334 unsigned int maxStencil = (1 << mCurStencilSize) - 1; in setBlendDepthRasterStates() local
384 glState.getStencilRef(), frontFaceCCW, maxStencil); in setBlendDepthRasterStates()
389 frontFaceCCW, maxStencil); in setBlendDepthRasterStates()
630 unsigned int maxStencil) in setStencilFuncsBack() argument
636 (stencilBackRef < (int)maxStencil) ? stencilBackRef : maxStencil); in setStencilFuncsBack()
656 unsigned int maxStencil) in setStencilFuncsFront() argument
662 (stencilRef < static_cast<int>(maxStencil)) ? stencilRef : maxStencil); in setStencilFuncsFront()
DStateManager9.h111 unsigned int maxStencil);
116 unsigned int maxStencil);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp2917 GLuint maxStencil = (1 << stencilbuffer->getStencilSize()) - 1; in applyState() local
2924 …vice->setStencilReference((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef : maxStencil in applyState()
2934 …StencilReferenceCCW((mState.stencilBackRef < (GLint)maxStencil) ? mState.stencilBackRef : maxStenc… in applyState()
2946 …e->setStencilReferenceCCW((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef : maxStencil in applyState()
2956 …setStencilReference((mState.stencilBackRef < (GLint)maxStencil) ? mState.stencilBackRef : maxStenc… in applyState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp1300 unsigned int maxStencil = 0; in syncDepthStencilState() local
1303 maxStencil = (1 << mCurStencilSize) - 1; in syncDepthStencilState()
1305 ASSERT((mCurDepthStencilState.stencilWritemask & maxStencil) == in syncDepthStencilState()
1306 (mCurDepthStencilState.stencilBackWritemask & maxStencil)); in syncDepthStencilState()
1307 ASSERT(gl::clamp(mCurStencilRef, 0, static_cast<int>(maxStencil)) == in syncDepthStencilState()
1308 gl::clamp(mCurStencilBackRef, 0, static_cast<int>(maxStencil))); in syncDepthStencilState()
1309 ASSERT((mCurDepthStencilState.stencilMask & maxStencil) == in syncDepthStencilState()
1310 (mCurDepthStencilState.stencilBackMask & maxStencil)); in syncDepthStencilState()
/third_party/vk-gl-cts/modules/egl/
DteglImageFormatTests.cpp1045 const deUint32 maxStencil = deBitMask32(0, numStencilBits); in invokeGLES() local
1113 const int stencil = (int)(((float)(level + 1) * 0.1f) * (float)maxStencil); in invokeGLES()
1136 const int levelStencil = (int)(((float)(level + 1) * 0.1f) * (float)maxStencil); in invokeGLES()