/external/deqp/modules/gles31/functional/ |
es31fStencilTexturingTests.cpp | 123 static void drawTestPattern (const glu::RenderContext& renderCtx, int width, int height) 125 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() 137 const glw::Functions& gl = renderCtx.getFunctions(); 158 glu::draw(renderCtx, program.getProgram(), 1, &posBinding, glu::pr::Triangles((int)indices.size(), &indices[0])); 196 static void blitStencilToColor2D (const glu::RenderContext& renderCtx, deUint32 srcTex, int width, int height) 198 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() 240 const glw::Functions& gl = renderCtx.getFunctions(); 257 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], 261 static void blitStencilToColor2DArray (const glu::RenderContext& renderCtx, deUint32 srcTex, int width, int height, int level) 263 const glu::ShaderProgram program(renderCtx, glu::ProgramSources( [all...] |
es31fFboNoAttachmentTests.cpp | 66 bool checkFramebufferSize (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& size) 68 const glw::Functions& gl = renderCtx.getFunctions(); 86 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); 173 bool checkFramebufferRenderable (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& size) 175 const glw::Functions& gl = renderCtx.getFunctions(); 191 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); 268 const glu::RenderContext& renderCtx, 280 const glu::RenderContext& renderCtx, 284 , m_renderCtx (renderCtx) 326 const glu::RenderContext& renderCtx, [all...] |
es31fShaderHelperInvocationTests.cpp | 133 static void drawRandomPrimitives (const glu::RenderContext& renderCtx, deUint32 program, PrimitiveType primType, int numPrimitives, de::Random* rnd) 135 const glw::Functions& gl = renderCtx.getFunctions(); 167 glu::draw(renderCtx, program, (int)vertexArrays.size(), &vertexArrays[0], 174 FboHelper (const glu::RenderContext& renderCtx, int width, int height, deUint32 format, int numSamples); 190 FboHelper::FboHelper (const glu::RenderContext& renderCtx, int width, int height, deUint32 format, int numSamples) 191 : m_renderCtx (renderCtx) 193 , m_colorbuffer (renderCtx) 194 , m_framebuffer (renderCtx) 195 , m_resolveColorbuffer (renderCtx) 196 , m_resolveFramebuffer (renderCtx) [all...] |
es31fShaderImageLoadStoreTests.cpp | 811 static bool readIntegerTextureViaFBOAndVerify (const RenderContext& renderCtx, 828 glu::Framebuffer fbo (renderCtx); 832 GLU_EXPECT_NO_ERROR(renderCtx.getFunctions().getError(), "Bind FBO"); 835 GLU_EXPECT_NO_ERROR(renderCtx.getFunctions().getError(), "glMemoryBarrier"); 852 GLU_EXPECT_NO_ERROR(renderCtx.getFunctions().getError(), "Bind texture to framebuffer color attachment 0"); 857 GLU_EXPECT_NO_ERROR(renderCtx.getFunctions().getError(), "glReadPixels"); 868 static bool readFloatOrNormTextureWithLookupsAndVerify (const RenderContext& renderCtx, 883 const glu::ShaderProgram program(renderCtx, 925 const glu::Buffer outputBuffer (renderCtx); 926 UniformAccessLogger uniforms (renderCtx.getFunctions(), log, program.getProgram()) [all...] |
es31fNegativeTestShared.cpp | 48 glu::RenderContext& renderCtx, 53 : glu::CallLogWrapper (renderCtx.getFunctions(), log) 54 , m_renderCtx (renderCtx)
|
es31fTextureFormatTests.cpp | 73 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth); 74 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth); 102 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth) 104 , m_renderCtx (renderCtx) 111 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_310_ES, glu::PRECISION_HIGHP) 116 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth) 118 , m_renderCtx (renderCtx) 125 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_310_ES, glu::PRECISION_HIGHP) 246 TextureBufferFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width); 266 TextureBufferFormatCase::TextureBufferFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width [all...] |
/external/deqp/modules/gles3/performance/ |
es3pDepthTests.cpp | 102 RenderData (const ObjectData& object, const glu::RenderContext& renderCtx, TestLog& log); 112 RenderData::RenderData (const ObjectData& object, const glu::RenderContext& renderCtx, TestLog& log) 113 : m_program (renderCtx, object.shader) 114 , m_vao (renderCtx.getFunctions()) 115 , m_vbo (renderCtx.getFunctions()) 118 const glw::Functions& gl = renderCtx.getFunctions(); 508 BaseCase (TestContext& testCtx, const RenderContext& renderCtx, const char* name, const char* desc); 534 BaseCase::BaseCase (TestContext& testCtx, const RenderContext& renderCtx, const char* name, const char* desc) 536 , m_renderCtx (renderCtx) 724 RenderCountCase (TestContext& testCtx, const RenderContext& renderCtx, const char* name, const char* desc) [all...] |
/external/deqp/modules/glshared/ |
glsBufferTestUtil.hpp | 64 BufferCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description); 118 BufferWriterBase (glu::RenderContext& renderCtx, tcu::TestLog& log); 137 BufferWriter (glu::RenderContext& renderCtx, tcu::TestLog& log, WriteType writeType); 155 BufferSubDataWriter (glu::RenderContext& renderCtx, tcu::TestLog& log) : BufferWriterBase(renderCtx, log) {} 167 BufferWriteMapWriter (glu::RenderContext& renderCtx, tcu::TestLog& log) : BufferWriterBase(renderCtx, log) {} 194 BufferVerifierBase (glu::RenderContext& renderCtx, tcu::TestLog& log); 214 BufferVerifier (glu::RenderContext& renderCtx, tcu::TestLog& log, VerifyType verifyType); 234 BufferMapVerifier (glu::RenderContext& renderCtx, tcu::TestLog& log) : BufferVerifierBase(renderCtx, log) { [all...] |
glsAttributeLocationTests.hpp | 138 glu::RenderContext& renderCtx, 157 glu::RenderContext& renderCtx, 175 glu::RenderContext& renderCtx, 195 glu::RenderContext& renderCtx, 213 glu::RenderContext& renderCtx, 231 glu::RenderContext& renderCtx, 247 glu::RenderContext& renderCtx); 261 glu::RenderContext& renderCtx); 275 glu::RenderContext& renderCtx); 289 glu::RenderContext& renderCtx); [all...] |
glsAttributeLocationTests.cpp | 100 deInt32 getMaxAttributeLocations (glu::RenderContext& renderCtx) 102 const glw::Functions& gl = renderCtx.getFunctions(); 254 string createVertexShaderSource (glu::RenderContext& renderCtx, const vector<Attribute>& attributes, bool attributeAliasing) 257 const glu::GLSLVersion contextGLSLVersion = glu::getContextTypeGLSLVersion(renderCtx.getType()); 276 string createFragmentShaderSource (glu::RenderContext& renderCtx, bool attributeAliasing) 288 const glu::GLSLVersion contextGLSLVersion = glu::getContextTypeGLSLVersion(renderCtx.getType()); 412 pair<deUint32, deUint32> createAndAttachShaders (TestLog& log, glu::RenderContext& renderCtx, deUint32 program, const vector<Attribute>& attributes, bool attributeAliasing) 414 const glw::Functions& gl = renderCtx.getFunctions(); 415 const string vertexShaderSource = createVertexShaderSource(renderCtx, attributes, attributeAliasing); 416 const string fragmentShaderSource = createFragmentShaderSource(renderCtx, attributeAliasing) [all...] |
glsScissorTests.hpp | 77 glu::RenderContext& renderCtx, 85 glu::RenderContext& renderCtx, 92 glu::RenderContext& renderCtx, 98 glu::RenderContext& renderCtx,
|
glsBufferTestUtil.cpp | 174 BufferCase::BufferCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description) 176 , CallLogWrapper (renderCtx.getFunctions(), testCtx.getLog()) 177 , m_renderCtx (renderCtx) 251 BufferWriterBase::BufferWriterBase (glu::RenderContext& renderCtx, tcu::TestLog& log) 252 : CallLogWrapper (renderCtx.getFunctions(), log) 253 , m_renderCtx (renderCtx) 266 BufferWriter::BufferWriter (glu::RenderContext& renderCtx, tcu::TestLog& log, WriteType writeType) 271 case WRITE_BUFFER_SUB_DATA: m_writer = new BufferSubDataWriter (renderCtx, log); break; 272 case WRITE_BUFFER_WRITE_MAP: m_writer = new BufferWriteMapWriter (renderCtx, log); break; 337 BufferVerifierBase::BufferVerifierBase (glu::RenderContext& renderCtx, tcu::TestLog& log [all...] |
glsShaderExecUtil.cpp | 52 static bool isExtensionSupported (const glu::RenderContext& renderCtx, const std::string& extension) 54 const glw::Functions& gl = renderCtx.getFunctions(); 70 static void checkExtension (const glu::RenderContext& renderCtx, const std::string& extension) 72 if (!isExtensionSupported(renderCtx, extension)) 383 ShaderExecutor::ShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) 384 : m_renderCtx (renderCtx) 405 VertexProcessorExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::ProgramSources& sources); 445 VertexProcessorExecutor::VertexProcessorExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::ProgramSources& sources) 446 : ShaderExecutor (renderCtx, shaderSpec) 447 , m_program (renderCtx, [all...] |
glsScissorTests.cpp | 172 ScissorCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char *name, const char* desc, const Vec4& scissorArea); 184 ScissorCase::ScissorCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char *name, const char* desc, const Vec4& scissorArea) 186 , m_renderCtx (renderCtx) 284 glu::RenderContext& renderCtx, 303 glu::RenderContext& renderCtx, 310 : ScissorCase (testCtx, renderCtx, name, desc, scissorArea) 397 glu::RenderContext& renderCtx, 414 glu::RenderContext& renderCtx, 419 : ScissorCase (testCtx, renderCtx, name, desc, scissorArea) 471 FramebufferBlitCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* desc, const Vec4& scissorArea) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureCompletenessTests.cpp | 128 Tex2DCompletenessCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description); 141 Tex2DCompletenessCase::Tex2DCompletenessCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description) 144 , m_renderCtx (renderCtx) 180 TexCubeCompletenessCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description); 193 TexCubeCompletenessCase::TexCubeCompletenessCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description) 196 , m_renderCtx (renderCtx) 242 Incomplete2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, const glu::ContextInfo& ctxInfo); 254 Incomplete2DSizeCase::Incomplete2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, const glu::ContextInfo& ctxInfo) 255 : Tex2DCompletenessCase (testCtx, renderCtx, name, description) 305 Incomplete2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 format, deUint32 invalidFormat, i (…) [all...] |
es2fShaderFragDataTests.cpp | 148 const glu::RenderContext& renderCtx = m_context.getRenderContext(); 149 const glw::Functions& gl = renderCtx.getFunctions(); 150 const glu::ShaderProgram program (renderCtx, genSources(m_indexExprType)); 151 const int viewportW = de::min(renderCtx.getRenderTarget().getWidth(), 128); 152 const int viewportH = de::min(renderCtx.getRenderTarget().getHeight(), 128); 195 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], 201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); 204 glu::readPixels(renderCtx, 0, 0, result.getAccess());
|
es2fTextureWrapTests.cpp | 59 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height); 60 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames); 89 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height) 91 , m_renderCtx (renderCtx) 102 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) 106 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames) 108 , m_renderCtx (renderCtx) 120 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP)
|
es2fTextureFormatTests.cpp | 69 Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height); 91 Texture2DFormatCase::Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height) 93 , m_renderCtx (renderCtx) 99 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) 207 TextureCubeFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height); 235 TextureCubeFormatCase::TextureCubeFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height) 237 , m_renderCtx (renderCtx) 243 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) 397 Compressed2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, const std::vector<std::string>& filenames); 417 Compressed2DFormatCase::Compressed2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, const std::vect (…) [all...] |
/external/deqp/framework/opengl/ |
gluShaderProgram.cpp | 40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) 41 : m_renderCtx (renderCtx) 112 static bool getProgramLinkStatus (const RenderContext& renderCtx, deUint32 program) 114 const glw::Functions& gl = renderCtx.getFunctions(); 122 static std::string getProgramInfoLog (const RenderContext& renderCtx, deUint32 program) 124 const glw::Functions& gl = renderCtx.getFunctions(); 141 Program::Program (const RenderContext& renderCtx) 142 : m_renderCtx (renderCtx) 151 Program::Program (const RenderContext& renderCtx, deUint32 program) 152 : m_renderCtx (renderCtx) [all...] |
gluStateReset.cpp | 35 void resetStateES (const RenderContext& renderCtx) 37 const glw::Functions& gl = renderCtx.getFunctions(); 38 const ContextType type = renderCtx.getType(); 39 const de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(renderCtx)); 78 const tcu::RenderTarget& renderTarget = renderCtx.getRenderTarget(); 259 const tcu::RenderTarget& renderTarget = renderCtx.getRenderTarget(); 297 const deUint32 defaultFbo = renderCtx.getDefaultFramebuffer(); 485 void resetStateGLCore (const RenderContext& renderCtx) 487 const glw::Functions& gl = renderCtx.getFunctions(); 488 const ContextType type = renderCtx.getType() [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderFragDataTests.cpp | 148 const glu::RenderContext& renderCtx = m_context.getRenderContext(); 149 const glw::Functions& gl = renderCtx.getFunctions(); 150 const glu::ShaderProgram program (renderCtx, genSources(m_indexExprType)); 151 const int viewportW = de::min(renderCtx.getRenderTarget().getWidth(), 128); 152 const int viewportH = de::min(renderCtx.getRenderTarget().getHeight(), 128); 195 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], 201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); 204 glu::readPixels(renderCtx, 0, 0, result.getAccess()); 230 const glu::RenderContext& renderCtx = m_context.getRenderContext(); 231 const glu::ShaderProgram program (renderCtx, glu::ProgramSources( [all...] |
es3fTextureFormatTests.cpp | 68 Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height); 69 Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width, int height); 91 Texture2DFormatCase::Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height) 93 , m_renderCtx (renderCtx) 99 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP) 103 Texture2DFormatCase::Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width, int height) 105 , m_renderCtx (renderCtx) 111 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP) 224 TextureCubeFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height); 225 TextureCubeFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width, int height) [all...] |
/external/deqp/modules/gles2/ |
tes2TestCaseWrapper.cpp | 38 TestCaseWrapper::TestCaseWrapper (tcu::TestContext& testCtx, glu::RenderContext& renderCtx) 40 , m_renderCtx (renderCtx) 42 TCU_CHECK(contextSupports(renderCtx.getType(), glu::ApiType::es(2,0)));
|
/external/deqp/modules/gles3/ |
tes3TestCaseWrapper.cpp | 37 TestCaseWrapper::TestCaseWrapper (tcu::TestContext& testCtx, glu::RenderContext& renderCtx) 39 , m_renderCtx (renderCtx) 41 TCU_CHECK(contextSupports(renderCtx.getType(), glu::ApiType::es(3,0)));
|
/external/deqp/modules/gles31/ |
tes31TestCaseWrapper.cpp | 37 TestCaseWrapper::TestCaseWrapper (tcu::TestContext& testCtx, glu::RenderContext& renderCtx) 39 , m_renderCtx (renderCtx) 41 // TCU_CHECK(renderCtx.getType() == glu::CONTEXTTYPE_GL43_CORE);
|