Home
last modified time | relevance | path

Searched refs:getCurrentContext (Results 1 – 25 of 33) 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 …]
Des3fFboMultisampleTests.cpp88 deUint32 gradShaderID = getCurrentContext()->createProgram(&gradShader); in render()
89 deUint32 flatShaderID = getCurrentContext()->createProgram(&flatShader); in render()
136 …gradShader.setGradient(*getCurrentContext(), gradShaderID, colorFmtInfo.valueMin, colorFmtInfo.val… in render()
137 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0… in render()
162 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(r,g,b,a) * (colorFmtInfo.valueMax-col… in render()
163 sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(x0, y0, z0), Vec3(x1, y1, z1)); in render()
193 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, c, 1.0f) * (colorFmtInfo.… in render()
194 sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, d), Vec3(1.0f, 1.0f, d)); in render()
217 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, c, 0.0f, 1.0f) * (colorFmtInfo.… in render()
218 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render()
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 …]
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()
369 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value); in clearColorBuffer()
Des3fTextureSpecificationTests.cpp237 …sglr::drawQuad(*getCurrentContext(), program, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*2… in renderTex()
1885 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture()
1891 shader.setGradient(*getCurrentContext(), shaderID, Vec4(0.0f), Vec4(1.0f)); in createTexture()
1892 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture()
1933 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture()
1939 shader.setGradient(*getCurrentContext(), shaderID, Vec4(0.0f), Vec4(1.0f)); in createTexture()
1940 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture()
1986 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture()
2012 shader.setGradient(*getCurrentContext(), shaderID, Vec4(0.0f), Vec4(1.0f)); in createTexture()
2013 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture()
[all …]
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp262 Context* getCurrentContext (void) in getCurrentContext() function
269 Context* const ctx = getCurrentContext(); in glGetError()
279 Context* const ctx = getCurrentContext(); in glGetIntegerv()
449 Context* const ctx = getCurrentContext(); in glGetString()
466 Context* const ctx = getCurrentContext(); in glGetStringi()
487 Context* const ctx = getCurrentContext(); in glCreateProgram()
493 Context* const ctx = getCurrentContext(); in glCreateShader()
516 Context* const ctx = getCurrentContext(); in glGenTextures()
527 Context* const ctx = getCurrentContext(); in glGenQueries()
538 Context* const ctx = getCurrentContext(); in glGenBuffers()
[all …]
/external/deqp/framework/opengl/
DgluES3PlusWrapperContext.cpp164 inline Context* getCurrentContext (void) in getCurrentContext() function
171 Context* context = getCurrentContext(); in getIntegerv()
184 Context* context = getCurrentContext(); in getString()
204 Context* context = getCurrentContext(); in getStringi()
224 Context* context = getCurrentContext(); in enable()
240 Context* context = getCurrentContext(); in disable()
253 Context* context = getCurrentContext(); in bindVertexArray()
264 Context* context = getCurrentContext(); in hint()
428 Context* context = getCurrentContext(); in shaderSource()
449 Context* context = getCurrentContext(); in bindFramebuffer()
[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()
376 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value); in clearColorBuffer()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp570 deUint32 shaderID = getCurrentContext()->createProgram(&m_tex2DShader); in renderTex2D()
572 m_tex2DShader.setUniforms(*getCurrentContext(), shaderID); in renderTex2D()
573 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*… in renderTex2D()
597 deUint32 shaderID = getCurrentContext()->createProgram(shaders[face]); in renderTexCube()
599 shaders[face]->setUniforms(*getCurrentContext(), shaderID); in renderTexCube()
600 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*… in renderTexCube()
1286 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture()
1292 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture()
1334 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture()
1342 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture()
[all …]
/external/jetty/src/java/org/eclipse/jetty/security/
DSecurityHandler.java287 ContextHandler.Context context =ContextHandler.getCurrentContext(); in doStart()
362 …r=_authenticatorFactory.getAuthenticator(getServer(),ContextHandler.getCurrentContext(),this, _ide… in doStart()
582 Context context = ContextHandler.getCurrentContext(); in getCurrentSecurityHandler()
/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();
DeglwFuncPtrLibraryDecl.inl33 EGLContext getCurrentContext (void) const;
DeglwLibrary.inl33 virtual EGLContext getCurrentContext (void) const = 0;
/external/jetty/src/java/org/eclipse/jetty/servlet/
DErrorPageErrorHandler.java186 _servletContext=ContextHandler.getCurrentContext(); in doStart()
DDefaultServlet.java311 ContextHandler.Context scontext=ContextHandler.getCurrentContext(); in initContextHandler()
321 return ContextHandler.getCurrentContext().getContextHandler(); in initContextHandler()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DResourceHandler.java155 Context scontext = ContextHandler.getCurrentContext(); in doStart()
/external/jetty/src/java/org/eclipse/jetty/server/session/
DHashSessionManager.java95 ServletContext context = ContextHandler.getCurrentContext(); in doStart()
DAbstractSessionManager.java233 _context=ContextHandler.getCurrentContext(); in doStart()
/external/deqp/framework/opengl/simplereference/
DsglrContextWrapper.cpp44 Context* ContextWrapper::getCurrentContext (void) const in getCurrentContext() function in sglr::ContextWrapper

12