Home | History | Annotate | Download | only in egl

Lines Matching defs:config

21  * \brief Config query tests.
203 EGLint getValue (EGLConfig config, EGLenum attrib, bool logValue=true);
205 virtual void executeTest (EGLConfig config) = 0;
249 const EGLConfig config = *m_configsIter;
252 eglGetConfigAttrib(m_display, config, EGL_CONFIG_ID, &id);
254 log << TestLog::Message << "Config ID " << id << TestLog::EndMessage;
256 executeTest(config);
269 EGLint GetConfigAttribCase::getValue (EGLConfig config, EGLenum attrib, bool logValue)
274 eglGetConfigAttrib(m_display, config, attrib, &value);
350 log << TestLog::Message << "Fail, config IDs should be positive integer values beginning from 1." << TestLog::EndMessage;
363 log << TestLog::Message << "Fail, config does not actually support creation of any surface type?" << TestLog::EndMessage;
398 void executeTest (EGLConfig config)
413 eglGetConfigAttrib(m_display, config, m_attrib, &value);
435 void executeTest (EGLConfig config)
439 const EGLint colorBufferType = getValue(config, EGL_COLOR_BUFFER_TYPE);
441 const EGLint bufferSize = getValue(config, EGL_BUFFER_SIZE);
442 const EGLint redSize = getValue(config, EGL_RED_SIZE);
443 const EGLint greenSize = getValue(config, EGL_GREEN_SIZE);
444 const EGLint blueSize = getValue(config, EGL_BLUE_SIZE);
445 const EGLint luminanceSize = getValue(config, EGL_LUMINANCE_SIZE);
446 const EGLint alphaSize = getValue(config, EGL_ALPHA_SIZE);
505 void executeTest (EGLConfig config)
509 const EGLint transparentType = getValue(config, EGL_TRANSPARENT_TYPE);
510 const EGLint redValue = getValue(config, EGL_TRANSPARENT_RED_VALUE);
511 const EGLint greenValue = getValue(config, EGL_TRANSPARENT_GREEN_VALUE);
512 const EGLint blueValue = getValue(config, EGL_TRANSPARENT_BLUE_VALUE);
514 const EGLint redSize = getValue(config, EGL_RED_SIZE);
515 const EGLint greenSize = getValue(config, EGL_GREEN_SIZE);
516 const EGLint blueSize = getValue(config, EGL_BLUE_SIZE);
532 : TestCaseGroup(eglTestCtx, "query_config", "Surface config query tests")