Home
last modified time | relevance | path

Searched refs:profile_mask (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_egl.c199 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) { in SDL_EGL_LoadLibrary()
356 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) { in SDL_EGL_ChooseConfig()
428 EGLint profile_mask = _this->gl_config.profile_mask; in SDL_EGL_CreateContext() local
431 SDL_bool profile_es = (profile_mask == SDL_GL_CONTEXT_PROFILE_ES); in SDL_EGL_CreateContext()
445 (profile_mask == 0 || profile_es)) { in SDL_EGL_CreateContext()
468 if (profile_mask != 0 && profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in SDL_EGL_CreateContext()
470 attribs[attr++] = profile_mask; in SDL_EGL_CreateContext()
DSDL_sysvideo.h323 int profile_mask; member
DSDL_video.c2894 _this->gl_config.profile_mask = 0; in SDL_GL_ResetAttributes()
2901 _this->gl_config.profile_mask = SDL_GL_CONTEXT_PROFILE_ES; in SDL_GL_ResetAttributes()
2905 _this->gl_config.profile_mask = SDL_GL_CONTEXT_PROFILE_ES; in SDL_GL_ResetAttributes()
3008 _this->gl_config.profile_mask = value; in SDL_GL_SetAttribute()
3187 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) { in SDL_GL_GetAttribute()
3202 *value = _this->gl_config.profile_mask; in SDL_GL_GetAttribute()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsopengles.c36 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in WIN_GLES_LoadLibrary()
68 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in WIN_GLES_CreateContext()
DSDL_windowsopengl.c602 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES && in WIN_GL_CreateContext()
635 _this->gl_config.profile_mask == 0 && in WIN_GL_CreateContext()
672 if (_this->gl_config.profile_mask != 0) { in WIN_GL_CreateContext()
674 attribs[iattr++] = _this->gl_config.profile_mask; in WIN_GL_CreateContext()
DSDL_windowswindow.c310 _this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES in WIN_CreateWindow()
/third_party/mesa3d/src/egl/drivers/wgl/
Degl_wgl.c404 unsigned profile_mask = 0; in wgl_create_context() local
407 profile_mask = WGL_CONTEXT_ES_PROFILE_BIT_EXT; in wgl_create_context()
414 profile_mask = WGL_CONTEXT_CORE_PROFILE_BIT_ARB; in wgl_create_context()
417 profile_mask = WGL_CONTEXT_CORE_PROFILE_BIT_ARB; in wgl_create_context()
419 profile_mask = WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB; in wgl_create_context()
452 profile_mask, in wgl_create_context()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11opengl.c230 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES && in X11_GL_LoadLibrary()
590 _this->gl_config.profile_mask == 0 && in X11_GL_CreateContext()
607 if( _this->gl_config.profile_mask != 0 ) { in X11_GL_CreateContext()
609 attribs[iattr++] = _this->gl_config.profile_mask; in X11_GL_CreateContext()
DSDL_x11opengles.c37 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in X11_GLES_LoadLibrary()
DSDL_x11window.c390 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES in X11_CreateWindow()
601 _this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES in X11_CreateWindow()
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoaopengl.m167 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) {
171 if ((_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_CORE) && !lion_or_later) {
181 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_CORE) {
265 _this->gl_config.profile_mask == 0 &&
/third_party/mesa3d/src/gallium/include/frontend/
Dapi.h526 unsigned profile_mask; member
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles/
DSDL_render_gles.c286 int profile_mask = 0, major = 0, minor = 0; in GLES_CreateRenderer() local
289 SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask); in GLES_CreateRenderer()
295profile_mask != SDL_GL_CONTEXT_PROFILE_ES || major != RENDERER_CONTEXT_MAJOR || minor != RENDERER_… in GLES_CreateRenderer()
400 SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, profile_mask); in GLES_CreateRenderer()
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengl/
DSDL_render_gl.c395 int profile_mask = 0, major = 0, minor = 0; in GL_CreateRenderer() local
398 SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask); in GL_CreateRenderer()
404profile_mask == SDL_GL_CONTEXT_PROFILE_ES || major != RENDERER_CONTEXT_MAJOR || minor != RENDERER_… in GL_CreateRenderer()
572 SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, profile_mask); in GL_CreateRenderer()
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles2/
DSDL_render_gles2.c1969 int profile_mask = 0, major = 0, minor = 0; in GLES2_CreateRenderer() local
1972 if (SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask) < 0) { in GLES2_CreateRenderer()
1984profile_mask != SDL_GL_CONTEXT_PROFILE_ES || major != RENDERER_CONTEXT_MAJOR || minor != RENDERER_… in GLES2_CreateRenderer()
2127 SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, profile_mask); in GLES2_CreateRenderer()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_manager.c883 if (!(stapi->profile_mask & (1 << attribs->profile))) in st_api_create_context()
1325 .profile_mask = ST_PROFILE_DEFAULT_MASK |