/external/deqp/modules/gles3/functional/ |
es3fTextureFilteringTests.cpp | 49 using namespace glu::TextureTestUtil; 67 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height); 68 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, const std::vector<std::string>& filenames); 79 glu::RenderContext& m_renderCtx; 80 const glu::ContextInfo& m_renderCtxInfo; 95 const glu::Texture2D* texture; 104 FilterCase (const glu::Texture2D* tex_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_) 112 std::vector<glu::Texture2D*> m_textures [all...] |
es3fNegativeShaderApiTests.cpp | 281 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 323 glu::ShaderProgram program1(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 324 glu::ShaderProgram program2(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 383 glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 384 glu::ShaderProgram programInvalid (m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, "")) [all...] |
es3fFboColorbufferTests.cpp | 118 tcu::TextureFormat fboFormat = glu::mapGLInternalFormat(m_format); 225 tcu::TextureFormat texFmt0 = glu::mapGLInternalFormat(m_tex0Fmt); 226 tcu::TextureFormat texFmt1 = glu::mapGLInternalFormat(m_tex1Fmt); 230 Texture2DShader texToFbo0Shader (DataTypes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt0), fmtInfo0.valueMax-fmtInfo0.valueMin, fmtInfo0.valueMin); 231 Texture2DShader texToFbo1Shader (DataTypes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt1), fmtInfo1.valueMax-fmtInfo1.valueMin, fmtInfo1.valueMin); 232 Texture2DShader multiTexShader (DataTypes() << glu::getSampler2DType(texFmt0) << glu::getSampler2DType(texFmt1), glu::TYPE_FLOAT_VEC4); 251 glu::TransferFormat transferFmt = glu::getTransferFormat(ndx ? texFmt1 : texFmt0) [all...] |
es3fApiCase.hpp | 38 class ApiCase : public TestCase, protected glu::CallLogWrapper
|
es3fDefaultVertexArrayObjectTests.cpp | 52 glu::CallLogWrapper gl(m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
|
/external/deqp/modules/gles31/functional/ |
es31fCopyImageTests.cpp | 63 using namespace glu::TextureTestUtil; 187 if (glu::isCompressedFormat(format)) 188 enumName = glu::getCompressedTextureFormatStr(format).toString().substr(14); // Strip GL_COMPRESSED_ 190 enumName = glu::getUncompressedTextureFormatStr(format).toString().substr(3); // Strip GL_ 197 if (glu::isCompressedFormat(format)) 200 return tcu::getTextureChannelClass(glu::mapGLInternalFormat(format).type) == tcu::TEXTURECHANNELCLASS_FLOATING_POINT; 205 if (glu::isCompressedFormat(format)) 208 return tcu::getTextureChannelClass(glu::mapGLInternalFormat(format).type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER; 213 if (glu::isCompressedFormat(format)) 216 return tcu::getTextureChannelClass(glu::mapGLInternalFormat(format).type) == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER [all...] |
es31fSampleShadingTests.cpp | 72 if (!contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 78 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 123 if (!contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 129 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 190 if (!contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 196 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 278 if (!contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 408 const glu::GLSLVersion version = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) 409 ? glu::GLSL_VERSION_320_E [all...] |
es31fDefaultVertexArrayObjectTests.cpp | 54 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
|
es31fFboNoAttachmentTests.cpp | 67 bool checkFramebufferSize (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& size) 87 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); 174 bool checkFramebufferRenderable (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& size) 192 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); 269 const glu::RenderContext& renderCtx, 276 const glu::RenderContext& m_renderCtx; 281 const glu::RenderContext& renderCtx, 327 const glu::RenderContext& renderCtx [all...] |
es31fTextureLevelStateQueryTests.cpp | 100 static bool isCoreTextureTarget (glw::GLenum target, const glu::ContextType& contextType) 114 return glu::contextSupports(contextType, glu::ApiType::es(3, 2)); 172 static std::string getIntegerName (int v) { return de::toString(glu::getTextureFormatStr(v)); } 173 static std::string getFloatName (float v) { return de::toString(glu::getTextureFormatStr((int)v)); } 177 static bool verifyTextureLevelParameterEqualWithPrinter (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type) 182 gl.getLog() << tcu::TestLog::Message << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting " << Printer::getIntegerName(refValue) << tcu::TestLog::EndMessage; 193 static bool verifyTextureLevelParameterEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type) 198 static bool verifyTextureLevelParameterInternalFormatEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type) 203 static bool verifyTextureLevelParameterGreaterOrEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType typ (…) [all...] |
/external/deqp/modules/glshared/ |
glsRandomShaderCase.cpp | 92 void TextureManager::bindTexture (int unit, const glu::Texture2D* tex2D) 97 void TextureManager::bindTexture (int unit, const glu::TextureCube* texCube) 102 inline vector<pair<int, const glu::Texture2D*> > TextureManager::getBindings2D (void) const 104 vector<pair<int, const glu::Texture2D*> > bindings; 105 for (map<int, const glu::Texture2D*>::const_iterator i = m_tex2D.begin(); i != m_tex2D.end(); i++) 110 inline vector<pair<int, const glu::TextureCube*> > TextureManager::getBindingsCube (void) const 112 vector<pair<int, const glu::TextureCube*> > bindings; 113 for (map<int, const glu::TextureCube*>::const_iterator i = m_texCube.begin(); i != m_texCube.end(); i++) 118 RandomShaderCase::RandomShaderCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, const rsg::ProgramParameters& params) 267 throw tcu::TestError("Limit query failed: " + de::toString(glu::getErrorStr(error))) [all...] |
glsAttributeLocationTests.cpp | 100 deInt32 getMaxAttributeLocations (glu::RenderContext& renderCtx) 254 string createVertexShaderSource (glu::RenderContext& renderCtx, const vector<Attribute>& attributes, bool attributeAliasing) 257 const glu::GLSLVersion contextGLSLVersion = glu::getContextTypeGLSLVersion(renderCtx.getType()); 258 const glu::GLSLVersion glslVersion = (attributeAliasing && glu::glslVersionIsES(contextGLSLVersion) ? glu::GLSL_VERSION_100_ES : contextGLSLVersion); 259 const bool usesInOutQualifiers = glu::glslVersionUsesInOutQualifiers(glslVersion); 264 parameters["VERSION"] = glu::getGLSLVersionDeclaration(glslVersion); 276 string createFragmentShaderSource (glu::RenderContext& renderCtx, bool attributeAliasing [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrFormatTests.cpp | 231 glu::ShaderType shaderType; 238 glu::ShaderType shaderType_, 253 , shaderType (glu::SHADERTYPE_LAST) 263 spec.inputs.push_back(Symbol("texCoord", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); 264 spec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP))); 484 glu::ShaderType value [all...] |
/external/deqp/modules/egl/ |
teglRobustnessTests.cpp | 383 glu::ApiType paramsToApiType (const RobustnessTestCase::Params& params) 393 return glu::ApiType::es(3, minorVersion); 441 void checkRequiredGLSupport (const glw::Functions& gl, glu::ApiType requiredApi) 443 if (!glu::hasExtension(gl, requiredApi, "GL_KHR_robustness") && !glu::hasExtension(gl, requiredApi, "GL_EXT_robustness")) 467 checkRequiredGLSupport(gl, glu::ApiType::es(3, minorVersion)); 480 void initGLFunctions (glw::Functions* gl, const glu::ApiType apiType); 540 void RenderingContext::initGLFunctions (glw::Functions *gl, const glu::ApiType apiType) 555 const char* const robustnessExt = glu::hasExtension(*gl, apiType, "GL_KHR_robustness") ? "GL_KHR_robustness" : "GL_EXT_robustness"; 696 glu::ProgramSources genComputeSource (void) [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aTextureMipmapTests.cpp | 58 using namespace glu; 60 using namespace glu::TextureTestUtil; 79 glu::RenderContext& renderCtx, 80 const glu::ContextInfo& renderCtxInfo, 101 glu::RenderContext& m_renderCtx; 102 const glu::ContextInfo& m_renderCtxInfo; 113 glu::Texture2D* m_texture; 118 glu::RenderContext& renderCtx, 119 const glu::ContextInfo& renderCtxInfo, 142 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aTextureMipmapTests.cpp | 55 using namespace glu::TextureTestUtil; 75 glu::RenderContext& renderCtx, 76 const glu::ContextInfo& renderCtxInfo, 97 glu::RenderContext& m_renderCtx; 98 const glu::ContextInfo& m_renderCtxInfo; 109 glu::Texture2D* m_texture; 114 glu::RenderContext& renderCtx, 115 const glu::ContextInfo& renderCtxInfo, 138 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktShaderLibrary.cpp | 63 using glu::ShaderType; 64 using glu::ProgramSources; 65 using glu::DataType; 67 using glu::sl::ShaderCaseSpecification; 68 using glu::sl::ProgramSpecializationParams; 69 using glu::sl::RequiredExtension; 70 using glu::sl::Value; 71 using glu::sl::ValueBlock; 96 str << glu::getShaderTypeName(shaderType); 113 out << "\t" << glu::declare(val->type, val->name, 1) << ";\n" [all...] |
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryEmitGeometryShaderTests.cpp | 131 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); 135 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(shaderGeometry(false)); 137 sourceCollections.glslSources.add("geometry_pointsize") << glu::GeometrySource(shaderGeometry(true)); 149 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str());
|
/external/deqp/framework/egl/ |
egluGLFunctionLoader.hpp | 66 const tcu::FunctionLibrary* getLibrary (glu::ApiType apiType);
|
/external/deqp/framework/opengl/ |
gluFboRenderContext.hpp | 35 namespace glu namespace 73 } // glu
|
gluPixelTransfer.hpp | 37 namespace glu namespace 48 } // glu
|
gluShaderLibrary.hpp | 34 namespace glu namespace 126 glu::ProgramSources sources; 140 glu::GLSLVersion targetVersion; 152 , targetVersion (glu::GLSL_VERSION_LAST) 196 } // glu
|
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceUtils.hpp | 39 rr::VertexAttribType mapGLFloatVertexAttributeType (deUint32 type, bool normalizedInteger, int size, glu::ContextType ctxType);
|
/external/deqp/modules/gles2/functional/ |
es2fApiCase.hpp | 38 class ApiCase : public TestCase, protected glu::CallLogWrapper
|
/external/deqp/modules/gles2/performance/ |
es2pTextureCases.hpp | 66 std::vector<glu::Texture2D*> m_textures;
|