Home
last modified time | relevance | path

Searched refs:getCurrentContext (Results 1 – 25 of 42) 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.cpp143 deUint32 texToFboShaderID = getCurrentContext()->createProgram(&texToFboShader); in render()
144 deUint32 arrayTexShaderID = getCurrentContext()->createProgram(&arrayTexShader); in render()
147 texToFboShader.setUniforms(*getCurrentContext(), texToFboShaderID); in render()
226 …sglr::drawQuad(*getCurrentContext(), texToFboShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, … in render()
244 arrayTexShader.setUniforms(*getCurrentContext(), arrayTexShaderID); in render()
246 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()
382 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value); in clearColorBuffer()
/external/mesa3d/src/glx/
Dg_glxglvnddispatchfuncs.c323 if (!__VND->getCurrentContext()) in dispatch_GetCurrentDisplayEXT()
422 if (!__VND->getCurrentContext()) in dispatch_GetVideoSyncSGI()
538 if (!__VND->getCurrentContext()) in dispatch_SwapIntervalSGI()
560 if (!__VND->getCurrentContext()) in dispatch_WaitVideoSyncSGI()
686 if (!__VND->getCurrentContext()) in dispatch_GetSwapIntervalMESA()
746 if (!__VND->getCurrentContext()) in dispatch_QueryCurrentRendererIntegerMESA()
767 if (!__VND->getCurrentContext()) in dispatch_QueryCurrentRendererStringMESA()
884 if (!__VND->getCurrentContext()) in dispatch_SwapIntervalMESA()
/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_generators_specific.hpp28 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomFloatingGenerator()
50 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomIntegerGenerator()
Dcatch_random_number_generator.cpp27 return getCurrentContext().getConfig()->rngSeed(); in rngSeed()
Dcatch_benchmark.cpp17 …return getEstimatedClockResolution() * getCurrentContext().getConfig()->benchmarkResolutionMultipl… in getResolution()
Dcatch_context.h52 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/swiftshader/src/OpenGL/libEGL/
DlibEGL.cpp567 egl::Context *context = egl::getCurrentContext(); in WaitClient()
702 egl::Context *context = egl::getCurrentContext(); in BindTexImage()
754 egl::Context *context = egl::getCurrentContext(); in SwapInterval()
968 EGLContext context = egl::getCurrentContext(); in GetCurrentContext()
997 egl::Context *context = egl::getCurrentContext(); in GetCurrentDisplay()
1053 egl::Context *context = egl::getCurrentContext(); in WaitGL()
1073 egl::Context *context = egl::getCurrentContext(); in WaitNative()
1331 egl::Context *context = egl::getCurrentContext(); in CreateSync()
Dmain.h52 Context *getCurrentContext();
/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");
DeglwFuncPtrLibraryImpl.inl142 EGLContext FuncPtrLibrary::getCurrentContext (void) const function in FuncPtrLibrary
144 return m_egl.getCurrentContext();
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptorPool.java58 …descriptorPool = (RubyDescriptorPool) cDescriptorPool.newInstance(runtime.getCurrentContext(), Blo… in createRubyDescriptorPool()

12