/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsopengl.c | 108 if (!_this->gl_config.dll_handle) { in WIN_GL_LoadLibrary() 121 handle = _this->gl_config.dll_handle; in WIN_GL_LoadLibrary() 174 ++_this->gl_config.driver_loaded; in WIN_GL_LoadLibrary() 176 --_this->gl_config.driver_loaded; in WIN_GL_LoadLibrary() 199 _this->gl_config.dll_handle = NULL; in WIN_GL_UnloadLibrary() 216 if (_this->gl_config.stereo) { in WIN_GL_SetupPixelFormat() 225 if (_this->gl_config.buffer_size) { in WIN_GL_SetupPixelFormat() 227 _this->gl_config.buffer_size - _this->gl_config.alpha_size; in WIN_GL_SetupPixelFormat() 550 if (_this->gl_config.alpha_size) { in WIN_GL_SetupWindowInternal() 586 if (_this->gl_config.stereo) { in WIN_GL_SetupWindowInternal() [all …]
|
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_windowswindow.c | 356 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES in WIN_CreateWindow()
|
/AliOS-Things-master/components/SDL2/src/video/haiku/ |
A D | SDL_bopengl.cc | 58 _this->gl_config.driver_loaded = 1; in HAIKU_GL_LoadLibrary() 59 SDL_strlcpy(_this->gl_config.driver_path, "libGL.so", in HAIKU_GL_LoadLibrary() 68 if (_this->gl_config.dll_handle != NULL) { in HAIKU_GL_GetProcAddress() 106 if (_this->gl_config.alpha_size) { in HAIKU_GL_CreateContext() 109 if (_this->gl_config.depth_size) { in HAIKU_GL_CreateContext() 112 if (_this->gl_config.stencil_size) { in HAIKU_GL_CreateContext() 115 if (_this->gl_config.double_buffer) { in HAIKU_GL_CreateContext() 120 if (_this->gl_config.accum_red_size || in HAIKU_GL_CreateContext() 121 _this->gl_config.accum_green_size || in HAIKU_GL_CreateContext() 122 _this->gl_config.accum_blue_size || in HAIKU_GL_CreateContext() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11opengl.c | 176 if (!_this->gl_config.dll_handle) { in X11_GL_LoadLibrary() 195 handle = _this->gl_config.dll_handle; in X11_GL_LoadLibrary() 238 ++_this->gl_config.driver_loaded; in X11_GL_LoadLibrary() 240 --_this->gl_config.driver_loaded; in X11_GL_LoadLibrary() 291 _this->gl_config.dll_handle = NULL; in X11_GL_UnloadLibrary() 508 if (_this->gl_config.alpha_size) { in X11_GL_GetAttributes() 513 if (_this->gl_config.double_buffer) { in X11_GL_GetAttributes() 523 if (_this->gl_config.stencil_size) { in X11_GL_GetAttributes() 528 if (_this->gl_config.accum_red_size) { in X11_GL_GetAttributes() 548 if (_this->gl_config.stereo) { in X11_GL_GetAttributes() [all …]
|
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/video/nacl/ |
A D | SDL_naclopengles.c | 81 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 …]
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoaopengl.m | 156 if (!_this->gl_config.dll_handle) { 174 _this->gl_config.dll_handle = NULL; 237 attr[i++] = _this->gl_config.depth_size; 239 if (_this->gl_config.double_buffer) { 243 if (_this->gl_config.stereo) { 247 if (_this->gl_config.stencil_size) { 252 if ((_this->gl_config.accum_red_size + 254 _this->gl_config.accum_blue_size + 257 …attr[i++] = _this->gl_config.accum_red_size + _this->gl_config.accum_green_size + _this->gl_config… 272 if (_this->gl_config.accelerated) { [all …]
|
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_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/pandora/ |
A D | SDL_pandora.c | 347 if (!_this->gl_config.dll_handle) { in PND_gl_loadlibrary() 372 if (_this->gl_config.dll_handle) { in PND_gl_getprocaddres() 392 if (_this->gl_config.dll_handle) { in PND_gl_unloadlibrary() 431 if (_this->gl_config.alpha_size) { in PND_gl_createcontext() 438 if (_this->gl_config.buffer_size) { in PND_gl_createcontext() 451 if (_this->gl_config.stencil_size) { in PND_gl_createcontext() 569 if (_this->gl_config.stencil_size) { in PND_gl_createcontext() 583 if (_this->gl_config.depth_size) { in PND_gl_createcontext() 661 _this->gl_config.accelerated = 1; in PND_gl_createcontext() 664 _this->gl_config.stereo = 0; in PND_gl_createcontext() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_egl.c | 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() 703 if (_this->gl_config.alpha_size) { in SDL_EGL_ChooseConfig() 708 if (_this->gl_config.buffer_size) { in SDL_EGL_ChooseConfig() 716 if (_this->gl_config.stencil_size) { in SDL_EGL_ChooseConfig() 875 _this->gl_config.flags == 0 && in SDL_EGL_CreateContext() [all …]
|
A D | SDL_video.c | 527 _this->gl_config.driver_loaded = 0; in SDL_VideoInit() 528 _this->gl_config.dll_handle = NULL; in SDL_VideoInit() 3141 _this->gl_config.red_size = 3; in SDL_GL_ResetAttributes() 3142 _this->gl_config.green_size = 3; in SDL_GL_ResetAttributes() 3143 _this->gl_config.blue_size = 2; in SDL_GL_ResetAttributes() 3144 _this->gl_config.alpha_size = 0; in SDL_GL_ResetAttributes() 3145 _this->gl_config.buffer_size = 0; in SDL_GL_ResetAttributes() 3146 _this->gl_config.depth_size = 16; in SDL_GL_ResetAttributes() 3153 _this->gl_config.stereo = 0; in SDL_GL_ResetAttributes() 3179 _this->gl_config.flags = 0; in SDL_GL_ResetAttributes() [all …]
|
A D | SDL_sysvideo.h | 366 } gl_config; member
|
/AliOS-Things-master/components/SDL2/src/video/psp/ |
A D | SDL_pspgl.c | 98 attribs[i++] = _this->gl_config.red_size; in PSP_GL_CreateContext() 100 attribs[i++] = _this->gl_config.green_size; in PSP_GL_CreateContext() 102 attribs[i++] = _this->gl_config.blue_size; in PSP_GL_CreateContext() 104 attribs[i++] = _this->gl_config.depth_size; in PSP_GL_CreateContext() 106 if (_this->gl_config.alpha_size) in PSP_GL_CreateContext() 109 attribs[i++] = _this->gl_config.alpha_size; in PSP_GL_CreateContext() 111 if (_this->gl_config.stencil_size) in PSP_GL_CreateContext() 114 attribs[i++] = _this->gl_config.stencil_size; in PSP_GL_CreateContext()
|
/AliOS-Things-master/components/SDL2/src/video/uikit/ |
A D | SDL_uikitopengles.m | 146 int major = _this->gl_config.major_version; 147 int minor = _this->gl_config.minor_version; 160 if (_this->gl_config.multisamplebuffers > 0) { 161 samples = _this->gl_config.multisamplesamples; 164 if (_this->gl_config.share_with_current_context) { 190 rBits:_this->gl_config.red_size 191 gBits:_this->gl_config.green_size 192 bBits:_this->gl_config.blue_size 193 aBits:_this->gl_config.alpha_size 194 depthBits:_this->gl_config.depth_size [all …]
|
A D | SDL_uikitvideo.m | 147 device->gl_config.accelerated = 1; 162 _this->gl_config.driver_loaded = 1;
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_opengl.c | 135 _this->gl_config.dll_handle = handle; in DirectFB_GL_LoadLibrary() 137 SDL_strlcpy(_this->gl_config.driver_path, path, in DirectFB_GL_LoadLibrary() 138 SDL_arraysize(_this->gl_config.driver_path)); in DirectFB_GL_LoadLibrary() 140 *_this->gl_config.driver_path = '\0'; in DirectFB_GL_LoadLibrary() 153 int ret = GL_UnloadObject(_this->gl_config.dll_handle); in DirectFB_GL_UnloadLibrary() 156 _this->gl_config.dll_handle = NULL; in DirectFB_GL_UnloadLibrary() 168 handle = _this->gl_config.dll_handle; in DirectFB_GL_GetProcAddress()
|
/AliOS-Things-master/components/SDL2/src/video/emscripten/ |
A D | SDL_emscriptenopengles.c | 77 SDL_strlcpy(_this->gl_config.driver_path, path, sizeof(_this->gl_config.driver_path) - 1); in Emscripten_GLES_LoadLibrary() 79 *_this->gl_config.driver_path = '\0'; in Emscripten_GLES_LoadLibrary()
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmvideo.c | 666 if (_this->gl_config.driver_loaded) { in KMSDRM_VideoQuit()
|