/external/deqp/modules/gles31/functional/ |
es31fFboColorbufferTests.cpp | 127 if (!glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_cube_map_array")) 137 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_format); 140 Texture2DShader texToFboShader (DataTypes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin, fmtInfo.valueMin); 141 TextureCubeArrayShader arrayTexShader (glu::getSamplerCubeArrayType(texFmt), glu::TYPE_FLOAT_VEC4); 155 glu::TransferFormat transferFmt = glu::getTransferFormat(texFmt); 156 bool isFilterable = glu::isGLInternalColorFormatFilterable(m_format); 212 tcu::TextureLevel data (glu::mapGLTransferFormat(format, dataType), texW, texH, 1) [all...] |
es31fTextureBorderClampTests.cpp | 100 else if (glu::isCompressedFormat(format)) 107 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); 128 else if (glu::isCompressedFormat(format)) 135 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); 156 else if (glu::isCompressedFormat(format)) 158 const tcu::CompressedTexFormat compressedFmt = glu::mapGLCompressedTexFormat(format); 164 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); 215 struct TextureTraits<glu::Texture2D> 219 static de::MovePtr<glu::Texture2D> createTextureFromInternalFormat (glu::RenderContext& renderCtx, deUint32 texFormat, const tcu::IVec2& size [all...] |
es31fAdvancedBlendTests.cpp | 144 glu::ShaderProgram* m_program; 210 glu::ProgramSources getBlendProgramSrc (rr::BlendEquationAdvanced equation, glu::RenderContext& renderContext) 212 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); 234 args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); 238 return glu::ProgramSources() 239 << glu::VertexSource(tcu::StringTemplate(s_vertSrc).specialize(args)) 240 << glu::FragmentSource(tcu::StringTemplate(s_fragSrc).specialize(args)) [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...] |
es31fCopyImageTests.cpp | 178 if (glu::isCompressedFormat(format)) 179 enumName = glu::getCompressedTextureFormatStr(format).toString().substr(14); // Strip GL_COMPRESSED_ 181 enumName = glu::getUncompressedTextureFormatStr(format).toString().substr(3); // Strip GL_ 188 if (glu::isCompressedFormat(format)) 191 return tcu::getTextureChannelClass(glu::mapGLInternalFormat(format).type) == tcu::TEXTURECHANNELCLASS_FLOATING_POINT; 196 if (glu::isCompressedFormat(format)) 199 return tcu::getTextureChannelClass(glu::mapGLInternalFormat(format).type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER; 204 if (glu::isCompressedFormat(format)) 207 return tcu::getTextureChannelClass(glu::mapGLInternalFormat(format).type) == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER; 212 if (glu::isCompressedFormat(format) [all...] |
es31fDefaultVertexArrayObjectTests.cpp | 54 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
|
/external/deqp/modules/glshared/ |
glsLongStressCase.cpp | 233 default: return glu::mapGLInternalFormat(internalFormat) == texFormat; 285 DebugInfoRenderer (const glu::RenderContext& ctx); 297 const glu::RenderContext& m_ctx; 298 const glu::ShaderProgram* m_prog; 334 DebugInfoRenderer::DebugInfoRenderer (const glu::RenderContext& ctx) 339 m_prog = new glu::ShaderProgram(ctx, glu::makeVtxFragSources( 501 : glu::mapGLInternalFormat(internalFormat).getPixelSize(); 516 const glu::TransferFormat transfer = glu::getTransferFormat(format) [all...] |
glsShaderLibraryCase.cpp | 59 using namespace glu; 60 using namespace glu::sl; 127 throw tcu::NotSupportedError("Test requires " + de::toString(glu::getGettableStateStr(pname)) + " (" + de::toString(supportedValue) + ") >= " + de::toString(requiredValue)); 143 res << glu::getGLSLVersionDeclaration(spec.targetVersion) << "\n"; 222 static inline bool supportsFragmentHighp (glu::GLSLVersion version) 224 return version != glu::GLSL_VERSION_100_ES; 235 shader << glu::getGLSLVersionDeclaration(spec.targetVersion) << "\n"; 567 glu::ShaderType shaderType, 580 dst << glu::ShaderSource(shaderType, sourceWithExts); 585 static void specializeProgramSources (glu::ProgramSources& dst [all...] |
glsLongStressCase.hpp | 65 glu::DataType type; 77 type = glu::TYPE_FLOAT; 85 type = glu::getDataTypeFloatVec(ValSize); 93 type = glu::getDataTypeMatrix(ValCols, ValRows); 100 type = glu::TYPE_INT; 108 type = glu::getDataTypeVector(glu::TYPE_INT, ValSize); 273 const glu::RenderContext& renderCtx, 298 const glu::RenderContext& m_renderCtx;
|
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/modules/gles2/functional/ |
es2fShaderBuiltinVarTests.cpp | 288 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( 318 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &positions[0]); 323 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding, 324 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(indices), &indices[0])); 326 glu::readPixels(m_context.getRenderContext(), 0, 0, testImg.getAccess()); 383 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( 411 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &positions[0]) [all...] |
es2fApiCase.hpp | 38 class ApiCase : public TestCase, protected glu::CallLogWrapper
|
/external/deqp/modules/gles3/functional/ |
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...] |
es3fTextureFilteringTests.cpp | 66 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); 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, const std::vector<std::string>& filenames); 78 glu::RenderContext& m_renderCtx; 79 const glu::ContextInfo& m_renderCtxInfo; 94 const glu::Texture2D* texture; 103 FilterCase (const glu::Texture2D* tex_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_) 111 std::vector<glu::Texture2D*> m_textures; 119 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, de (…) [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/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/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/performance/ |
es2pTextureCases.hpp | 66 std::vector<glu::Texture2D*> m_textures;
|