Home
last modified time | relevance | path

Searched refs:depthFunc (Results 1 – 25 of 116) sorted by relevance

12345

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthTests.cpp218 context.depthFunc(GL_ALWAYS); in render()
221 context.depthFunc(m_compareOp); in render()
226 context.depthFunc(GL_ALWAYS); in render()
229 context.depthFunc(m_compareOp); in render()
234 context.depthFunc(GL_ALWAYS); in render()
237 context.depthFunc(m_compareOp); in render()
242 context.depthFunc(GL_ALWAYS); in render()
245 context.depthFunc(m_compareOp); in render()
Des2fDepthStencilTests.cpp104 deUint32 depthFunc; member
112 , depthFunc (0) in DepthStencilParams()
147 log << TestLog::Message << " func = " << glu::getCompareFuncStr(params.depthFunc) << "\n" in operator <<()
300 renderCmd.params.depthFunc = GL_ALWAYS; in generateBaseClearAndDepthCommands()
329 cmd.params.depthFunc = GL_LESS; in generateDepthVisualizeCommands()
403 dst.state.depthFunc = sglr::rr_util::mapGLTestFunc(src.params.depthFunc); in translateCommand()
456 glDepthFunc(command.params.depthFunc); in render()
775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
841 for (int depthFunc = 0; depthFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; depthFunc++) in init() local
846 bool hasDepthFunc = de::inBounds(depthFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
[all …]
Des2fPolygonOffsetTests.cpp383 …gl.depthFunc (GL_LEQUAL); // make test pass if polygon offset doesn't do anything. It has its o… in testPolygonOffset()
545 gl.depthFunc (GL_ALWAYS); in testPolygonOffset()
554 gl.depthFunc (GL_EQUAL); in testPolygonOffset()
631 gl.depthFunc (GL_LESS); in testPolygonOffset()
796 gl.depthFunc (GL_ALWAYS); in testPolygonOffset()
803 gl.depthFunc (GL_GREATER); in testPolygonOffset()
815 gl.depthFunc (GL_ALWAYS); in testPolygonOffset()
822 gl.depthFunc (GL_LESS); in testPolygonOffset()
909 gl.depthFunc (GL_ALWAYS); in testPolygonOffset()
916 gl.depthFunc (GL_LESS); in testPolygonOffset()
[all …]
Des2fShaderInvarianceTests.cpp323 const glw::GLenum depthFunc = (passNdx == 0) ? (GL_ALWAYS) : (GL_EQUAL); in iterate() local
331 gl.depthFunc (depthFunc); in iterate()
Des2fRandomFragmentOpTests.cpp111 dst.depthFunc = sglr::rr_util::mapGLTestFunc(src.depthFunc); in translateState()
184 wrapper.glDepthFunc(state.depthFunc); in setGLState()
Des2fClipControlTests.cpp607 gl.depthFunc(GL_LESS); in deinit()
1144 gl.depthFunc(GL_LESS); in deinit()
1176 gl.depthFunc(GL_ALWAYS); in iterate()
1333 gl.depthFunc(GL_LESS); in deinit()
1364 gl.depthFunc(GL_ALWAYS); in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDepthTests.cpp221 context.depthFunc(GL_ALWAYS); in render()
224 context.depthFunc(m_compareOp); in render()
229 context.depthFunc(GL_ALWAYS); in render()
232 context.depthFunc(m_compareOp); in render()
237 context.depthFunc(GL_ALWAYS); in render()
240 context.depthFunc(m_compareOp); in render()
245 context.depthFunc(GL_ALWAYS); in render()
248 context.depthFunc(m_compareOp); in render()
Des3fDepthStencilTests.cpp104 deUint32 depthFunc; member
112 , depthFunc (0) in DepthStencilParams()
147 log << TestLog::Message << " func = " << glu::getCompareFuncStr(params.depthFunc) << "\n" in operator <<()
300 renderCmd.params.depthFunc = GL_ALWAYS; in generateBaseClearAndDepthCommands()
329 cmd.params.depthFunc = GL_LESS; in generateDepthVisualizeCommands()
403 dst.state.depthFunc = sglr::rr_util::mapGLTestFunc(src.params.depthFunc); in translateCommand()
456 glDepthFunc(command.params.depthFunc); in render()
775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
841 for (int depthFunc = 0; depthFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; depthFunc++) in init() local
846 bool hasDepthFunc = de::inBounds(depthFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
[all …]
Des3fPolygonOffsetTests.cpp386 …gl.depthFunc (GL_LEQUAL); // make test pass if polygon offset doesn't do anything. It has its o… in testPolygonOffset()
548 gl.depthFunc (GL_ALWAYS); in testPolygonOffset()
557 gl.depthFunc (GL_EQUAL); in testPolygonOffset()
633 gl.depthFunc (GL_LESS); in testPolygonOffset()
798 gl.depthFunc (GL_ALWAYS); in testPolygonOffset()
805 gl.depthFunc (GL_GREATER); in testPolygonOffset()
817 gl.depthFunc (GL_ALWAYS); in testPolygonOffset()
824 gl.depthFunc (GL_LESS); in testPolygonOffset()
911 gl.depthFunc (GL_ALWAYS); in testPolygonOffset()
918 gl.depthFunc (GL_LESS); in testPolygonOffset()
[all …]
Des3fFragDepthTests.cpp173 gl.depthFunc(GL_ALWAYS); in iterate()
214 gl.depthFunc(m_compareFunc); in iterate()
315 gl.depthFunc(GL_LESS); in iterate()
Des3fShaderInvarianceTests.cpp323 const glw::GLenum depthFunc = (passNdx == 0) ? (GL_ALWAYS) : (GL_EQUAL); in iterate() local
331 gl.depthFunc (depthFunc); in iterate()
Des3fRandomFragmentOpTests.cpp111 dst.depthFunc = sglr::rr_util::mapGLTestFunc(src.depthFunc); in translateState()
184 wrapper.glDepthFunc(state.depthFunc); in setGLState()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcViewportArrayTests.cpp971 void APIErrors::depthRangeArrayHelper(Utils::DepthFuncWrapper& depthFunc, GLint max_viewports, bool… in depthRangeArrayHelper() argument
982 depthFunc.depthRangeArray(0, max_viewports - 1, &data[0]); in depthRangeArrayHelper()
985 depthFunc.depthRangeArray(max_viewports, 1, &data[0]); in depthRangeArrayHelper()
988 depthFunc.depthRangeArray(1, max_viewports - 1, &data[0]); in depthRangeArrayHelper()
991 depthFunc.depthRangeArray(1, max_viewports, &data[0]); in depthRangeArrayHelper()
996 void APIErrors::depthRangeIndexedHelper(Utils::DepthFuncWrapper& depthFunc, GLint max_viewports, bo… in depthRangeIndexedHelper() argument
998 depthFunc.depthRangeIndexed(0 /* index */, (T)0.0, (T)1.0); in depthRangeIndexedHelper()
1001 depthFunc.depthRangeIndexed(max_viewports - 1 /* index */, (T)0.0, (T)1.0); in depthRangeIndexedHelper()
1004 depthFunc.depthRangeIndexed(max_viewports /* index */, (T)0.0, (T)1.0); in depthRangeIndexedHelper()
1007 depthFunc.depthRangeIndexed(max_viewports + 1 /* index */, (T)0.0, (T)1.0); in depthRangeIndexedHelper()
[all …]
DglcViewportArrayTests.hpp320 …void depthRangeArrayHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& tes…
324 …void depthRangeIndexedHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& t…
328 …void getDepthHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_resul…
369 …void depthRangeInitialValuesHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, b…
495 …void getDepthRanges(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, std::vector<T>& …
DglcFragDepthTests.cpp183 gl.depthFunc(GL_ALWAYS); in iterate()
215 gl.depthFunc(m_compareFunc); in iterate()
314 gl.depthFunc(GL_LESS); in iterate()
DglcPackedDepthStencilTests.cpp779 gl.depthFunc(GL_LEQUAL); in renderToTextures()
1743 gl.depthFunc(GL_LEQUAL); in iterate()
1885 gl.depthFunc(GL_NEVER); in iterate()
1890 gl.depthFunc(GL_NEVER); in iterate()
2055 gl.depthFunc(GL_LEQUAL); in iterate()
2414 gl.depthFunc(GL_LEQUAL); in iterate()
2540 gl.depthFunc(GL_LEQUAL); in iterate()
/third_party/vk-gl-cts/modules/glshared/
DglsInteractionTestUtil.hpp90 deUint32 depthFunc; member
107 , depthFunc (0) in RenderState()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRenderState.hpp248 TestFunc depthFunc; member
286 , depthFunc (TESTFUNC_LESS) in FragmentOperationState()
DrrFragmentOperations.hpp138 …et, int numSamplesPerFragment, const Fragment* inputFragments, TestFunc depthFunc, const tcu::Cons…
DrrFragmentOperations.cpp219 …et, int numSamplesPerFragment, const Fragment* inputFragments, TestFunc depthFunc, const tcu::Cons… in executeDepthCompare() argument
269 switch (depthFunc) in executeDepthCompare()
286 switch (depthFunc) in executeDepthCompare()
885 …executeDepthCompare(groupFirstFragNdx, numSamplesPerFragment, inputFragments, state.depthFunc, dep… in render()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp377 setDepthFunc(depthStencilState.depthTest, depthStencilState.depthFunc); in setBlendDepthRasterStates()
563 void StateManager9::setDepthFunc(bool depthTest, GLenum depthFunc) in setDepthFunc() argument
569 device->SetRenderState(D3DRS_ZFUNC, gl_d3d9::ConvertComparison(depthFunc)); in setDepthFunc()
577 mCurDepthStencilState.depthFunc = depthFunc; in setDepthFunc()
DStateManager9.h104 void setDepthFunc(bool depthTest, GLenum depthFunc);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cClipControlTests.cpp606 gl.depthFunc(GL_LESS); in deinit()
638 gl.depthFunc(GL_ALWAYS); in iterate()
796 gl.depthFunc(GL_LESS); in deinit()
827 gl.depthFunc(GL_ALWAYS); in iterate()
977 gl.depthFunc(GL_LESS); in deinit()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DStateManagerGL.h55 GLenum depthFunc; member
215 void setDepthFunc(GLenum depthFunc);
DStateManagerGL.cpp1508 void StateManagerGL::setDepthFunc(GLenum depthFunc) in setDepthFunc() argument
1510 mDepthFunc = depthFunc; in setDepthFunc()
1511 mFunctions->depthFunc(mDepthFunc); in setDepthFunc()
1881 setDepthFunc(state.getDepthStencilState().depthFunc); in syncState()
2702 get(GL_DEPTH_FUNC, &state->depthFunc); in syncFromNativeContext()
2703 if (mDepthFunc != static_cast<GLenum>(state->depthFunc)) in syncFromNativeContext()
2705 mDepthFunc = state->depthFunc; in syncFromNativeContext()
2830 setDepthFunc(state->depthFunc); in restoreNativeContext()

12345