Lines Matching refs:attrib
48 static void logConfigAttribute (TestLog& log, EGLenum attrib, EGLint value)
50 log << TestLog::Message << " " << eglu::getConfigAttribName(attrib) << ": " << eglu::getConfigAttribValueStr(attrib, value) << TestLog::EndMessage;
191 EGLint getValue (EGLConfig config, EGLenum attrib, bool logValue=true);
246 EGLint GetConfigAttribCase::getValue (EGLConfig config, EGLenum attrib, bool logValue)
252 eglGetConfigAttrib(display.getEGLDisplay(), config, attrib, &value);
255 if (logValue) logConfigAttribute(log, attrib, value);
302 void checkBoolean (EGLenum attrib, EGLint value)
308 log << TestLog::Message << "Fail, " << eglu::getConfigAttribStr(attrib) << " should be a boolean value." << TestLog::EndMessage;
313 void checkInteger (EGLenum attrib, EGLint value)
315 if (attrib == EGL_NATIVE_VISUAL_ID || attrib == EGL_NATIVE_VISUAL_TYPE) // Implementation-defined
318 if (attrib == EGL_CONFIG_ID && value < 1)
340 void checkAttribute (EGLenum attrib, EGLint value)
342 switch (attrib)
363 checkBoolean(attrib, value);
366 checkInteger(attrib, value);