Searched refs:glu (Results 26 - 50 of 447) sorted by relevance

1234567891011>>

/external/deqp/framework/platform/osx/
H A DtcuOSXPlatform.cpp69 class CGLRenderContext : public glu::RenderContext
72 CGLRenderContext (const glu::RenderConfig& config);
75 glu::ContextType getType (void) const { return m_type; }
81 const glu::ContextType m_type;
87 static CGLOpenGLProfile getCGLProfile (glu::ContextType type)
89 if (type.getAPI().getProfile() != glu::PROFILE_CORE)
100 static glu::ApiType getVersion (const glw::Functions& gl)
107 return glu::ApiType::core(major, minor);
110 CGLRenderContext::CGLRenderContext (const glu::RenderConfig& config)
148 glu
[all...]
/external/deqp/modules/glshared/
H A DglsShaderConstExprTests.cpp41 glu::RenderContext& renderContext,
42 const glu::ContextInfo& contextInfo,
45 glu::GLSLVersion version,
53 DE_STATIC_ASSERT(glu::TYPE_FLOAT+1 == glu::TYPE_FLOAT_VEC2);
54 DE_STATIC_ASSERT(glu::TYPE_FLOAT+2 == glu::TYPE_FLOAT_VEC3);
55 DE_STATIC_ASSERT(glu::TYPE_FLOAT+3 == glu::TYPE_FLOAT_VEC4);
57 DE_STATIC_ASSERT(glu
[all...]
H A DglsRandomShaderCase.hpp67 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);
89 glu::RenderContext& m_renderCtx;
92 const glu::Texture2D* getTex2D (void);
93 const glu
[all...]
H A DglsShaderExecUtil.cpp52 static bool isExtensionSupported (const glu::RenderContext& renderCtx, const std::string& extension)
70 static void checkExtension (const glu::RenderContext& renderCtx, const std::string& extension)
80 const bool usesInout = glu::glslVersionUsesInOutQualifiers(shaderSpec.version);
85 src << glu::getGLSLVersionDeclaration(shaderSpec.version) << "\n";
91 src << in << " " << glu::declare(input->varType, input->name) << ";\n";
97 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
99 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType());
100 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu
[all...]
H A DglsShaderExecUtil.hpp35 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);
H A DglsShaderLibrary.hpp41 ShaderLibrary (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& contextInfo);
53 glu::RenderContext& m_renderCtx;
54 const glu::ContextInfo& m_contextInfo;
H A DglsFragOpInteractionCase.hpp31 namespace glu namespace
52 FragOpInteractionCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const rsg::ProgramParameters& params);
65 glu::RenderContext& m_renderCtx;
66 const glu::ContextInfo& m_ctxInfo;
/external/deqp/modules/gles31/functional/
H A Des31fProgramInterfaceDefinition.cpp43 static const glu::ShaderType s_shaderStageOrder[] =
45 glu::SHADERTYPE_COMPUTE,
47 glu::SHADERTYPE_VERTEX,
48 glu::SHADERTYPE_TESSELLATION_CONTROL,
49 glu::SHADERTYPE_TESSELLATION_EVALUATION,
50 glu::SHADERTYPE_GEOMETRY,
51 glu::SHADERTYPE_FRAGMENT
55 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_shaderStageOrder) == glu::SHADERTYPE_LAST);
57 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu
[all...]
H A Des31fProgramUniformTests.cpp64 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
[all...]
H A Des31fSSBOLayoutTests.cpp42 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
[all...]
H A Des31fUniformBlockTests.cpp55 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
[all...]
H A Des31fUniformLocationTests.hpp29 namespace glu namespace
41 typedef std::vector<glu::StructType*> StructList;
H A Des31fBuiltinPrecisionTests.cpp43 std::vector<glu::ShaderType> shaderTypes;
47 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE);
56 shaderTypes.push_back(glu::SHADERTYPE_VERTEX);
57 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT);
58 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE);
H A Des31fShaderCommonFunctionTests.cpp124 inline bool supportsSignedZero (glu::Precision precision)
128 return precision == glu::PRECISION_HIGHP;
150 static int getMinMantissaBits (glu::Precision precision)
158 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(bits) == glu::PRECISION_LAST);
163 static int getMaxNormalizedValueExponent (glu::Precision precision)
171 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST);
176 static int getMinNormalizedValueExponent (glu::Precision precision)
184 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST);
194 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
208 glu
[all...]
H A Des31fProgramInterfaceQueryTests.cpp61 static int getTypeSize (glu::DataType type)
63 if (type == glu::TYPE_FLOAT)
65 else if (type == glu::TYPE_INT || type == glu::TYPE_UINT)
67 else if (type == glu::TYPE_BOOL)
74 static int getVarTypeSize (const glu::VarType& type)
77 return glu::getDataTypeScalarSize(type.getBasicType()) * getTypeSize(glu::getDataTypeScalarType(type.getBasicType()));
87 if (type.getArraySize() == glu::VarType::UNSIZED_ARRAY)
222 Shader (const SharedPtr& enclosingNode, glu
[all...]
H A Des31fProgramInterfaceDefinitionUtil.cpp50 const bool storageNonEmpty = (a.m_storage == b.m_storage) || (a.m_storage == glu::STORAGE_LAST) || (b.m_storage == glu::STORAGE_LAST);
51 const bool shaderTypeNonEmpty = (a.m_shaderType == b.m_shaderType) || (a.m_shaderType == glu::SHADERTYPE_LAST) || (b.m_shaderType == glu::SHADERTYPE_LAST);
53 return VariableSearchFilter((a.m_shaderType == glu::SHADERTYPE_LAST) ? (b.m_shaderType) : (a.m_shaderType),
54 (a.m_storage == glu::STORAGE_LAST) ? (b.m_storage) : (a.m_storage),
75 void generateVariableTypeResourceNames (std::vector<std::string>& resources, const std::string& name, const glu::VarType& type, deUint32 resourceNameGenerationFlags)
86 const glu::StructType* structType = type.getStructPtr();
124 static const char* getShaderTypeDeclarations (glu::ShaderType type)
128 case glu
[all...]
H A Des31fNegativeTestShared.hpp50 class NegativeTestContext : public glu::CallLogWrapper
53 NegativeTestContext (ErrorCase& host, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, tcu::TestLog& log, tcu::ResultCollector& results, bool enableLog);
60 const glu::RenderContext& getRenderContext (void) const { return m_renderCtx; }
61 const glu::ContextInfo& getContextInfo (void) const { return m_ctxInfo; }
70 glu::RenderContext& m_renderCtx;
71 const glu::ContextInfo& m_ctxInfo;
/external/deqp/framework/opengl/
H A DgluContextFactory.cpp26 namespace glu namespace
38 } // glu
H A DgluPlatform.hpp34 namespace glu namespace
49 * See glu::ContextFactory and glu::RenderContext for complete details
72 } // glu
/external/deqp/framework/platform/X11/
H A DtcuX11GlxPlatform.hpp37 de::MovePtr<glu::ContextFactory> createContextFactory (EventState& eventState);
/external/deqp/modules/gles3/stress/
H A Des3sLongRunningShaderTests.cpp80 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
[all...]
/external/eigen/Eigen/src/SparseLU/
H A DSparseLU_column_dfs.h43 column_dfs_traits(Index jcol, Index& jsuper, typename SparseLUImpl<Scalar, Index>::GlobalLU_t& glu, SparseLUImpl<Scalar, Index>& luImpl) argument
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) argument
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
[all...]
H A DSparseLU_Memory.h145 * \param glu persistent data to facilitate multiple factors : will be deleted later ??
152 Index SparseLUImpl<Scalar,Index>::memInit(Index m, Index n, Index annz, Index lwork, Index fillratio, Index panel_size, GlobalLU_t& glu) argument
154 Index& num_expansions = glu.num_expansions; //No memory expansions so far
156 glu.nzumax = glu.nzlumax = (std::min)(fillratio * annz / n, m) * n; // estimated number of nonzeros in U
157 glu.nzlmax = (std::max)(Index(4), fillratio) * annz / 4; // estimated nnz in L factor
165 + (glu.nzlmax + glu.nzumax) * sizeof(Index) + (glu.nzlumax+glu
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fShaderApiTests.cpp72 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
[all...]
/external/deqp/framework/egl/
H A DegluPlatform.cpp39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine&) const
42 if (apiType.getProfile() == glu::PROFILE_ES)

Completed in 1026 milliseconds

1234567891011>>