Lines Matching refs:gl_config

344         if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) {  in SDL_EGL_LoadLibraryOnly()
345 if (_this->gl_config.major_version > 1) { in SDL_EGL_LoadLibraryOnly()
441 _this->gl_config.driver_loaded = 1; in SDL_EGL_LoadLibraryOnly()
444 SDL_strlcpy(_this->gl_config.driver_path, path, sizeof(_this->gl_config.driver_path) - 1); in SDL_EGL_LoadLibraryOnly()
446 *_this->gl_config.driver_path = '\0'; in SDL_EGL_LoadLibraryOnly()
506 _this->gl_config.driver_loaded = 0; in SDL_EGL_LoadLibrary()
507 *_this->gl_config.driver_path = '\0'; in SDL_EGL_LoadLibrary()
512 _this->gl_config.driver_loaded = 0; in SDL_EGL_LoadLibrary()
513 *_this->gl_config.driver_path = '\0'; in SDL_EGL_LoadLibrary()
541 if (_this->gl_config.driver_loaded != 1) { in SDL_EGL_InitializeOffscreen()
697 attribs[i++] = _this->gl_config.red_size; in SDL_EGL_ChooseConfig()
699 attribs[i++] = _this->gl_config.green_size; in SDL_EGL_ChooseConfig()
701 attribs[i++] = _this->gl_config.blue_size; in SDL_EGL_ChooseConfig()
703 if (_this->gl_config.alpha_size) { in SDL_EGL_ChooseConfig()
705 attribs[i++] = _this->gl_config.alpha_size; in SDL_EGL_ChooseConfig()
708 if (_this->gl_config.buffer_size) { in SDL_EGL_ChooseConfig()
710 attribs[i++] = _this->gl_config.buffer_size; in SDL_EGL_ChooseConfig()
714 attribs[i++] = _this->gl_config.depth_size; in SDL_EGL_ChooseConfig()
716 if (_this->gl_config.stencil_size) { in SDL_EGL_ChooseConfig()
718 attribs[i++] = _this->gl_config.stencil_size; in SDL_EGL_ChooseConfig()
721 if (_this->gl_config.multisamplebuffers) { in SDL_EGL_ChooseConfig()
723 attribs[i++] = _this->gl_config.multisamplebuffers; in SDL_EGL_ChooseConfig()
726 if (_this->gl_config.multisamplesamples) { in SDL_EGL_ChooseConfig()
728 attribs[i++] = _this->gl_config.multisamplesamples; in SDL_EGL_ChooseConfig()
737 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) { in SDL_EGL_ChooseConfig()
739 if (_this->gl_config.major_version >= 3 && in SDL_EGL_ChooseConfig()
744 if (_this->gl_config.major_version >= 2) { in SDL_EGL_ChooseConfig()
841 EGLint profile_mask = _this->gl_config.profile_mask; in SDL_EGL_CreateContext()
842 EGLint major_version = _this->gl_config.major_version; in SDL_EGL_CreateContext()
843 EGLint minor_version = _this->gl_config.minor_version; in SDL_EGL_CreateContext()
851 if (_this->gl_config.share_with_current_context) { in SDL_EGL_CreateContext()
856 if ((_this->gl_config.flags & SDL_GL_CONTEXT_DEBUG_FLAG) != 0) { in SDL_EGL_CreateContext()
868 _this->gl_config.flags &= ~SDL_GL_CONTEXT_DEBUG_FLAG; in SDL_EGL_CreateContext()
875 _this->gl_config.flags == 0 && in SDL_EGL_CreateContext()
905 if (_this->gl_config.flags != 0) { in SDL_EGL_CreateContext()
907 attribs[attr++] = _this->gl_config.flags; in SDL_EGL_CreateContext()
917 if (_this->gl_config.no_error) { in SDL_EGL_CreateContext()
921 attribs[attr++] = _this->gl_config.no_error; in SDL_EGL_CreateContext()
1105 if (_this->gl_config.framebuffer_srgb_capable) { in SDL_EGL_CreateSurface()