Home
last modified time | relevance | path

Searched refs:gl_data (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11opengl.c164 if (_this->gl_data) { in X11_GL_LoadLibrary()
186 _this->gl_data = in X11_GL_LoadLibrary()
190 if (!_this->gl_data) { in X11_GL_LoadLibrary()
211 _this->gl_data->glXMakeCurrent = in X11_GL_LoadLibrary()
214 _this->gl_data->glXSwapBuffers = in X11_GL_LoadLibrary()
231 …if (!_this->gl_data->glXQueryExtension(display, &_this->gl_data->errorBase, &_this->gl_data->event… in X11_GL_LoadLibrary()
295 SDL_free(_this->gl_data); in X11_GL_UnloadLibrary()
296 _this->gl_data = NULL; in X11_GL_UnloadLibrary()
605 if (!_this->gl_data) { in X11_GL_GetVisual()
818 if (!_this->gl_data) { in X11_GL_MakeCurrent()
[all …]
A DSDL_x11window.c423 && ( !_this->gl_data || X11_GL_UseEGL(_this) ) in X11_CreateWindow()
636 && ( !_this->gl_data || X11_GL_UseEGL(_this) ) in X11_CreateWindow()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsopengl.c116 if (!_this->gl_data) { in WIN_GL_LoadLibrary()
133 if (!_this->gl_data->wglGetProcAddress || in WIN_GL_LoadLibrary()
134 !_this->gl_data->wglCreateContext || in WIN_GL_LoadLibrary()
135 !_this->gl_data->wglDeleteContext || in WIN_GL_LoadLibrary()
136 !_this->gl_data->wglMakeCurrent) { in WIN_GL_LoadLibrary()
202 SDL_free(_this->gl_data); in WIN_GL_UnloadLibrary()
203 _this->gl_data = NULL; in WIN_GL_UnloadLibrary()
388 if (!_this->gl_data) { in WIN_GL_InitExtensions()
655 SDL_assert(_this->gl_data != NULL); in WIN_GL_UseEGL()
800 if (!_this->gl_data) { in WIN_GL_MakeCurrent()
[all …]
A DSDL_windowswindow.c358 && (!_this->gl_data || WIN_GL_UseEGL(_this)) in WIN_CreateWindow()
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_opengl.c66 if (_this->gl_data) { in DirectFB_GL_Initialize()
70 _this->gl_data = in DirectFB_GL_Initialize()
74 if (!_this->gl_data) { in DirectFB_GL_Initialize()
77 _this->gl_data->initialized = 0; in DirectFB_GL_Initialize()
79 ++_this->gl_data->initialized; in DirectFB_GL_Initialize()
80 _this->gl_data->firstgl = NULL; in DirectFB_GL_Initialize()
97 if (!_this->gl_data || (--_this->gl_data->initialized > 0)) { in DirectFB_GL_Shutdown()
103 SDL_free(_this->gl_data); in DirectFB_GL_Shutdown()
104 _this->gl_data = NULL; in DirectFB_GL_Shutdown()
159 SDL_free(_this->gl_data); in DirectFB_GL_UnloadLibrary()
[all …]
/AliOS-Things-master/components/SDL2/src/video/psp/
A DSDL_pspgl.c68 eglTerminate(_this->gl_data->display); in PSP_GL_UnloadLibrary()
134 _this->gl_data->display = display; in PSP_GL_CreateContext()
135 _this->gl_data->context = context; in PSP_GL_CreateContext()
136 _this->gl_data->surface = surface; in PSP_GL_CreateContext()
145 if (!eglMakeCurrent(_this->gl_data->display, _this->gl_data->surface, in PSP_GL_MakeCurrent()
146 _this->gl_data->surface, _this->gl_data->context)) in PSP_GL_MakeCurrent()
157 status = eglSwapInterval(_this->gl_data->display, interval); in PSP_GL_SetSwapInterval()
160 _this->gl_data->swapinterval = interval; in PSP_GL_SetSwapInterval()
170 return _this->gl_data->swapinterval; in PSP_GL_GetSwapInterval()
176 if (!eglSwapBuffers(_this->gl_data->display, _this->gl_data->surface)) { in PSP_GL_SwapWindow()
[all …]
A DSDL_pspvideo.c98 device->gl_data = gldata; in PSP_Create()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_sysvideo.h397 struct SDL_GLDriverData *gl_data; member

Completed in 16 milliseconds