/external/deqp/modules/glshared/ |
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); 134 glu::TextureTestUtil::TextureType textureType; 149 TextureSpec (const glu::TextureTestUtil::TextureType texType, 273 const glu::RenderContext& renderCtx [all...] |
glsLongStressCase.cpp | 78 using glu::TextureTestUtil::TextureType; 79 using glu::TextureTestUtil::TEXTURETYPE_2D; 80 using glu::TextureTestUtil::TEXTURETYPE_CUBE; 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 [all...] |
glsInteractionTestUtil.hpp | 121 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight); 123 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int targetW, int targetH, std::vector<RenderCommand>& dst);
|
glsUniformBlockCase.hpp | 30 namespace glu namespace 67 // \todo [2012-07-25 pyry] Use glu::VarType. 76 VarType (glu::DataType basicType, deUint32 flags); 86 glu::DataType getBasicType (void) const { return m_data.basicType; } 109 glu::DataType basicType; 246 UniformBlockCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, glu::GLSLVersion glslVersion, BufferMode bufferMode); 261 glu::RenderContext& m_renderCtx; 262 glu::GLSLVersion m_glslVersion;
|
glsDrawTest.hpp | 209 bool valid (glu::ApiType apiType) const; 218 glu::ApiType apiType; //!< needed in spec validation 245 DrawTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const DrawTestSpec& spec, const char* name, const char* desc); 246 DrawTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* desc); 260 glu::RenderContext& m_renderCtx;
|
glsBufferTestUtil.cpp | 175 BufferCase::BufferCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description) 228 throw tcu::TestError(string("Got ") + glu::getErrorStr(err).toString()); 252 BufferWriterBase::BufferWriterBase (glu::RenderContext& renderCtx, tcu::TestLog& log) 267 BufferWriter::BufferWriter (glu::RenderContext& renderCtx, tcu::TestLog& log, WriteType writeType) 338 BufferVerifierBase::BufferVerifierBase (glu::RenderContext& renderCtx, tcu::TestLog& log) 354 BufferVerifier::BufferVerifier (glu::RenderContext& renderCtx, tcu::TestLog& log, VerifyType verifyType) 417 VertexArrayVerifier::VertexArrayVerifier (glu::RenderContext& renderCtx, tcu::TestLog& log) 424 const glu::ContextType ctxType = renderCtx.getType(); 425 const glu::GLSLVersion glslVersion = glu::isContextTypeES(ctxType) ? glu::GLSL_VERSION_300_ES : glu::GLSL_VERSION_330 [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...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeShaderBuiltinVarTests.cpp | 127 const glu::DataType varType, 140 const glu::DataType m_varType; 146 ComputeBuiltinVarCase (tcu::TestContext& context, const char* name, const char* varName, glu::DataType varType); 158 string genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localSize) const; 165 const glu::DataType m_varType; 172 ComputeBuiltinVarCase::ComputeBuiltinVarCase (tcu::TestContext& context, const char* name, const char* varName, glu::DataType varType) 192 programCollection.glslSources.add(name.str()) << glu::ComputeSource(genBuiltinVarSource(m_varName, m_varType, subCase.localSize()).c_str()); 196 string ComputeBuiltinVarCase::genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localSize) const 208 << " " << glu::getDataTypeName(varType) << " result[];\n" 224 : ComputeBuiltinVarCase(context, "num_work_groups", "gl_NumWorkGroups", glu::TYPE_UINT_VEC3 [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawTestCaseUtil.hpp | 60 typedef std::map<glu::ShaderType, const char*> ShaderMap; 88 glu::ShaderSource(i->first, ShaderSourceProvider::getSource(m_testCtx.getArchive(), i->second));
|
/external/deqp/framework/opengl/ |
gluDefs.hpp | 29 #define GLU_EXPECT_NO_ERROR(ERR, MSG) glu::checkError((ERR), MSG, __FILE__, __LINE__) 43 namespace glu namespace 72 } // glu
|
/external/deqp/modules/egl/ |
teglTestCase.hpp | 71 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const; 72 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const char* const* extensions) const;
|
/external/deqp/modules/gles2/performance/ |
es2pTextureCountTests.cpp | 78 string description = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType);
|
es2pTextureFormatTests.cpp | 77 string descriptionBase = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType);
|
/external/deqp/modules/gles31/functional/ |
es31fMultisampleShaderRenderCase.cpp | 101 const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 103 args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); 212 m_textureSamplerProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() 213 << glu::VertexSource(tcu::StringTemplate(s_vertexSource).specialize(args)) 214 << glu::FragmentSource(genMSSamplerSource(queriedSampleCount))); 295 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource(m_numTargetSamples)) << glu::FragmentSource (…) [all...] |
es31fSeparateShaderTests.cpp | 80 using glu::CallLogWrapper; 81 using glu::DataType; 82 using glu::VariableDeclaration; 83 using glu::Precision; 84 using glu::Program; 85 using glu::ProgramPipeline; 86 using glu::ProgramSources; 87 using glu::RenderContext; 88 using glu::ShaderProgram; 89 using glu::ShaderType [all...] |
es31fShaderImageLoadStoreTests.cpp | 56 using glu::RenderContext; 81 using namespace glu::TextureTestUtil; 354 static inline void checkTextureTypeExtensions (const glu::ContextInfo& contextInfo, TextureType type, const RenderContext& renderContext) 356 if (type == TEXTURETYPE_BUFFER && !contextInfo.isExtensionSupported(s_texBufExtString) && !glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2))) 362 if (!glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) && (type == TEXTURETYPE_BUFFER)) 372 if (!glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2))) 696 static void setTextureStorage (glu::CallLogWrapper& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, de (…) [all...] |
es31fVertexAttributeBindingStateQueryTests.cpp | 89 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 90 glu::VertexArray vao (m_context.getRenderContext()); 110 glu::VertexArray otherVao (m_context.getRenderContext()); 164 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 165 glu::VertexArray vao (m_context.getRenderContext()); 185 glu::VertexArray otherVao (m_context.getRenderContext()); 266 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 267 glu::VertexArray vao (m_context.getRenderContext()); 290 glu::VertexArray otherVao (m_context.getRenderContext()); 343 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()) [all...] |
es31fGeometryShaderTests.cpp | 118 static std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType) 120 const bool isES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); 122 args["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); 200 VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, rr::GeometryShaderOutputType outputType); 208 std::string genGeometrySource (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, rr::GeometryShaderOutputType outputType) const; 211 VertexExpanderShader::VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, rr::GeometryShaderOutputType outputType) 282 std::string VertexExpanderShader::genGeometrySource (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, rr::GeometryShaderOutputType outputType) const 299 VertexEmitterShader (const glu::ContextType& contextType, int emitCountA, int endCountA, int emitCountB, int endCountB, rr::Geome (…) [all...] |
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...] |
es31fShaderFramebufferFetchTests.cpp | 73 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) 75 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); 203 static std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) 205 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); 271 virtual glu::ProgramSources genShaderSources (void); 283 glu::ShaderProgram* m_program; 288 glu::TransferFormat m_transferFmt; 305 , m_texFmt (glu::mapGLInternalFormat(m_format) [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...] |
/external/deqp/modules/gles2/ |
tes2CapabilityTests.cpp | 58 m_testCtx.getLog() << TestLog::Message << glu::getParamQueryStr(m_param) << " = " << value << TestLog::EndMessage; 105 ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName); 110 const glu::ContextInfo& m_ctxInfo; 114 ExtensionCase::ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName) 142 const glu::ContextInfo& ctxInfo;
|
/external/deqp/modules/gles3/functional/ |
es3fLifetimeTests.cpp | 56 using glu::CallLogWrapper; 57 using glu::RenderContext; 58 using glu::ProgramSources; 59 using glu::VertexArray; 60 using glu::Buffer; 68 class ScaleProgram : public glu::ShaderProgram 86 : glu::ShaderProgram (ctx.getRenderContext(), getSources()) 117 using namespace glu; 470 ScopedTransformFeedbackFeedback (glu::CallLogWrapper& gl, GLenum type); 474 glu::CallLogWrapper& m_gl [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...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationMiscDrawTests.cpp | 342 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 352 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); 360 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 383 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); 389 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 399 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); 412 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n [all...] |