Lines Matching refs:EGLint
62 EGLint configId = eglu::getConfigID(egl, display, config); in configListToString()
72 void logConfigAttrib (TestLog& log, EGLenum attrib, EGLint value) in logConfigAttrib()
95 const EGLint aCaveat = eglu::getConfigAttribInt(egl, display, as[configNdx], EGL_CONFIG_CAVEAT); in configListEqual()
96 const EGLint bCaveat = eglu::getConfigAttribInt(egl, display, bs[configNdx], EGL_CONFIG_CAVEAT); in configListEqual()
111 …& eglTestCtx, const char* name, const char* description, bool checkOrder, const EGLint* attributes) in ChooseConfigCase()
119 m_attributes.push_back(std::make_pair((EGLenum)attributes[0], (EGLint)attributes[1])); in ChooseConfigCase()
124 …nst char* description, bool checkOrder, const std::vector<std::pair<EGLenum, EGLint> >& attributes) in ChooseConfigCase()
159 void executeTest (const std::vector<std::pair<EGLenum, EGLint> >& attributes, bool checkOrder) in executeTest()
165 vector<EGLint> attribList; in executeTest()
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()
183 EGLint numConfigs = 0; in executeTest()
188 …EGLU_CHECK_CALL(egl, chooseConfig(m_display, &attribList[0], &resultConfigs[0], (EGLint)resultConf… in executeTest()
212 void fillDontCare (std::vector<std::pair<EGLenum, EGLint> >& attributes) in fillDontCare()
234 vector<pair<EGLenum, EGLint> > m_attributes;
242 EGLint getValue (EGLenum name) in getValue()
247 EGLint value; in getValue()
319 std::vector<std::pair<EGLenum, EGLint> > attributes; in iterate()
320 attributes.push_back(std::pair<EGLenum, EGLint>(m_attribute, getValue(m_attribute))); in iterate()
358 …std::vector<std::pair<EGLenum, EGLint> > attributes = genRandomAttributes(m_attribSet, numAttribs,… in iterate()
366 template <int MinVal, int MaxVal> static EGLint getInt (de::Random& rnd) in getInt()
371 static EGLint getBool (de::Random& rnd) in getBool()
376 static EGLint getBufferType (de::Random& rnd) in getBufferType()
378 static const EGLint types[] = { EGL_RGB_BUFFER, EGL_LUMINANCE_BUFFER }; in getBufferType()
379 return rnd.choose<EGLint>(types, types+DE_LENGTH_OF_ARRAY(types)); in getBufferType()
382 static EGLint getConfigCaveat (de::Random& rnd) in getConfigCaveat()
384 static const EGLint caveats[] = { EGL_SLOW_CONFIG, EGL_NON_CONFORMANT_CONFIG }; in getConfigCaveat()
385 return rnd.choose<EGLint>(caveats, caveats+DE_LENGTH_OF_ARRAY(caveats)); in getConfigCaveat()
388 static EGLint getApiBits (de::Random& rnd) in getApiBits()
390 EGLint api = 0; in getApiBits()
398 static EGLint getSurfaceType (de::Random& rnd) in getSurfaceType()
400 EGLint bits = 0; in getSurfaceType()
410 EGLint (*getValue)(de::Random& rnd);
413 …std::vector<std::pair<EGLenum, EGLint> > genRandomAttributes (const std::set<EGLenum>& attribSet, … in genRandomAttributes()
448 std::vector<std::pair<EGLenum, EGLint> > out; in genRandomAttributes()