Home
last modified time | relevance | path

Searched refs:getCurrentContext (Results 1 – 25 of 48) sorted by relevance

12

/external/deqp/modules/gles3/functional/
Des3fFboStencilbufferTests.cpp72 deUint32 flatShaderID = getCurrentContext()->createProgram(&flatShader); in render()
73 deUint32 gradShaderID = getCurrentContext()->createProgram(&gradShader); in render()
111 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f)); in render()
112 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, … in render()
114 gradShader.setGradient(*getCurrentContext(), gradShaderID, Vec4(0.0f), Vec4(1.0f)); in render()
115 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(+1.0f, +1.0f, +… in render()
123 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0)); in render()
124 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-0.5f, -0.5f, 0.0f), Vec3(+0.5f, +0.5f, 0.… in render()
129 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)); in render()
130 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, 0.… in render()
[all …]
Des3fFboInvalidateTests.cpp149 deUint32 flatShaderID= getCurrentContext()->createProgram(&flatShader); in render()
159 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f)); in render()
160 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0… in render()
170 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in render()
171 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render()
193 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)); in render()
194 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render()
221 deUint32 flatShaderID= getCurrentContext()->createProgram(&flatShader); in render()
222 deUint32 texShaderID = getCurrentContext()->createProgram(&texShader); in render()
223 deUint32 gradShaderID= getCurrentContext()->createProgram(&gradShader); in render()
[all …]
Des3fFboDepthbufferTests.cpp74 deUint32 gradShaderID = getCurrentContext()->createProgram(&gradShader); in render()
75 deUint32 texShaderID = getCurrentContext()->createProgram(&texShader); in render()
79 gradShader.setGradient(*getCurrentContext(), gradShaderID, tcu::Vec4(0.0f), tcu::Vec4(1.0f)); in render()
80 texShader.setUniforms (*getCurrentContext(), texShaderID); in render()
107 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0… in render()
128 …sglr::drawQuad(*getCurrentContext(), texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)… in render()
167 const deUint32 depthGradShaderID = getCurrentContext()->createProgram(&depthGradShader); in render()
203 depthGradShader.setUniforms(*getCurrentContext(), depthGradShaderID, -1.0f, 2.0f, green); in render()
204 …sglr::drawQuad(*getCurrentContext(), depthGradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f… in render()
209 depthGradShader.setUniforms(*getCurrentContext(), depthGradShaderID, 1.0f, 1.0f, red); in render()
[all …]
Des3fFboColorbufferTests.cpp234 deUint32 texToFbo0ShaderID = getCurrentContext()->createProgram(&texToFbo0Shader); in render()
235 deUint32 texToFbo1ShaderID = getCurrentContext()->createProgram(&texToFbo1Shader); in render()
236 deUint32 multiTexShaderID = getCurrentContext()->createProgram(&multiTexShader); in render()
241 texToFbo0Shader.setUniforms(*getCurrentContext(), texToFbo0ShaderID); in render()
242 texToFbo1Shader.setUniforms(*getCurrentContext(), texToFbo1ShaderID); in render()
243 multiTexShader.setUniforms (*getCurrentContext(), multiTexShaderID); in render()
301 …sglr::drawQuad(*getCurrentContext(), ndx ? texToFbo1ShaderID : texToFbo0ShaderID, Vec3(-1.0f, -1.0… in render()
311 …sglr::drawQuad(*getCurrentContext(), multiTexShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, … in render()
367 deUint32 texToFboShaderID = getCurrentContext()->createProgram(&texToFboShader); in render()
368 deUint32 cubeTexShaderID = getCurrentContext()->createProgram(&cubeTexShader); in render()
[all …]
Des3fFramebufferBlitTests.cpp77 deUint32 gradShaderID = getCurrentContext()->createProgram(&gradShader); in render()
78 deUint32 texShaderID = getCurrentContext()->createProgram(&texShader); in render()
84 gradShader.setGradient(*getCurrentContext(), gradShaderID, Vec4(0.0f), Vec4(1.0f)); in render()
85 texShader.setUniforms(*getCurrentContext(), texShaderID); in render()
110 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render()
133 …sglr::drawQuad(*getCurrentContext(), texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)… in render()
370 deUint32 gradShaderSrcID = getCurrentContext()->createProgram(&gradientToSrcShader); in render()
371 deUint32 gradShaderDstID = getCurrentContext()->createProgram(&gradientToDstShader); in render()
404 …gradientToDstShader.setGradient(*getCurrentContext(), gradShaderDstID, dstRangeInfo.valueMax, dstR… in render()
405 …sglr::drawQuad(*getCurrentContext(), gradShaderDstID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0… in render()
[all …]
Des3fFboMultisampleTests.cpp89 deUint32 gradShaderID = getCurrentContext()->createProgram(&gradShader); in render()
90 deUint32 flatShaderID = getCurrentContext()->createProgram(&flatShader); in render()
137 …gradShader.setGradient(*getCurrentContext(), gradShaderID, colorFmtInfo.valueMin, colorFmtInfo.val… in render()
138 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0… in render()
163 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(r,g,b,a) * (colorFmtInfo.valueMax-col… in render()
164 sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(x0, y0, z0), Vec3(x1, y1, z1)); in render()
194 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, c, 1.0f) * (colorFmtInfo.… in render()
195 sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, d), Vec3(1.0f, 1.0f, d)); in render()
218 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, c, 0.0f, 1.0f) * (colorFmtInfo.… in render()
219 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render()
Des3fFboTestCase.cpp129 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); in readPixels()
134 getCurrentContext()->readPixels(dst, x, y, width, height); in readPixels()
371 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value); in clearColorBuffer()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp277 Context* getCurrentContext (void) in getCurrentContext() function
284 Context* const ctx = getCurrentContext(); in glGetError()
294 Context* const ctx = getCurrentContext(); in glGetIntegerv()
464 Context* const ctx = getCurrentContext(); in glGetString()
481 Context* const ctx = getCurrentContext(); in glGetStringi()
502 Context* const ctx = getCurrentContext(); in glCreateProgram()
508 Context* const ctx = getCurrentContext(); in glCreateShader()
531 Context* const ctx = getCurrentContext(); in glGenTextures()
542 Context* const ctx = getCurrentContext(); in glGenQueries()
553 Context* const ctx = getCurrentContext(); in glGenBuffers()
[all …]
/external/deqp/modules/gles31/functional/
Des31fFboColorbufferTests.cpp136 deUint32 texToFboShaderID = getCurrentContext()->createProgram(&texToFboShader); in render()
141 texToFboShader.setUniforms(*getCurrentContext(), texToFboShaderID); in render()
187 …sglr::drawQuad(*getCurrentContext(), texToFboShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, … in render()
231 deUint32 texToFboShaderID = getCurrentContext()->createProgram(&texToFboShader); in render()
232 deUint32 arrayTexShaderID = getCurrentContext()->createProgram(&arrayTexShader); in render()
235 texToFboShader.setUniforms(*getCurrentContext(), texToFboShaderID); in render()
314 …sglr::drawQuad(*getCurrentContext(), texToFboShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, … in render()
332 arrayTexShader.setUniforms(*getCurrentContext(), arrayTexShaderID); in render()
334 sglr::drawQuad(*getCurrentContext(), arrayTexShaderID, p0, p1); in render()
Des31fFboTestCase.cpp133 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); in readPixels()
138 getCurrentContext()->readPixels(dst, x, y, width, height); in readPixels()
391 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value); in clearColorBuffer()
/external/catch2/include/internal/
Dcatch_console_colour.cpp108 IConfigPtr config = getCurrentContext().getConfig(); in platformColourInstance()
163 getCurrentContext().getConfig()->stream() in setColour()
182 IConfigPtr config = getCurrentContext().getConfig(); in platformColourInstance()
Dcatch_context.h53 inline IContext& getCurrentContext() in getCurrentContext() function
Dcatch_assertionhandler.cpp72 return getCurrentContext().getConfig()->allowThrows(); in allowThrows()
Dcatch_fatal_condition.cpp25 Catch::getCurrentContext().getResultCapture()->handleFatalErrorCondition( message ); in reportFatal()
/external/mesa3d/src/glx/
Dg_glxglvnddispatchfuncs.c320 if (!__VND->getCurrentContext()) in dispatch_GetCurrentDisplayEXT()
419 if (!__VND->getCurrentContext()) in dispatch_GetVideoSyncSGI()
535 if (!__VND->getCurrentContext()) in dispatch_SwapIntervalSGI()
557 if (!__VND->getCurrentContext()) in dispatch_WaitVideoSyncSGI()
683 if (!__VND->getCurrentContext()) in dispatch_GetSwapIntervalMESA()
743 if (!__VND->getCurrentContext()) in dispatch_QueryCurrentRendererIntegerMESA()
764 if (!__VND->getCurrentContext()) in dispatch_QueryCurrentRendererStringMESA()
881 if (!__VND->getCurrentContext()) in dispatch_SwapIntervalMESA()
/external/angle/src/libANGLE/renderer/gl/wgl/
DFunctionsWGL.cpp60 getCurrentContext(nullptr), in FunctionsWGL()
113 GetWGLProcAddress(glModule, getProcAddress, "wglGetCurrentContext", &getCurrentContext); in initialize()
DFunctionsWGL.h36 PFNWGLGETCURRENTCONTEXTPROC getCurrentContext; variable
/external/swiftshader/src/OpenGL/libEGL/
Dmain.h52 Context *getCurrentContext();
DlibEGL.cpp603 egl::Context *context = egl::getCurrentContext(); in WaitClient()
744 egl::Context *context = egl::getCurrentContext(); in BindTexImage()
798 egl::Context *context = egl::getCurrentContext(); in SwapInterval()
1013 EGLContext context = egl::getCurrentContext(); in GetCurrentContext()
1042 egl::Context *context = egl::getCurrentContext(); in GetCurrentDisplay()
1100 egl::Context *context = egl::getCurrentContext(); in WaitGL()
1120 egl::Context *context = egl::getCurrentContext(); in WaitNative()
1392 egl::Context *context = egl::getCurrentContext(); in CreateSync()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp574 deUint32 shaderID = getCurrentContext()->createProgram(&m_tex2DShader); in renderTex2D()
576 m_tex2DShader.setUniforms(*getCurrentContext(), shaderID); in renderTex2D()
577 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*… in renderTex2D()
601 deUint32 shaderID = getCurrentContext()->createProgram(shaders[face]); in renderTexCube()
603 shaders[face]->setUniforms(*getCurrentContext(), shaderID); in renderTexCube()
604 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*… in renderTexCube()
1326 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture()
1332 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture()
1374 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture()
1382 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture()
[all …]
/external/deqp/framework/egl/wrapper/
DeglwFunctions.inl33 eglGetCurrentContextFunc getCurrentContext; variable
DeglwInitCore.inl26 dst->getCurrentContext = (eglGetCurrentContextFunc) loader->get("eglGetCurrentContext");
/external/angle/src/libANGLE/renderer/gl/glx/
DFunctionsGLX.h46 glx::Context getCurrentContext() const;
/external/catch2/include/internal/benchmark/
Dcatch_benchmark.hpp55 IConfigPtr cfg = getCurrentContext().getConfig(); in run()
/external/angle/src/libANGLE/renderer/gl/egl/
DFunctionsEGL.h69 EGLContext getCurrentContext() const;

12