/external/deqp/modules/gles3/functional/ |
D | es3fFboStencilbufferTests.cpp | 72 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 …]
|
D | es3fFboInvalidateTests.cpp | 149 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 …]
|
D | es3fFboDepthbufferTests.cpp | 74 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 …]
|
D | es3fFboColorbufferTests.cpp | 234 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 …]
|
D | es3fFboMultisampleTests.cpp | 88 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()
|
D | es3fFramebufferBlitTests.cpp | 77 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 …]
|
D | es3fFboTestCase.cpp | 129 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); in readPixels() 134 getCurrentContext()->readPixels(dst, x, y, width, height); in readPixels() 359 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value); in clearColorBuffer()
|
D | es3fTextureSpecificationTests.cpp | 225 …sglr::drawQuad(*getCurrentContext(), program, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*2… in renderTex() 1873 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture() 1879 shader.setGradient(*getCurrentContext(), shaderID, Vec4(0.0f), Vec4(1.0f)); in createTexture() 1880 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture() 1921 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture() 1927 shader.setGradient(*getCurrentContext(), shaderID, Vec4(0.0f), Vec4(1.0f)); in createTexture() 1928 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture() 1974 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture() 2000 shader.setGradient(*getCurrentContext(), shaderID, Vec4(0.0f), Vec4(1.0f)); in createTexture() 2001 …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/ |
D | tcuNullRenderContext.cpp | 194 Context* getCurrentContext (void) in getCurrentContext() function 201 Context* const ctx = getCurrentContext(); in glGetError() 211 Context* const ctx = getCurrentContext(); in glGetIntegerv() 315 Context* const ctx = getCurrentContext(); in glGetString() 332 Context* const ctx = getCurrentContext(); in glGetStringi() 353 Context* const ctx = getCurrentContext(); in glCreateProgram() 359 Context* const ctx = getCurrentContext(); in glCreateShader() 382 Context* const ctx = getCurrentContext(); in glGenTextures() 393 Context* const ctx = getCurrentContext(); in glGenQueries() 404 Context* const ctx = getCurrentContext(); in glGenBuffers() [all …]
|
/external/deqp/framework/opengl/ |
D | gluES3PlusWrapperContext.cpp | 141 inline Context* getCurrentContext (void) in getCurrentContext() function 148 Context* context = getCurrentContext(); in getIntegerv() 161 Context* context = getCurrentContext(); in getString() 181 Context* context = getCurrentContext(); in getStringi() 201 Context* context = getCurrentContext(); in enable() 217 Context* context = getCurrentContext(); in disable() 230 Context* context = getCurrentContext(); in bindVertexArray() 241 Context* context = getCurrentContext(); in hint() 352 Context* context = getCurrentContext(); in shaderSource() 373 Context* context = getCurrentContext(); in bindFramebuffer() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboColorbufferTests.cpp | 143 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()
|
D | es31fFboTestCase.cpp | 133 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); in readPixels() 138 getCurrentContext()->readPixels(dst, x, y, width, height); in readPixels() 364 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value); in clearColorBuffer()
|
D | es31fTextureSpecificationTests.cpp | 194 …sglr::drawQuad(*getCurrentContext(), program, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*2… in renderTex()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureSpecificationTests.cpp | 571 deUint32 shaderID = getCurrentContext()->createProgram(&m_tex2DShader); in renderTex2D() 573 m_tex2DShader.setUniforms(*getCurrentContext(), shaderID); in renderTex2D() 574 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*… in renderTex2D() 598 deUint32 shaderID = getCurrentContext()->createProgram(shaders[face]); in renderTexCube() 600 shaders[face]->setUniforms(*getCurrentContext(), shaderID); in renderTexCube() 601 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*… in renderTexCube() 1287 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture() 1293 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture() 1335 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture() 1343 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture() [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrContextWrapper.cpp | 44 Context* ContextWrapper::getCurrentContext (void) const in getCurrentContext() function in sglr::ContextWrapper
|
D | sglrContextWrapper.hpp | 42 Context* getCurrentContext (void) const;
|