/external/deqp/modules/glshared/ |
glsTextureTestUtil.hpp | 129 ProgramLibrary (const glu::RenderContext& context, tcu::TestLog& log, glu::GLSLVersion glslVersion, glu::Precision texCoordPrecision); 132 glu::ShaderProgram* getProgram (Program program); 139 const glu::RenderContext& m_context; 141 glu::GLSLVersion m_glslVersion; 142 glu::Precision m_texCoordPrecision; 143 std::map<Program, glu::ShaderProgram*> m_programs; 149 TextureRenderer (const glu::RenderContext& context, tcu::TestLog& log, glu::GLSLVersion glslVersion, glu::Precision texCoordPrecision) [all...] |
glsRandomShaderCase.hpp | 67 void bindTexture (int unit, const glu::Texture2D* tex2D); 68 void bindTexture (int unit, const glu::TextureCube* texCube); 70 std::vector<std::pair<int, const glu::Texture2D*> > getBindings2D (void) const; 71 std::vector<std::pair<int, const glu::TextureCube*> > getBindingsCube (void) const; 74 std::map<int, const glu::Texture2D*> m_tex2D; 75 std::map<int, const glu::TextureCube*> m_texCube; 81 RandomShaderCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, const rsg::ProgramParameters& params); 93 glu::RenderContext& m_renderCtx; 96 const glu::Texture2D* getTex2D (void); 97 const glu::TextureCube* getTexCube (void) [all...] |
glsShaderExecUtil.cpp | 53 static bool isExtensionSupported (const glu::RenderContext& renderCtx, const std::string& extension) 71 static void checkExtension (const glu::RenderContext& renderCtx, const std::string& extension) 77 static void checkLimit (const glu::RenderContext& renderCtx, deUint32 pname, int required) 87 throw tcu::TestError("Failed to query " + de::toString(glu::getGettableStateStr(pname)) + " - got " + de::toString(glu::getErrorStr(error))); 89 throw tcu::NotSupportedError("Test requires " + de::toString(glu::getGettableStateStr(pname)) + " >= " + de::toString(required) + ", got " + de::toString(implementationLimit)); 96 const bool usesInout = glu::glslVersionUsesInOutQualifiers(shaderSpec.version); 103 src << glu::getGLSLVersionDeclaration(shaderSpec.version) << "\n"; 111 src << in << " " << glu::declare(input->varType, inputPrefix + input->name) << ";\n"; 117 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()) [all...] |
glsShaderExecUtil.hpp | 35 namespace glu namespace 51 glu::VarType varType; //!< Symbol type. 54 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {} 60 glu::GLSLVersion version; //!< Shader version. 66 ShaderSpec (void) : version(glu::GLSL_VERSION_300_ES) {} 91 ShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec); 93 const glu::RenderContext& m_renderCtx; 102 ShaderExecutor* createExecutor (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, const ShaderSpec& shaderSpec);
|
glsShaderLibrary.cpp | 35 class CaseFactory : public glu::sl::ShaderCaseFactory 38 CaseFactory (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& contextInfo) 50 tcu::TestCase* createCase (const std::string& name, const std::string& description, const glu::sl::ShaderCaseSpecification& spec) 57 glu::RenderContext& m_renderCtx; 58 const glu::ContextInfo& m_contextInfo; 63 ShaderLibrary::ShaderLibrary (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& contextInfo) 78 return glu::sl::parseFile(m_testCtx.getArchive(), fileName, &caseFactory);
|
/external/deqp/modules/gles31/functional/ |
es31fProgramInterfaceDefinition.cpp | 45 static const glu::ShaderType s_shaderStageOrder[] = 47 glu::SHADERTYPE_COMPUTE, 49 glu::SHADERTYPE_VERTEX, 50 glu::SHADERTYPE_TESSELLATION_CONTROL, 51 glu::SHADERTYPE_TESSELLATION_EVALUATION, 52 glu::SHADERTYPE_GEOMETRY, 53 glu::SHADERTYPE_FRAGMENT 57 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_shaderStageOrder) == glu::SHADERTYPE_LAST); 59 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu::DataType) [all...] |
es31fNegativeShaderFramebufferFetchTests.cpp | 77 void verifyProgramError (NegativeTestContext& ctx, const glu::ShaderProgram& program, ProgramError error, glu::ShaderType shaderType) 122 const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 124 args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); 135 glu::ShaderProgram program(ctx.getRenderContext(), glu::ProgramSources() 136 << glu::VertexSource(tcu::StringTemplate(vertexShaderSource).specialize(args)) 137 << glu::FragmentSource(tcu::StringTemplate(fragShaderSource).specialize(args))) [all...] |
es31fProgramInterfaceDefinition.hpp | 59 std::vector<glu::VariableDeclaration> variables; 60 std::vector<glu::InterfaceBlock> interfaceBlocks; 66 glu::ShaderType getType (void) const { return m_shaderType; } 67 glu::GLSLVersion getVersion (void) const { return m_version; } 74 Shader (glu::ShaderType type, glu::GLSLVersion version); 80 const glu::ShaderType m_shaderType; 81 const glu::GLSLVersion m_version; 93 Shader* addShader (glu::ShaderType type, glu::GLSLVersion version) [all...] |
es31fNegativeComputeTests.cpp | 86 void verifyLinkError (NegativeTestContext& ctx, const glu::ShaderProgram& program) 103 void verifyCompileError (NegativeTestContext& ctx, const glu::ShaderProgram& program, glu::ShaderType shaderType) 122 const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 124 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) 125 : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); 140 string genBuiltInSource (glu::ShaderType shaderType) 147 case glu::SHADERTYPE_VERTEX: 148 case glu::SHADERTYPE_FRAGMENT [all...] |
es31fProgramUniformTests.cpp | 64 using glu::ShaderProgram; 65 using glu::StructType; 69 typedef bool (* dataTypePredicate)(glu::DataType); 78 static const glu::DataType s_testDataTypes[] = 80 glu::TYPE_FLOAT, 81 glu::TYPE_FLOAT_VEC2, 82 glu::TYPE_FLOAT_VEC3, 83 glu::TYPE_FLOAT_VEC4, 84 glu::TYPE_FLOAT_MAT2, 85 glu::TYPE_FLOAT_MAT2X3 [all...] |
es31fSSBOLayoutTests.cpp | 42 using glu::VarType; 43 using glu::StructType; 78 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk); 95 : SSBOLayoutCase (context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_310_ES, bufferMode) 161 const glu::VarType& lastType = lastVar.getType(); 162 const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UNSIZED_ARRAY); 200 const glu::VarType type = generateType(rnd, 0, true, isLastMember && (m_features & FEATURE_UNSIZED_ARRAYS)); 211 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unsizedArrayOk) 222 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); 223 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY) [all...] |
es31fNegativeAtomicCounterTests.cpp | 58 static const glu::ShaderType s_shaders[] = 60 glu::SHADERTYPE_VERTEX, 61 glu::SHADERTYPE_FRAGMENT, 62 glu::SHADERTYPE_GEOMETRY, 63 glu::SHADERTYPE_TESSELLATION_CONTROL, 64 glu::SHADERTYPE_TESSELLATION_EVALUATION, 65 glu::SHADERTYPE_COMPUTE 68 std::string genShaderSource (NegativeTestContext& ctx, TestCase test, glu::ShaderType type) 70 DE_ASSERT(test < TESTCASE_LAST && type < glu::SHADERTYPE_LAST); 77 shader << getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" [all...] |
es31fNegativePreciseTests.cpp | 53 static const glu::ShaderType s_shaderTypes[] = 55 glu::SHADERTYPE_VERTEX, 56 glu::SHADERTYPE_FRAGMENT, 57 glu::SHADERTYPE_GEOMETRY, 58 glu::SHADERTYPE_COMPUTE, 59 glu::SHADERTYPE_TESSELLATION_CONTROL, 60 glu::SHADERTYPE_TESSELLATION_EVALUATION 63 std::string generateShaderSource (NegativeTestContext& ctx, glu::ShaderType shaderType, TestPrecise test) 65 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 66 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES [all...] |
es31fUniformBlockTests.cpp | 55 group->addChild(new RandomUniformBlockCase(context.getTestContext(), context.getRenderContext(), glu::GLSL_VERSION_310_ES, 63 : UniformBlockCase(context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_310_ES, BUFFERMODE_PER_BLOCK) 90 : UniformBlockCase (context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_310_ES, bufferMode) 99 typeS.addMember("a", VarType(glu::TYPE_UINT_VEC3, PRECISION_HIGH), UNUSED_BOTH); 100 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2, PRECISION_MEDIUM), 4)); 101 typeS.addMember("c", VarType(glu::TYPE_UINT, PRECISION_LOW)); 104 block.addUniform(Uniform("u", VarType(glu::TYPE_INT, PRECISION_MEDIUM))); 106 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_MEDIUM))); 134 static const glu::DataType basicTypes[] = 136 glu::TYPE_FLOAT [all...] |
/external/eigen/Eigen/src/SparseLU/ |
SparseLU_column_bmod.h | 47 * \param glu Global LU data. 54 BlockIndexVector segrep, BlockIndexVector repfnz, Index fpanelc, GlobalLU_t& glu) 68 jsupno = glu.supno(jcol); 78 ksupno = glu.supno(krep); 82 fsupc = glu.xsup(ksupno); 89 luptr = glu.xlusup(fst_col) + d_fsupc; 90 lptr = glu.xlsub(fsupc) + d_fsupc; 97 nsupr = glu.xlsub(fsupc+1) - glu.xlsub(fsupc); 99 Index lda = glu.xlusup(fst_col+1) - glu.xlusup(fst_col) [all...] |
SparseLU_column_dfs.h | 43 column_dfs_traits(Index jcol, Index& jsuper, typename SparseLUImpl<Scalar, StorageIndex>::GlobalLU_t& glu, SparseLUImpl<Scalar, StorageIndex>& luImpl) 44 : m_jcol(jcol), m_jsuper_ref(jsuper), m_glu(glu), m_luImpl(luImpl) 87 * \param glu global LU data 95 IndexVector& marker, IndexVector& parent, IndexVector& xplore, GlobalLU_t& glu) 98 Index jsuper = glu.supno(jcol); 99 Index nextl = glu.xlsub(jcol); 103 column_dfs_traits<IndexVector, ScalarVector> traits(jcol, jsuper, glu, *this); 115 dfs_kernel(StorageIndex(jcol), perm_r, nseg, glu.lsub, segrep, repfnz, xprune, marker2, parent, 116 xplore, glu, nextl, krow, traits); local 120 StorageIndex nsuper = glu.supno(jcol) [all...] |
/external/deqp/modules/gles31/ |
tes31Context.cpp | 46 m_renderCtx = new glu::DummyRenderContext(); 62 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 2)); 66 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 1)); 68 m_contextInfo = glu::ContextInfo::create(*m_renderCtx);
|
/external/deqp/framework/platform/null/ |
tcuNullPlatform.hpp | 37 class Platform : public tcu::Platform, private glu::Platform, private eglu::Platform, private vk::Platform 43 virtual const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&>(*this); }
|
/external/deqp/framework/platform/win32/ |
tcuWin32Platform.hpp | 38 class Platform : public tcu::Platform, private glu::Platform, private eglu::Platform 46 const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&>(*this); }
|
/external/deqp/framework/opengl/ |
gluContextFactory.cpp | 26 namespace glu namespace 38 } // glu
|
gluPlatform.hpp | 34 namespace glu namespace 49 * See glu::ContextFactory and glu::RenderContext for complete details 72 } // glu
|
/external/deqp/framework/platform/lnx/X11/ |
tcuLnxX11GlxPlatform.hpp | 39 de::MovePtr<glu::ContextFactory> createContextFactory (EventState& eventState);
|
/external/deqp/modules/gles3/stress/ |
es3sLongRunningShaderTests.cpp | 80 glu::ShaderType shaderType; 99 static glu::ProgramSources genSources (const Params& params); 105 glu::ShaderProgram* m_program; 123 glu::ProgramSources LongRunningShaderCase::genSources (const Params& params) 125 const bool isVertCase = params.shaderType == glu::SHADERTYPE_VERTEX; 206 return glu::ProgramSources() << glu::VertexSource(vert.str()) << glu::FragmentSource(frag.str()); 212 m_program = new glu::ShaderProgram(m_context.getRenderContext(), genSources(*m_params)); 279 vector<glu::VertexArrayBinding> vertexArrays [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType shaderType) 79 case glu::SHADERTYPE_VERTEX: 81 case glu::SHADERTYPE_FRAGMENT: 90 void setShaderSources (glu::Shader& shader, const ShaderSources& sources) 131 void queryShaderInfo (glu::RenderContext& renderCtx, deUint32 shader, glu::ShaderInfo& info) 176 virtual std::string next (const glu::ShaderType shaderType) = 0; 177 virtual bool finished (const glu::ShaderType shaderType) const = 0; 186 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; } 188 std::string next (const glu::ShaderType shaderType) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
vktSSBOLayoutTests.cpp | 45 using glu::VarType; 46 using glu::StructType; 75 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk); 160 const glu::VarType& lastType = lastVar.getType(); 161 const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UNSIZED_ARRAY); 199 const glu::VarType type = generateType(rnd, 0, true, isLastMember && (m_features & FEATURE_UNSIZED_ARRAYS)); 210 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unsizedArrayOk) 221 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); 222 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY) [all...] |