Home
last modified time | relevance | path

Searched refs:gl_config (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsopengl.c101 _this->gl_config.dll_handle = SDL_LoadObject(path); in WIN_GL_LoadLibrary()
102 if (!_this->gl_config.dll_handle) { in WIN_GL_LoadLibrary()
105 SDL_strlcpy(_this->gl_config.driver_path, path, in WIN_GL_LoadLibrary()
106 SDL_arraysize(_this->gl_config.driver_path)); in WIN_GL_LoadLibrary()
115 handle = _this->gl_config.dll_handle; in WIN_GL_LoadLibrary()
146 func = GetProcAddress(_this->gl_config.dll_handle, proc); in WIN_GL_GetProcAddress()
154 SDL_UnloadObject(_this->gl_config.dll_handle); in WIN_GL_UnloadLibrary()
155 _this->gl_config.dll_handle = NULL; in WIN_GL_UnloadLibrary()
169 if (_this->gl_config.double_buffer) { in WIN_GL_SetupPixelFormat()
172 if (_this->gl_config.stereo) { in WIN_GL_SetupPixelFormat()
[all …]
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()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11opengl.c164 _this->gl_config.dll_handle = GL_LoadObject(path); in X11_GL_LoadLibrary()
165 if (!_this->gl_config.dll_handle) { in X11_GL_LoadLibrary()
171 SDL_strlcpy(_this->gl_config.driver_path, path, in X11_GL_LoadLibrary()
172 SDL_arraysize(_this->gl_config.driver_path)); in X11_GL_LoadLibrary()
184 handle = _this->gl_config.dll_handle; in X11_GL_LoadLibrary()
230 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES && in X11_GL_LoadLibrary()
235 if (_this->gl_config.dll_handle != NULL ) { in X11_GL_LoadLibrary()
236 GL_UnloadObject(_this->gl_config.dll_handle); in X11_GL_LoadLibrary()
237 _this->gl_config.dll_handle = NULL; in X11_GL_LoadLibrary()
263 return GL_LoadFunction(_this->gl_config.dll_handle, proc); in X11_GL_GetProcAddress()
[all …]
DSDL_x11opengles.c37 if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) { in X11_GLES_LoadLibrary()
/third_party/flutter/skia/third_party/externals/sdl/src/video/nacl/
DSDL_naclopengles.c81 if (_this->gl_config.share_with_current_context) { in NACL_GLES_CreateContext()
92 attribs[i++] = _this->gl_config.red_size; in NACL_GLES_CreateContext()
94 attribs[i++] = _this->gl_config.green_size; in NACL_GLES_CreateContext()
96 attribs[i++] = _this->gl_config.blue_size; in NACL_GLES_CreateContext()
98 if (_this->gl_config.alpha_size) { in NACL_GLES_CreateContext()
100 attribs[i++] = _this->gl_config.alpha_size; in NACL_GLES_CreateContext()
109 attribs[i++] = _this->gl_config.depth_size; in NACL_GLES_CreateContext()
111 if (_this->gl_config.stencil_size) { in NACL_GLES_CreateContext()
113 attribs[i++] = _this->gl_config.stencil_size; in NACL_GLES_CreateContext()
116 if (_this->gl_config.multisamplebuffers) { in NACL_GLES_CreateContext()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoaopengl.m129 _this->gl_config.dll_handle = SDL_LoadObject(path);
130 if (!_this->gl_config.dll_handle) {
133 SDL_strlcpy(_this->gl_config.driver_path, path,
134 SDL_arraysize(_this->gl_config.driver_path));
141 return SDL_LoadFunction(_this->gl_config.dll_handle, proc);
147 SDL_UnloadObject(_this->gl_config.dll_handle);
148 _this->gl_config.dll_handle = NULL;
167 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) {
[all …]
/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()
200 if (_this->gl_config.major_version > 1) { in SDL_EGL_LoadLibrary()
280 _this->gl_config.driver_loaded = 1; in SDL_EGL_LoadLibrary()
283 SDL_strlcpy(_this->gl_config.driver_path, path, sizeof(_this->gl_config.driver_path) - 1); in SDL_EGL_LoadLibrary()
285 *_this->gl_config.driver_path = '\0'; in SDL_EGL_LoadLibrary()
309 attribs[i++] = _this->gl_config.red_size; in SDL_EGL_ChooseConfig()
311 attribs[i++] = _this->gl_config.green_size; in SDL_EGL_ChooseConfig()
313 attribs[i++] = _this->gl_config.blue_size; in SDL_EGL_ChooseConfig()
315 if (_this->gl_config.alpha_size) { in SDL_EGL_ChooseConfig()
317 attribs[i++] = _this->gl_config.alpha_size; in SDL_EGL_ChooseConfig()
[all …]
DSDL_video.c509 _this->gl_config.driver_loaded = 0; in SDL_VideoInit()
510 _this->gl_config.dll_handle = NULL; in SDL_VideoInit()
2720 if (_this->gl_config.driver_loaded) { in SDL_GL_LoadLibrary()
2721 if (path && SDL_strcmp(path, _this->gl_config.driver_path) != 0) { in SDL_GL_LoadLibrary()
2732 ++_this->gl_config.driver_loaded; in SDL_GL_LoadLibrary()
2752 if (_this->gl_config.driver_loaded) { in SDL_GL_GetProcAddress()
2770 if (_this->gl_config.driver_loaded > 0) { in SDL_GL_UnloadLibrary()
2771 if (--_this->gl_config.driver_loaded > 0) { in SDL_GL_UnloadLibrary()
2877 _this->gl_config.red_size = 3; in SDL_GL_ResetAttributes()
2878 _this->gl_config.green_size = 3; in SDL_GL_ResetAttributes()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/pandora/
DSDL_pandora.c342 _this->gl_config.dll_handle = SDL_LoadObject(path); in PND_gl_loadlibrary()
343 if (!_this->gl_config.dll_handle) { in PND_gl_loadlibrary()
349 SDL_strlcpy(_this->gl_config.driver_path, path, in PND_gl_loadlibrary()
350 SDL_arraysize(_this->gl_config.driver_path)); in PND_gl_loadlibrary()
368 if (_this->gl_config.dll_handle) { in PND_gl_getprocaddres()
370 SDL_LoadFunction(_this->gl_config.dll_handle, proc); in PND_gl_getprocaddres()
388 if (_this->gl_config.dll_handle) { in PND_gl_unloadlibrary()
389 SDL_UnloadObject(_this->gl_config.dll_handle); in PND_gl_unloadlibrary()
390 _this->gl_config.dll_handle = NULL; in PND_gl_unloadlibrary()
419 wdata->gles_attributes[attr_pos++] = _this->gl_config.red_size; in PND_gl_createcontext()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/psp/
DSDL_pspgl.c50 if (!_this->gl_config.driver_loaded) { in PSP_GL_LoadLibrary()
51 _this->gl_config.driver_loaded = 1; in PSP_GL_LoadLibrary()
102 attribs[i++] = _this->gl_config.red_size; in PSP_GL_CreateContext()
104 attribs[i++] = _this->gl_config.green_size; in PSP_GL_CreateContext()
106 attribs[i++] = _this->gl_config.blue_size; in PSP_GL_CreateContext()
108 attribs[i++] = _this->gl_config.depth_size; in PSP_GL_CreateContext()
110 if (_this->gl_config.alpha_size) in PSP_GL_CreateContext()
113 attribs[i++] = _this->gl_config.alpha_size; in PSP_GL_CreateContext()
115 if (_this->gl_config.stencil_size) in PSP_GL_CreateContext()
118 attribs[i++] = _this->gl_config.stencil_size; in PSP_GL_CreateContext()
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_opengl.c135 _this->gl_config.dll_handle = handle; in DirectFB_GL_LoadLibrary()
136 _this->gl_config.driver_loaded = 1; in DirectFB_GL_LoadLibrary()
138 SDL_strlcpy(_this->gl_config.driver_path, path, in DirectFB_GL_LoadLibrary()
139 SDL_arraysize(_this->gl_config.driver_path)); in DirectFB_GL_LoadLibrary()
141 *_this->gl_config.driver_path = '\0'; in DirectFB_GL_LoadLibrary()
156 if (_this->gl_config.driver_loaded) { in DirectFB_GL_UnloadLibrary()
158 ret = GL_UnloadObject(_this->gl_config.dll_handle); in DirectFB_GL_UnloadLibrary()
161 _this->gl_config.dll_handle = NULL; in DirectFB_GL_UnloadLibrary()
162 _this->gl_config.driver_loaded = 0; in DirectFB_GL_UnloadLibrary()
175 handle = _this->gl_config.dll_handle; in DirectFB_GL_GetProcAddress()
/third_party/flutter/skia/third_party/externals/sdl/src/video/uikit/
DSDL_uikitopengles.m143 int major = _this->gl_config.major_version;
144 int minor = _this->gl_config.minor_version;
157 if (_this->gl_config.multisamplebuffers > 0) {
158 samples = _this->gl_config.multisamplesamples;
161 if (_this->gl_config.share_with_current_context) {
182 … SDL_SetError("OpenGL ES %d context could not be created", _this->gl_config.major_version);
189 retainBacking:_this->gl_config.retained_backing
190 rBits:_this->gl_config.red_size
191 gBits:_this->gl_config.green_size
192 bBits:_this->gl_config.blue_size
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/haiku/
DSDL_bopengl.cc59 _this->gl_config.dll_handle = (void *) info.id; in BE_GL_LoadLibrary()
60 _this->gl_config.driver_loaded = 1; in BE_GL_LoadLibrary()
61 SDL_strlcpy(_this->gl_config.driver_path, "libGL.so", in BE_GL_LoadLibrary()
62 SDL_arraysize(_this->gl_config.driver_path)); in BE_GL_LoadLibrary()
70 if (_this->gl_config.dll_handle != NULL) { in BE_GL_GetProcAddress()
74 get_image_symbol((image_id) _this->gl_config.dll_handle, in BE_GL_GetProcAddress()
/third_party/flutter/skia/third_party/externals/sdl/src/video/emscripten/
DSDL_emscriptenopengles.c69 _this->gl_config.driver_loaded = 1; in Emscripten_GLES_LoadLibrary()
72 SDL_strlcpy(_this->gl_config.driver_path, path, sizeof(_this->gl_config.driver_path) - 1); in Emscripten_GLES_LoadLibrary()
74 *_this->gl_config.driver_path = '\0'; in Emscripten_GLES_LoadLibrary()
/third_party/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.h63 struct gl_config;
126 const struct gl_config *glVis,
136 const struct gl_config *glVis,
Dutils.h39 struct gl_config modes;
/third_party/mesa3d/src/mesa/main/
Dframebuffer.h31 struct gl_config;
40 const struct gl_config *visual);
Dcontext.h71 _mesa_initialize_visual( struct gl_config *v,
98 const struct gl_config *visual,
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.h112 const struct gl_config *visual, __DRIcontext *dri_ctx,
119 const struct gl_config *visual, struct gl_context *share_ctx);
Dnouveau_fbo.h48 nouveau_framebuffer_dri_new(const struct gl_config *visual);
Dnouveau_driver.h52 const struct gl_config *visual,
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglcontext.h165 gboolean (*request_config) (GstGLContext * context, GstStructure * gl_config);
184 gboolean gst_gl_context_request_config (GstGLContext * context, GstStructure * gl_config);
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_context.h93 const struct gl_config * visual,
Ddri_drawable.h97 const struct gl_config * visual, bool isPixmap);
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di830_context.c56 const struct gl_config * mesaVis, in i830CreateContext()

1234