Lines Matching refs:glu
57 EGLint apiRenderableType (glu::ApiType apiType)
61 case glu::PROFILE_CORE:
62 case glu::PROFILE_COMPATIBILITY:
64 case glu::PROFILE_ES:
83 const glu::ContextType& contextType,
85 glu::ResetNotificationStrategy resetNotificationStrategy)
93 if (glu::isContextTypeES(contextType))
115 DE_ASSERT(glu::isContextTypeGLCore(contextType) || glu::isContextTypeGLCompatibility(contextType));
127 attribList.push_back(glu::isContextTypeGLCore(contextType) ? EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR
131 if (contextType.getFlags() != glu::ContextFlags(0))
138 if ((contextType.getFlags() & glu::CONTEXT_DEBUG) != 0)
141 if ((contextType.getFlags() & glu::CONTEXT_ROBUST) != 0)
143 if (glu::isContextTypeES(contextType))
155 if ((contextType.getFlags() & glu::CONTEXT_NO_ERROR) != 0)
166 if ((contextType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0)
168 if (!glu::isContextTypeGLCore(contextType))
177 if (resetNotificationStrategy != glu::RESET_NOTIFICATION_STRATEGY_NOT_SPECIFIED)
179 if (getVersion(egl, display) >= Version(1, 5) || glu::isContextTypeGLCore(contextType) || glu::isContextTypeGLCompatibility(contextType))
186 if (resetNotificationStrategy == glu::RESET_NOTIFICATION_STRATEGY_NO_RESET_NOTIFICATION)
188 else if (resetNotificationStrategy == glu::RESET_NOTIFICATION_STRATEGY_LOSE_CONTEXT_ON_RESET)
204 static bool configMatches (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLConfig eglConfig, const glu::RenderConfig& renderConfig)
218 if (renderConfig.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE)
225 case glu::RenderConfig::SURFACETYPE_WINDOW: requiredSurface = EGL_WINDOW_BIT; break;
226 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_NATIVE: requiredSurface = EGL_PIXMAP_BIT; break;
227 case glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC: requiredSurface = EGL_PBUFFER_BIT; break;
241 int glu::RenderConfig::*field;
245 { &glu::RenderConfig::id, EGL_CONFIG_ID },
246 { &glu::RenderConfig::redBits, EGL_RED_SIZE },
247 { &glu::RenderConfig::greenBits, EGL_GREEN_SIZE },
248 { &glu::RenderConfig::blueBits, EGL_BLUE_SIZE },
249 { &glu::RenderConfig::alphaBits, EGL_ALPHA_SIZE },
250 { &glu::RenderConfig::depthBits, EGL_DEPTH_SIZE },
251 { &glu::RenderConfig::stencilBits, EGL_STENCIL_SIZE },
252 { &glu::RenderConfig::numSamples, EGL_SAMPLES },
257 if (renderConfig.*s_attribs[attribNdx].field != glu::RenderConfig::DONT_CARE)
270 EGLConfig chooseConfig (const Library& egl, EGLDisplay display, const glu::RenderConfig& config)