Lines Matching refs:majorVersion
206 EGLint majorVersion = 1; in attribListToContextType() local
218 majorVersion = (*iter); in attribListToContextType()
271 return glu::ContextType(majorVersion, minorVersion, profile, flags); in attribListToContextType()
446 int majorVersion = 0; in checkVersionString() local
487 if (majorVersion == 0 && val == 0) in checkVersionString()
493 majorVersion = majorVersion * 10 + val; in checkVersionString()
540 if (majorVersion < major) in checkVersionString()
545 else if (majorVersion == major && minorVersion < minor) in checkVersionString()
550 else if (majorVersion == major && minorVersion == minor) in checkVersionString()
555 if (majorVersion == 3 && minorVersion == 1) in checkVersionString()
565 else if (majorVersion > 3 || (majorVersion == 3 && minorVersion >= minor)) in checkVersionString()
587 if (majorVersion > 3 || (majorVersion == 3 && minorVersion >= minor)) in checkVersionString()
615 if (majorVersion < major) in checkVersionString()
620 else if (majorVersion == major && minorVersion < minor) in checkVersionString()
632 deInt32 majorVersion = 0; in checkVersionQueries() local
635 gl.getIntegerv(GL_MAJOR_VERSION, &majorVersion); in checkVersionQueries()
641 if (majorVersion < major || (majorVersion == major && minorVersion < minor)) in checkVersionQueries()
643 if (majorVersion < major) in checkVersionQueries()
644 …log << TestLog::Message << "glGetIntegerv(GL_MAJOR_VERSION) returned '" << majorVersion << "' expe… in checkVersionQueries()
645 else if (majorVersion == major && minorVersion < minor) in checkVersionQueries()
662 EGLint majorVersion = -1; in validateCurrentContext() local
676 majorVersion = (*iter); in validateCurrentContext()
725 if (majorVersion == -1) in validateCurrentContext()
726 majorVersion = 1; in validateCurrentContext()
733 if (!checkVersionString(log, gl, false, majorVersion, minorVersion)) in validateCurrentContext()
736 if (majorVersion == 3) in validateCurrentContext()
738 if (!checkVersionQueries(log, gl, majorVersion, minorVersion)) in validateCurrentContext()
744 if (!checkVersionString(log, gl, true, majorVersion, minorVersion)) in validateCurrentContext()
747 if (majorVersion >= 3) in validateCurrentContext()
749 if (!checkVersionQueries(log, gl, majorVersion, minorVersion)) in validateCurrentContext()
759 if (m_api == EGL_OPENGL_API && (majorVersion > 3 || (majorVersion == 3 && minorVersion >= 1))) in validateCurrentContext()
778 if (profileMask != -1 || (m_api == EGL_OPENGL_API && (majorVersion >= 3))) in validateCurrentContext()
785 if (majorVersion < 3 || (majorVersion == 3 && minorVersion < 2)) in validateCurrentContext()
830 if (!glu::hasExtension(gl, glu::ApiType::core(majorVersion, minorVersion), "GL_ARB_robustness")) in validateCurrentContext()
838 if (!glu::hasExtension(gl, glu::ApiType::es(majorVersion, minorVersion), "GL_EXT_robustness")) in validateCurrentContext()
845 if (m_api == EGL_OPENGL_API && (majorVersion > 3 || (majorVersion == 3 && minorVersion >= 1))) in validateCurrentContext()