Searched refs:profile_mask (Results 1 – 15 of 15) sorted by relevance
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsopengles.c | 35 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in WIN_GLES_LoadLibrary() 67 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in WIN_GLES_CreateContext()
|
A D | SDL_windowsopengl.c | 656 SDL_assert(_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES); in WIN_GL_UseEGL() 671 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES && WIN_GL_UseEGL(_this)) { in WIN_GL_CreateContext() 703 _this->gl_config.profile_mask == 0 && in WIN_GL_CreateContext() 740 if (_this->gl_config.profile_mask != 0) { in WIN_GL_CreateContext() 742 attribs[iattr++] = _this->gl_config.profile_mask; in WIN_GL_CreateContext()
|
A D | SDL_windowswindow.c | 356 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES in WIN_CreateWindow()
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_egl.c | 344 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) { in SDL_EGL_LoadLibraryOnly() 737 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) { in SDL_EGL_ChooseConfig() 841 EGLint profile_mask = _this->gl_config.profile_mask; in SDL_EGL_CreateContext() local 844 SDL_bool profile_es = (profile_mask == SDL_GL_CONTEXT_PROFILE_ES); in SDL_EGL_CreateContext() 876 (profile_mask == 0 || profile_es)) { in SDL_EGL_CreateContext() 899 if (profile_mask != 0 && profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in SDL_EGL_CreateContext() 901 attribs[attr++] = profile_mask; in SDL_EGL_CreateContext()
|
A D | SDL_video.c | 3160 _this->GL_DefaultProfileConfig(_this, &_this->gl_config.profile_mask, in SDL_GL_ResetAttributes() 3167 _this->gl_config.profile_mask = 0; in SDL_GL_ResetAttributes() 3171 _this->gl_config.profile_mask = SDL_GL_CONTEXT_PROFILE_ES; in SDL_GL_ResetAttributes() 3175 _this->gl_config.profile_mask = SDL_GL_CONTEXT_PROFILE_ES; in SDL_GL_ResetAttributes() 3282 _this->gl_config.profile_mask = value; in SDL_GL_SetAttribute() 3475 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) { in SDL_GL_GetAttribute() 3490 *value = _this->gl_config.profile_mask; in SDL_GL_GetAttribute()
|
A D | SDL_sysvideo.h | 356 int profile_mask; member
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoaopengles.m | 35 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { 67 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) {
|
A D | SDL_cocoaopengl.m | 193 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) { 216 if ((_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_CORE) && !lion_or_later) { 226 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_CORE) { 310 _this->gl_config.profile_mask == 0 &&
|
A D | SDL_cocoawindow.m | 1530 _this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) { 1549 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) {
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11opengl.c | 245 if (((_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) || in X11_GL_LoadLibrary() 663 SDL_assert(_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES); in X11_GL_UseEGL() 701 _this->gl_config.profile_mask == 0 && in X11_GL_CreateContext() 718 if( _this->gl_config.profile_mask != 0 ) { in X11_GL_CreateContext() 720 attribs[iattr++] = _this->gl_config.profile_mask; in X11_GL_CreateContext()
|
A D | SDL_x11opengles.c | 38 if ((_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) && in X11_GLES_LoadLibrary()
|
A D | SDL_x11window.c | 420 if (((_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) || in X11_CreateWindow() 633 ((_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) || in X11_CreateWindow()
|
/AliOS-Things-master/components/SDL2/src/render/opengles/ |
A D | SDL_render_gles.c | 1116 int profile_mask = 0, major = 0, minor = 0; in GLES_CreateRenderer() local 1119 SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask); in GLES_CreateRenderer() 1125 …profile_mask != SDL_GL_CONTEXT_PROFILE_ES || major != RENDERER_CONTEXT_MAJOR || minor != RENDERER_… in GLES_CreateRenderer() 1251 SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, profile_mask); in GLES_CreateRenderer()
|
/AliOS-Things-master/components/SDL2/src/render/opengl/ |
A D | SDL_render_gl.c | 1559 int profile_mask = 0, major = 0, minor = 0; in GL_CreateRenderer() local 1562 SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask); in GL_CreateRenderer() 1568 …profile_mask == SDL_GL_CONTEXT_PROFILE_ES || major != RENDERER_CONTEXT_MAJOR || minor != RENDERER_… in GL_CreateRenderer() 1758 SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, profile_mask); in GL_CreateRenderer()
|
/AliOS-Things-master/components/SDL2/src/render/opengles2/ |
A D | SDL_render_gles2.c | 1956 int profile_mask = 0, major = 0, minor = 0; in GLES2_CreateRenderer() local 1959 if (SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask) < 0) { in GLES2_CreateRenderer() 1973 profile_mask != SDL_GL_CONTEXT_PROFILE_ES || major < RENDERER_CONTEXT_MAJOR) { in GLES2_CreateRenderer() 2145 SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, profile_mask); in GLES2_CreateRenderer()
|
Completed in 37 milliseconds