Lines Matching refs:attributes

111 …& eglTestCtx, const char* name, const char* description, bool checkOrder, const EGLint* attributes)  in ChooseConfigCase()  argument
117 while (attributes[0] != EGL_NONE) in ChooseConfigCase()
119 m_attributes.push_back(std::make_pair((EGLenum)attributes[0], (EGLint)attributes[1])); in ChooseConfigCase()
120 attributes += 2; in ChooseConfigCase()
124 …nst char* description, bool checkOrder, const std::vector<std::pair<EGLenum, EGLint> >& attributes) in ChooseConfigCase() argument
127 , m_attributes (attributes) in ChooseConfigCase()
159 void executeTest (const std::vector<std::pair<EGLenum, EGLint> >& attributes, bool checkOrder) in executeTest() argument
166 …for (vector<pair<EGLenum, EGLint> >::const_iterator i = attributes.begin(); i != attributes.end();… in executeTest()
175 …for (vector<pair<EGLenum, EGLint> >::const_iterator i = attributes.begin(); i != attributes.end();… in executeTest()
192 chooseConfigReference(egl, m_display, referenceConfigs, attributes); in executeTest()
212 void fillDontCare (std::vector<std::pair<EGLenum, EGLint> >& attributes) in fillDontCare() argument
226 for (size_t findNdx = 0; findNdx < attributes.size(); findNdx++) in fillDontCare()
227 if (attributes[findNdx].first == dontCareAttributes[ndx]) found = true; in fillDontCare()
229 if (!found) attributes.push_back(std::make_pair(dontCareAttributes[ndx], EGL_DONT_CARE)); in fillDontCare()
248 } attributes[] = in getValue() local
298 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(attributes); ndx++) in getValue()
300 if (attributes[ndx].name == name) in getValue()
301 return attributes[ndx].value; in getValue()
319 std::vector<std::pair<EGLenum, EGLint> > attributes; in iterate() local
320 attributes.push_back(std::pair<EGLenum, EGLint>(m_attribute, getValue(m_attribute))); in iterate()
322 fillDontCare(attributes); in iterate()
323 executeTest(attributes, m_checkOrder); in iterate()
358 …std::vector<std::pair<EGLenum, EGLint> > attributes = genRandomAttributes(m_attribSet, numAttribs,… in iterate() local
360 fillDontCare(attributes); in iterate()
361 executeTest(attributes, m_checkOrder); in iterate()
415 static const struct AttribSpec attributes[] = in genRandomAttributes() local
452 for (int ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(attributes); ndx++) in genRandomAttributes()
454 if (attribSet.find(attributes[ndx].attribute) != attribSet.end()) in genRandomAttributes()
455 candidates.push_back(attributes[ndx]); in genRandomAttributes()
503 } attributes[] = in init() local
544 for (int ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(attributes); ndx++) in init()
546 …(new ChooseConfigSimpleCase(m_eglTestCtx, attributes[ndx].testName, "Simple config selection case"… in init()
547 … ChooseConfigSimpleCase(m_eglTestCtx, attributes[ndx].testName, "Simple config selection and sort … in init()