Lines Matching defs:ctxconfig
88 static GLFWbool chooseEGLConfig(const _GLFWctxconfig* ctxconfig,
98 if (ctxconfig->client == GLFW_OPENGL_ES_API)
100 if (ctxconfig->major == 1)
211 if (ctxconfig->client == GLFW_OPENGL_ES_API)
213 if (ctxconfig->major == 1)
575 const _GLFWctxconfig* ctxconfig,
590 if (ctxconfig->share)
591 share = ctxconfig->share->context.egl.handle;
593 if (!chooseEGLConfig(ctxconfig, fbconfig, &config))
596 if (ctxconfig->client == GLFW_OPENGL_ES_API)
621 if (ctxconfig->client == GLFW_OPENGL_API)
623 if (ctxconfig->forward)
626 if (ctxconfig->profile == GLFW_OPENGL_CORE_PROFILE)
628 else if (ctxconfig->profile == GLFW_OPENGL_COMPAT_PROFILE)
632 if (ctxconfig->debug)
635 if (ctxconfig->robustness)
637 if (ctxconfig->robustness == GLFW_NO_RESET_NOTIFICATION)
642 else if (ctxconfig->robustness == GLFW_LOSE_CONTEXT_ON_RESET)
651 if (ctxconfig->major != 1 || ctxconfig->minor != 0)
653 SET_ATTRIB(EGL_CONTEXT_MAJOR_VERSION_KHR, ctxconfig->major);
654 SET_ATTRIB(EGL_CONTEXT_MINOR_VERSION_KHR, ctxconfig->minor);
657 if (ctxconfig->noerror)
671 if (ctxconfig->client == GLFW_OPENGL_ES_API)
672 SET_ATTRIB(EGL_CONTEXT_CLIENT_VERSION, ctxconfig->major);
677 if (ctxconfig->release == GLFW_RELEASE_BEHAVIOR_NONE)
682 else if (ctxconfig->release == GLFW_RELEASE_BEHAVIOR_FLUSH)
817 if (ctxconfig->client == GLFW_OPENGL_ES_API)
819 if (ctxconfig->major == 1)
863 const _GLFWctxconfig* ctxconfig,
873 if (!chooseEGLConfig(ctxconfig, fbconfig, &native))