Home
last modified time | relevance | path

Searched refs:stencilFunc (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dangletypes.cpp21 bool IsStencilNoOp(GLenum stencilFunc, in IsStencilNoOp() argument
26 const bool isNeverAndKeep = stencilFunc == GL_NEVER && stencilFail == GL_KEEP; in IsStencilNoOp()
27 const bool isAlwaysAndKeepOrAllKeep = (stencilFunc == GL_ALWAYS || stencilFail == GL_KEEP) && in IsStencilNoOp()
112 stencilFunc = GL_ALWAYS; in DepthStencilState()
144 IsStencilNoOp(stencilFunc, stencilFail, stencilPassDepthFail, stencilPassDepthPass); in isStencilNoOp()
DState.cpp1033 void State::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
1035 if (mDepthStencil.stencilFunc != stencilFunc || mStencilRef != stencilRef || in setStencilParams()
1038 mDepthStencil.stencilFunc = stencilFunc; in setStencilParams()
2713 *params = mDepthStencil.stencilFunc; in getIntegerv()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp383 setStencilFuncsFront(depthStencilState.stencilFunc, depthStencilState.stencilMask, in setBlendDepthRasterStates()
652 void StateManager9::setStencilFuncsFront(GLenum stencilFunc, in setStencilFuncsFront() argument
660 gl_d3d9::ConvertComparison(stencilFunc)); in setStencilFuncsFront()
665 mCurDepthStencilState.stencilFunc = stencilFunc; in setStencilFuncsFront()
DStateManager9.h107 void setStencilFuncsFront(GLenum stencilFunc,
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcPackedDepthStencilTests.cpp790 gl.stencilFunc(GL_ALWAYS, 0x0, 0xFF); in renderToTextures()
831 gl.stencilFunc(GL_ALWAYS, 0x0, 0xFF); in renderToTextures()
837 gl.stencilFunc(GL_EQUAL, 0xFF, 0xFF); in renderToTextures()
1215 gl.stencilFunc(GL_EQUAL, i, 0xFF); in doReadPixels()
1746 gl.stencilFunc(GL_EQUAL, 0x1, 0xFF); in iterate()
1880 gl.stencilFunc(GL_NEVER, 0xFF, 0xFF); in iterate()
2063 gl.stencilFunc(GL_ALWAYS, 0x1, 0xFF); in iterate()
2071 gl.stencilFunc(GL_EQUAL, 0x1, 0xFF); in iterate()
2416 gl.stencilFunc(GL_EQUAL, 0xFF, 0xFF); in iterate()
2548 gl.stencilFunc(GL_ALWAYS, 0x1, 0xFF); in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthStencilTests.cpp838 for (int stencilFunc = 0; stencilFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; stencilFunc++) in init() local
845 bool hasStencilFunc = de::inBounds(stencilFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
849 name << "stencil_" << compareFuncs[stencilFunc].name << "_"; in init()
873 params.stencil[visible].function = hasStencilFunc ? compareFuncs[stencilFunc].func : 0; in init()
Des2fFboRenderTest.cpp1050 context.stencilFunc(GL_EQUAL, 1, 0xffffffffu); in render()
1054 context.stencilFunc(GL_EQUAL, 2, 0xffffffffu); in render()
1156 ctx.stencilFunc(GL_ALWAYS, 0, 0xffu); in render()
1168 ctx.stencilFunc(GL_EQUAL, depth ? 2 : 1, 0xffu); in render()
1175 ctx.stencilFunc(GL_GREATER, depth ? 1 : 2, 0xffu); in render()
1302 context.stencilFunc(GL_EQUAL, 1, 0xffu); in render()
1517 context.stencilFunc(GL_EQUAL, 0, 0xffu); in render()
1803 context.stencilFunc(GL_EQUAL, 1, 0xffu); in render()
1983 ctx.stencilFunc(GL_EQUAL, 0, 0xffu); in render()
Des2fStencilTests.cpp241 context.stencilFunc(op.stencilTest, op.stencil, op.stencilMask); in executeOps()
269 context.stencilFunc(GL_EQUAL, value, 0xffffffffu); in visualizeStencil()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDepthStencilTests.cpp838 for (int stencilFunc = 0; stencilFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; stencilFunc++) in init() local
845 bool hasStencilFunc = de::inBounds(stencilFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
849 name << "stencil_" << compareFuncs[stencilFunc].name << "_"; in init()
873 params.stencil[visible].function = hasStencilFunc ? compareFuncs[stencilFunc].func : 0; in init()
Des3fFboRenderTest.cpp578 context.stencilFunc(GL_EQUAL, 1, 0xffu); in render()
584 context.stencilFunc(GL_EQUAL, 2, 0xffu); in render()
716 context.stencilFunc(GL_EQUAL, 1, 0xffu); in render()
944 context.stencilFunc(GL_EQUAL, 0, 0xffu); in render()
1230 context.stencilFunc(GL_EQUAL, 1, 0xffu); in render()
1419 ctx.stencilFunc(GL_EQUAL, 0, 0xffu); in render()
Des3fStencilTests.cpp244 context.stencilFunc(op.stencilTest, op.stencil, op.stencilMask); in executeOps()
272 context.stencilFunc(GL_EQUAL, value, 0xffffffffu); in visualizeStencil()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cPostDepthCoverageTests.cpp442 gl.stencilFunc(GL_ALWAYS, 1, 0xFF); in iterate()
455 gl.stencilFunc(GL_NOTEQUAL, 1, 0xFF); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderPrimitiveCoverage.cpp633 gl.stencilFunc(GL_NEVER /* func */, 1 /* ref */, 0xFF /* mask */); in drawPatch()
660 gl.stencilFunc(GL_NOTEQUAL /* func */, 1 /* ref */, 0xFF /* mask */); in drawPatch()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pStateChangeTests.cpp262 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
986 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
1051 gl.stencilFunc(GL_LEQUAL, 0, 0xFF); in init()
1053 gl.stencilFunc(GL_GEQUAL, 0, 0x00); in init()
1094 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
Des2pRedundantStateChangeTests.cpp243 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
887 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
946 gl.stencilFunc(GL_LEQUAL, 0, 0xFF); in init()
985 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pStateChangeTests.cpp262 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
1070 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
1135 gl.stencilFunc(GL_LEQUAL, 0, 0xFF); in init()
1137 gl.stencilFunc(GL_GEQUAL, 0, 0x00); in init()
1178 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
Des3pRedundantStateChangeTests.cpp243 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
961 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
1020 gl.stencilFunc(GL_LEQUAL, 0, 0xFF); in init()
1059 gl.stencilFunc(GL_LEQUAL, 0, 0); in init()
/third_party/vk-gl-cts/framework/opengl/
DgluES3PlusWrapperFuncs.inl242 dst->stencilFunc = src.stencilFunc;
/third_party/vk-gl-cts/framework/opengl/wrapper/
DglwInitES20Direct.inl105 gl->stencilFunc = &glStencilFunc;
DglwInitES30Direct.inl181 gl->stencilFunc = &glStencilFunc;
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp76 mState.stencilFunc = GL_ALWAYS; in Context()
483 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
485 if(mState.stencilFunc != stencilFunc || in setStencilParams()
489 mState.stencilFunc = stencilFunc; in setStencilParams()
1985 …case GL_STENCIL_FUNC: *params = mState.stencilFunc; return t… in getIntegerv()
2922 device->setStencilCompare(es2sw::ConvertStencilComparison(mState.stencilFunc)); in applyState()
2944 device->setStencilCompareCCW(es2sw::ConvertStencilComparison(mState.stencilFunc)); in applyState()
DContext.h324 GLenum stencilFunc; member
436 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderStateCache.cpp247 dsDesc.FrontFace.StencilFunc = ConvertComparison(glState.stencilFunc); in getDepthStencilState()
/third_party/vk-gl-cts/modules/glshared/
DglsScissorTests.cpp484 gl.stencilFunc(GL_EQUAL, 123, ~0u); in render()
864 gl.stencilFunc(GL_EQUAL, clearStencil, ~0u); in render()
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrGLContext.hpp125 virtual void stencilFunc (deUint32 func, int ref, deUint32 mask);

1234