Home | History | Annotate | Download | only in functional

Lines Matching refs:uniformCollection

269 class UniformCollection
280 UniformCollection (void) {}
281 ~UniformCollection (void)
289 void moveContents (UniformCollection& receiver)
329 static UniformCollection* basic (const glu::DataType type, const char* const nameSuffix = "")
331 UniformCollection* const res = new UniformCollection;
337 static UniformCollection* basicArray (const glu::DataType type, const char* const nameSuffix = "")
339 UniformCollection* const res = new UniformCollection;
345 static UniformCollection* basicStruct (const glu::DataType type0, const glu::DataType type1, const bool containsArrays, const char* const nameSuffix = "")
347 UniformCollection* const res = new UniformCollection;
366 static UniformCollection* structInArray (const glu::DataType type0, const glu::DataType type1, const bool containsArrays, const char* const nameSuffix = "")
368 UniformCollection* const res = basicStruct(type0, type1, containsArrays, nameSuffix);
373 static UniformCollection* nestedArraysStructs (const glu::DataType type0, const glu::DataType type1, const char* const nameSuffix = "")
375 UniformCollection* const res = new UniformCollection;
402 static UniformCollection* multipleBasic (const char* const nameSuffix = "")
405 UniformCollection* const res = new UniformCollection;
409 UniformCollection* const sub = basic(types[i], ("_" + de::toString(i) + nameSuffix).c_str());
417 static UniformCollection* multipleBasicArray (const char* const nameSuffix = "")
420 UniformCollection* const res = new UniformCollection;
424 UniformCollection* const sub = basicArray(types[i], ("_" + de::toString(i) + nameSuffix).c_str());
432 static UniformCollection* multipleNestedArraysStructs (const char* const nameSuffix = "")
436 UniformCollection* const res = new UniformCollection;
442 UniformCollection* const sub = nestedArraysStructs(types0[i], types1[i], ("_" + de::toString(i) + nameSuffix).c_str());
450 static UniformCollection* random (const deUint32 seed)
455 UniformCollection* const res = new UniformCollection;
482 // When the same UniformCollection is needed in several places, a SharedPtr is used instead.
483 UniformCollection (const UniformCollection&); // Not allowed.
484 UniformCollection& operator= (const UniformCollection&); // Not allowed.
776 UniformCase (Context& context, const char* name, const char* description, CaseShaderType caseType, const SharedPtr<const UniformCollection>& uniformCollection);
777 UniformCase (Context& context, const char* name, const char* description, CaseShaderType caseType, const SharedPtr<const UniformCollection>& uniformCollection, deUint32 features);
778 UniformCase (Context& context, const char* name, const char* description, deUint32 seed); // \note Randomizes caseType, uniformCollection and features.
883 const SharedPtr<const UniformCollection> m_uniformCollection;
941 UniformCase::UniformCase (Context& context, const char* const name, const char* const description, const CaseShaderType caseShaderType, const SharedPtr<const UniformCollection>& uniformCollection, const deUint32 features)
945 , m_uniformCollection (uniformCollection)
950 UniformCase::UniformCase (Context& context, const char* const name, const char* const description, const CaseShaderType caseShaderType, const SharedPtr<const UniformCollection>& uniformCollection)
954 , m_uniformCollection (uniformCollection)
963 , m_uniformCollection (UniformCollection::random(seed))
1777 UniformInfoQueryCase (Context& context, const char* name, const char* description, CaseShaderType shaderType, const SharedPtr<const UniformCollection>& uniformCollection, deUint32 additionalFeatures = 0);
1781 UniformInfoQueryCase::UniformInfoQueryCase (Context& context, const char* const name, const char* const description, const CaseShaderType shaderType, const SharedPtr<const UniformCollection>& uniformCollection, const deUint32 additionalFeatures)
1782 : UniformCase (context, name, description, shaderType, uniformCollection, additionalFeatures)
1833 const SharedPtr<const UniformCollection>& uniformCollection,
1917 const SharedPtr<const UniformCollection>& uniformCollection,
1922 : UniformCase (context, name, description, shaderType, uniformCollection,
2082 SharedPtr<const UniformCollection> uniformCollection;
2084 UniformCollectionCase (const char* const name, const UniformCollection* uniformCollection_)
2086 , uniformCollection (uniformCollection_)
2133 defaultUniformCollections[UNIFORMCOLLECTIONS_BASIC].cases.push_back(UniformCollectionCase(typeName, UniformCollection::basic(dataType)));
2139 defaultUniformCollections[UNIFORMCOLLECTIONS_BASIC_ARRAY].cases.push_back(UniformCollectionCase(typeName, UniformCollection::basicArray(dataType)));
2153 defaultUniformCollections[UNIFORMCOLLECTIONS_BASIC_STRUCT].cases.push_back (UniformCollectionCase(name.c_str(), UniformCollection::basicStruct(dataType, secondDataType, false)));
2154 defaultUniformCollections[UNIFORMCOLLECTIONS_ARRAY_IN_STRUCT].cases.push_back (UniformCollectionCase(name.c_str(), UniformCollection::basicStruct(dataType, secondDataType, true)));
2155 defaultUniformCollections[UNIFORMCOLLECTIONS_STRUCT_IN_ARRAY].cases.push_back (UniformCollectionCase(name.c_str(), UniformCollection::structInArray(dataType, secondDataType, false)));
2156 defaultUniformCollections[UNIFORMCOLLECTIONS_NESTED_STRUCTS_ARRAYS].cases.push_back (UniformCollectionCase(name.c_str(), UniformCollection::nestedArraysStructs(dataType, secondDataType)));
2159 defaultUniformCollections[UNIFORMCOLLECTIONS_MULTIPLE_BASIC].cases.push_back (UniformCollectionCase(DE_NULL, UniformCollection
2160 defaultUniformCollections[UNIFORMCOLLECTIONS_MULTIPLE_BASIC_ARRAY].cases.push_back (UniformCollectionCase(DE_NULL, UniformCollection::multipleBasicArray()));
2161 defaultUniformCollections[UNIFORMCOLLECTIONS_MULTIPLE_NESTED_STRUCTS_ARRAYS].cases.push_back (UniformCollectionCase(DE_NULL, UniformCollection::multipleNestedArraysStructs()));
2182 const SharedPtr<const UniformCollection>& uniformCollection = collectionCase.uniformCollection;
2184 collectionTestGroup->addChild(new UniformInfoQueryCase(m_context, name.c_str(), "", (CaseShaderType)shaderType, uniformCollection));
2201 const SharedPtr<const UniformCollection>& uniformCollection = collectionCase.uniformCollection;
2206 unusedUniformsGroup->addChild(new UniformInfoQueryCase(m_context, name.c_str(), "", (CaseShaderType)shaderType, uniformCollection,
2243 const SharedPtr<const UniformCollection>& uniformCollection = collectionCase.uniformCollection;
2244 const bool containsBooleans = uniformCollection->containsMatchingBasicType(glu::isDataTypeBoolOrBVec);
2249 if (checkMethod == UniformValueCase::CHECKMETHOD_RENDER && uniformCollection->containsSeveralSamplerTypes())
2263 collectionTestGroup->addChild(new UniformValueCase(m_context, name.c_str(), "", (CaseShaderType)shaderType, uniformCollection,
2307 const SharedPtr<const UniformCollection>& uniformCollection = collectionCase.uniformCollection;
2308 const bool containsBooleans = uniformCollection->containsMatchingBasicType(glu::isDataTypeBoolOrBVec);
2312 const bool containsMatrices = uniformCollection->containsMatchingBasicType(glu::isDataTypeMatrix);
2331 collectionTestGroup->addChild(new UniformValueCase(m_context, name.c_str(), "", (CaseShaderType)shaderType, uniformCollection,
2377 const SharedPtr<const UniformCollection>& uniformCollection = collectionCase.uniformCollection;
2382 collectionTestGroup->addChild(new UniformValueCase(m_context, name.c_str(), "", (CaseShaderType)shaderType, uniformCollection,
2403 const SharedPtr<const UniformCollection>& uniformCollection = collectionCase.uniformCollection;
2408 unusedUniformsGroup->addChild(new UniformValueCase(m_context, name.c_str(), "", (CaseShaderType)shaderType, uniformCollection,