/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...] |
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...] |
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...] |
es31fInfoLogQueryShared.hpp | 39 glu::CallLogWrapper& gl, 42 void (glu::CallLogWrapper:: *getInfoLog)(glw::GLuint, glw::GLsizei, glw::GLsizei*, glw::GLchar*),
|
/external/eigen/Eigen/src/SparseLU/ |
SparseLU_column_bmod.h | 47 * \param glu Global LU data. 53 Index SparseLUImpl<Scalar,Index>::column_bmod(const Index jcol, const Index nseg, BlockScalarVector dense, ScalarVector& tempv, BlockIndexVector segrep, BlockIndexVector repfnz, Index fpanelc, GlobalLU_t& glu) 67 jsupno = glu.supno(jcol); 77 ksupno = glu.supno(krep); 81 fsupc = glu.xsup(ksupno); 88 luptr = glu.xlusup(fst_col) + d_fsupc; 89 lptr = glu.xlsub(fsupc) + d_fsupc; 96 nsupr = glu.xlsub(fsupc+1) - glu.xlsub(fsupc); 98 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, Index>::GlobalLU_t& glu, SparseLUImpl<Scalar, Index>& luImpl) 44 : m_jcol(jcol), m_jsuper_ref(jsuper), m_glu(glu), m_luImpl(luImpl) 87 * \param glu global LU data 93 Index SparseLUImpl<Scalar,Index>::column_dfs(const Index m, const Index jcol, IndexVector& perm_r, Index maxsuper, Index& nseg, BlockIndexVector lsub_col, IndexVector& segrep, BlockIndexVector repfnz, IndexVector& xprune, IndexVector& marker, IndexVector& parent, IndexVector& xplore, GlobalLU_t& glu) 96 Index jsuper = glu.supno(jcol); 97 Index nextl = glu.xlsub(jcol); 101 column_dfs_traits<IndexVector, ScalarVector> traits(jcol, jsuper, glu, *this); 113 dfs_kernel(jcol, perm_r, nseg, glu.lsub, segrep, repfnz, xprune, marker2, parent, 114 xplore, glu, nextl, krow, traits); 118 Index 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/modules/glshared/ |
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/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/X11/ |
tcuX11GlxPlatform.hpp | 37 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 | 44 using glu::VarType; 45 using glu::StructType; 73 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk); 150 const glu::VarType& lastType = lastVar.getType(); 151 const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UNSIZED_ARRAY); 189 const glu::VarType type = generateType(rnd, 0, true, isLastMember && (m_features & FEATURE_UNSIZED_ARRAYS)); 200 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unsizedArrayOk) 211 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); 212 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY) [all...] |
/external/deqp/framework/common/ |
tcuPlatform.hpp | 28 namespace glu namespace 64 * API-specific platform interfaces (glu::Platform and eglu::Platform) 93 * GL-specific platform interface is defined by glu::Platform. If your 100 virtual const glu::Platform& getGLPlatform (void) const;
|
/external/deqp/framework/egl/ |
egluPlatform.cpp | 39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine&) const 42 if (apiType.getProfile() == glu::PROFILE_ES)
|