/external/deqp/framework/platform/android/ |
tcuAndroidPlatformCapabilityQueryJNI.cpp | 102 glu::RenderConfig parseRenderConfig (const std::string& argsStr) 114 const glu::ContextType testContextType (glu::ApiType::es(parsedCommandLine.getGLMajorVersion(), parsedCommandLine.getGLMinorVersion())); 115 glu::RenderConfig renderConfig (testContextType); 117 glu::parseRenderConfig(&renderConfig, parsedCommandLine); 125 const glu::RenderConfig renderConfig = parseRenderConfig(cmdLineStr);
|
/external/deqp/modules/gles2/performance/ |
es2pBlendTests.cpp | 81 log << TestLog::Message << "modeRGB: " << glu::getBlendEquationStr(m_modeRGB) << TestLog::EndMessage; 82 log << TestLog::Message << "modeAlpha: " << glu::getBlendEquationStr(m_modeAlpha) << TestLog::EndMessage; 83 log << TestLog::Message << "srcRGB: " << glu::getBlendFactorStr(m_srcRGB) << TestLog::EndMessage; 84 log << TestLog::Message << "dstRGB: " << glu::getBlendFactorStr(m_dstRGB) << TestLog::EndMessage; 85 log << TestLog::Message << "srcAlpha: " << glu::getBlendFactorStr(m_srcAlpha) << TestLog::EndMessage; 86 log << TestLog::Message << "dstAlpha: " << glu::getBlendFactorStr(m_dstAlpha) << TestLog::EndMessage;
|
/external/deqp/modules/gles31/functional/ |
es31fShaderMultisampleInterpolationStateQueryTests.cpp | 81 const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 89 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 129 const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 137 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
|
es31fTessellationGeometryInteractionTests.cpp | 57 static std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType) 59 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); 62 shaderArgs["VERSION_DECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); 175 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 259 glu::ProgramSources sources; 261 sources << glu::VertexSource(getVertexSource()) 262 << glu::FragmentSource(getFragmentSource() [all...] |
es31fMultisampleShaderRenderCase.hpp | 36 namespace glu namespace 39 } // glu 116 glu::ShaderProgram* m_program; 119 glu::ShaderProgram* m_textureSamplerProgram;
|
es31fFboTestCase.cpp | 62 glu::RenderContext& renderCtx = TestCase::m_context.getRenderContext(); 92 throw glu::Error(err, glu::getErrorStr(err).toString().c_str(), DE_NULL, __FILE__, __LINE__); 152 throw glu::Error((int)err, (string("Got ") + glu::getErrorStr(err).toString()).c_str(), DE_NULL, __FILE__, __LINE__); 155 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) 157 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); 220 static std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) 222 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) [all...] |
/external/deqp/modules/glshared/ |
glsSamplerObjectTest.hpp | 63 TextureSamplerTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const TestSpec& spec); 88 glu::RenderContext& m_renderCtx; 89 glu::ShaderProgram* m_program; 122 MultiTextureSamplerTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const TestSpec& spec); 147 glu::RenderContext& m_renderCtx; 148 glu::ShaderProgram* m_program;
|
glsTextureStateQueryTests.hpp | 77 tcu::TestCase* createIsTextureTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, glw::GLenum target); 78 tcu::TestCase* createTexParamTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, StateQueryUtil::QueryType queryType, glw::GLenum target, TesterType tester); 79 tcu::TestCase* createSamplerParamTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, StateQueryUtil::QueryType queryType, TesterType tester);
|
glsScissorTests.cpp | 127 glu::ProgramSources genShaders(glu::GLSLVersion version) 146 case glu::GLSL_VERSION_100_ES: 153 case glu::GLSL_VERSION_300_ES: 154 case glu::GLSL_VERSION_310_ES: // Assumed to support 3.0 165 return glu::makeVtxFragSources(tcu::StringTemplate(vtxSource).specialize(params), tcu::StringTemplate(frgSource).specialize(params)); 172 ScissorCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char *name, const char* desc, const Vec4& scissorArea); 180 glu::RenderContext& m_renderCtx; 184 ScissorCase::ScissorCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char *name, const char* desc, const Vec4& scissorArea) 202 const glu::ShaderProgram shader (m_renderCtx, genShaders(glu::getContextTypeGLSLVersion(m_renderCtx.getTyp (…) [all...] |
glsTextureStateQueryTests.cpp | 191 void check (const glu::ContextInfo&) const; 211 void RequiredExtensions::check (const glu::ContextInfo& ctxInfo) const 550 static bool isCoreTextureTarget (const glu::ContextType& contextType, glw::GLenum target) 552 if (contextSupports(contextType, glu::ApiType::es(3,2))) 554 else if (contextSupports(contextType, glu::ApiType::es(3,1))) 556 else if (contextSupports(contextType, glu::ApiType::es(3,0))) 565 static bool isCoreTextureParam (const glu::ContextType& contextType, glw::GLenum pname) 567 if (contextSupports(contextType, glu::ApiType::es(3,2))) 569 else if (contextSupports(contextType, glu::ApiType::es(3,1))) 571 else if (contextSupports(contextType, glu::ApiType::es(3,0)) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fNegativeShaderApiTests.cpp | 311 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 341 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 372 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 426 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 498 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)) [all...] |
es2fApiCase.cpp | 70 m_testCtx.getLog() << tcu::TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected) << tcu::TestLog::EndMessage; 81 m_log << tcu::TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << tcu::TestLog::EndMessage;
|
es2fLifetimeTests.cpp | 39 using glu::RenderContext;
|
es2fTextureSizeTests.cpp | 47 using namespace glu; 49 using namespace glu::TextureTestUtil; 54 Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 65 glu::RenderContext& m_renderCtx; 73 glu::Texture2D* m_texture; 77 Texture2DSizeCase::Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) 86 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) 152 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); 169 TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 da (…) [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrContext.cpp | 60 glu::TransferFormat transferFmt = glu::getTransferFormat(glu::mapGLInternalFormat(internalFormat));
|
/external/deqp/framework/platform/win32/ |
tcuWGL.hpp | 33 namespace glu namespace 190 Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat); 210 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config);
|
tcuWGL.cpp | 353 Context::Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat) 366 case glu::PROFILE_CORE: 370 case glu::PROFILE_ES: 374 case glu::PROFILE_COMPATIBILITY: 382 if ((ctxType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) 385 if ((ctxType.getFlags() & glu::CONTEXT_DEBUG) != 0) 388 if ((ctxType.getFlags() & glu::CONTEXT_ROBUST) != 0) 454 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config) 469 if (config.redBits != glu::RenderConfig::DONT_CARE && 473 if (config.greenBits != glu::RenderConfig::DONT_CARE & [all...] |
/external/deqp/modules/gles3/functional/ |
es3fApiCase.cpp | 72 m_log << TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected) << TestLog::EndMessage; 83 m_log << TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << TestLog::EndMessage;
|
es3fTextureSizeTests.cpp | 47 using namespace glu; 49 using namespace glu::TextureTestUtil; 55 Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 66 glu::RenderContext& m_renderCtx; 74 glu::Texture2D* m_texture; 78 Texture2DSizeCase::Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) 87 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) 153 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); 170 TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 da (…) [all...] |
es3fFboDepthbufferTests.cpp | 72 GradientShader gradShader (glu::TYPE_FLOAT_VEC4); 73 Texture2DShader texShader (DataTypes() << glu::TYPE_SAMPLER_2D, glu::TYPE_FLOAT_VEC4); 116 tcu::TextureLevel data (glu::mapGLTransferFormat(format, dataType), texW, texH, 1); 132 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f)); 164 glu::TransferFormat transferFmt = glu::getTransferFormat(glu::mapGLInternalFormat(m_format)); 166 DepthGradientShader depthGradShader (glu::TYPE_FLOAT_VEC4); 218 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f)) [all...] |
es3fFboTestCase.cpp | 62 glu::RenderContext& renderCtx = TestCase::m_context.getRenderContext(); 90 throw glu::Error(err, glu::getErrorStr(err).toString().c_str(), DE_NULL, __FILE__, __LINE__); 148 throw glu::Error((int)err, (string("Got ") + glu::getErrorStr(err).toString()).c_str(), DE_NULL, __FILE__, __LINE__); 151 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) 207 return glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2));; 214 static std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) 216 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) [all...] |
/external/deqp/framework/opengl/ |
gluES3PlusWrapperContext.hpp | 35 namespace glu namespace 71 } // glu
|
/external/deqp/modules/gles3/performance/ |
es3pTextureCases.hpp | 71 std::vector<glu::Texture2D*> m_textures;
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationGeometryPointSizeTests.cpp | 168 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 179 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); 185 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 193 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); 201 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 221 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); 227 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkGlslToSpirV.cpp | 53 EShLanguage getGlslangStage (glu::ShaderType type) 64 return de::getSizedArrayElement<glu::SHADERTYPE_LAST>(stageMap, type); 198 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType) 207 std::string getShaderStageSource (const GlslSource& program, glu::ShaderType shaderType) 241 bool compileGlslToSpirV (const GlslSource& program, std::vector<deUint32>* dst, glu::ShaderProgramInfo* buildInfo) 256 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) 260 const std::string& srcText = getShaderStageSource(program, (glu::ShaderType)shaderType); 263 const EShLanguage shaderStage = getGlslangStage(glu::ShaderType(shaderType)); 273 glu::ShaderInfo shaderBuildInfo; 275 shaderBuildInfo.type = (glu::ShaderType)shaderType [all...] |