Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11gl.c69 extensions = this->gl_data->glXQueryExtensionsString(GFX_Display,SDL_Screen); in glXExtensionSupported()
199 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display, in X11_GL_GetVisual()
204 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display, in X11_GL_GetVisual()
261 glx_context = this->gl_data->glXCreateContext(GFX_Display, in X11_GL_CreateContext()
275 this->gl_data->glXSwapIntervalSGI = NULL; in X11_GL_CreateContext()
278 this->gl_data->glXSwapIntervalMESA = NULL; in X11_GL_CreateContext()
279 this->gl_data->glXGetSwapIntervalMESA = NULL; in X11_GL_CreateContext()
282 if ( this->gl_data->glXSwapIntervalMESA ) { in X11_GL_CreateContext()
283 this->gl_data->glXSwapIntervalMESA(this->gl_config.swap_control); in X11_GL_CreateContext()
284 } else if ( this->gl_data->glXSwapIntervalSGI ) { in X11_GL_CreateContext()
[all …]
DSDL_x11gl_c.h82 #define gl_active (this->gl_data->gl_active)
83 #define glx_context (this->gl_data->glx_context)
84 #define glx_visualinfo (this->gl_data->glx_visualinfo)
DSDL_x11video.c96 if ( device->gl_data ) { in X11_DeleteDevice()
97 SDL_free(device->gl_data); in X11_DeleteDevice()
116 device->gl_data = (struct SDL_PrivateGLData *) in X11_CreateDevice()
117 SDL_malloc((sizeof *device->gl_data)); in X11_CreateDevice()
118 SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); in X11_CreateDevice()
121 (device->gl_data == NULL) ) { in X11_CreateDevice()
127 SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); in X11_CreateDevice()
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
DSDL_wingl.c133 hglrc = this->gl_data->wglCreateContext(hdc); in ChoosePixelFormatARB()
135 this->gl_data->wglMakeCurrent(hdc, hglrc); in ChoosePixelFormatARB()
139 this->gl_data->wglGetProcAddress("wglGetExtensionsStringARB"); in ChoosePixelFormatARB()
147 this->gl_data->WGL_ARB_pixel_format = 0; in ChoosePixelFormatARB()
152 this->gl_data->wglGetProcAddress("wglChoosePixelFormatARB"); in ChoosePixelFormatARB()
155 this->gl_data->WGL_ARB_pixel_format = 1; in ChoosePixelFormatARB()
160 this->gl_data->wglMakeCurrent(NULL, NULL); in ChoosePixelFormatARB()
161 this->gl_data->wglDeleteContext(hglrc); in ChoosePixelFormatARB()
323 GL_hrc = this->gl_data->wglCreateContext(GL_hdc); in WIN_GL_SetupWindow()
334 if ( this->gl_data->WGL_ARB_pixel_format ) { in WIN_GL_SetupWindow()
[all …]
DSDL_wingl_c.h58 #define gl_active (this->gl_data->gl_active)
59 #define GL_pfd (this->gl_data->GL_pfd)
60 #define GL_hdc (this->gl_data->GL_hdc)
61 #define GL_hrc (this->gl_data->GL_hrc)
62 #define pixel_format (this->gl_data->pixel_format)
/external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/
DSDL_atarigl_c.h83 #define gl_active (this->gl_data->gl_active)
84 #define gl_ctx (this->gl_data->ctx)
85 #define gl_oldmesa (this->gl_data->gl_oldmesa)
86 #define gl_pixelsize (this->gl_data->gl_pixelsize)
87 #define gl_upsidedown (this->gl_data->gl_upsidedown)
88 #define gl_shadow (this->gl_data->gl_shadow)
89 #define gl_convert (this->gl_data->ConvertSurface)
90 #define gl_copyshadow (this->gl_data->CopyShadow)
91 #define gl_curformat (this->gl_data->format)
92 #define gl_curdepth (this->gl_data->depth)
[all …]
DSDL_atarigl.c96 if (this->gl_data->OSMesaDestroyLDG) { in SDL_AtariGL_Quit()
97 this->gl_data->OSMesaDestroyLDG(); in SDL_AtariGL_Quit()
106 if (this->gl_data->OSMesaDestroyContext) { in SDL_AtariGL_Quit()
107 this->gl_data->OSMesaDestroyContext(gl_ctx); in SDL_AtariGL_Quit()
168 this->gl_data->glGetIntegerv = SDL_LoadFunction(handle, "glGetIntegerv"); in SDL_AtariGL_LoadLibrary()
169 this->gl_data->glFinish = SDL_LoadFunction(handle, "glFinish"); in SDL_AtariGL_LoadLibrary()
170 this->gl_data->glFlush = SDL_LoadFunction(handle, "glFlush"); in SDL_AtariGL_LoadLibrary()
173 if (this->gl_data->glGetIntegerv == NULL) { in SDL_AtariGL_LoadLibrary()
177 if ((this->gl_data->glFinish == NULL) && in SDL_AtariGL_LoadLibrary()
178 (this->gl_data->glFlush == NULL)) { in SDL_AtariGL_LoadLibrary()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxvideo.c172 if ( device->gl_data ) { in CGX_DeleteDevice()
173 SDL_free(device->gl_data); in CGX_DeleteDevice()
189 device->gl_data = (struct SDL_PrivateGLData *) in CGX_CreateDevice()
190 SDL_malloc((sizeof *device->gl_data)); in CGX_CreateDevice()
193 (device->gl_data == NULL) ) { in CGX_CreateDevice()
200 SDL_memset(device->gl_data, 0, sizeof(*device->gl_data)); in CGX_CreateDevice()
865 if(this->gl_data->gl_active == 0) { in CGX_CreateWindow()
1319 if(this->gl_data->gl_active == 1) { in CGX_VideoQuit()
DSDL_cgxgl.c92 this->gl_data->gl_active = 1; in CGX_GL_Init()
109 this->gl_data->gl_active = 0; in CGX_GL_Quit()
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_video.c80 device->gl_data = NULL; in ph_CreateDevice()
154 if (device->gl_data) in ph_DeleteDevice()
156 SDL_free(device->gl_data); in ph_DeleteDevice()
157 device->gl_data = NULL; in ph_DeleteDevice()
/external/qemu/distrib/sdl-1.2.12/src/video/windib/
DSDL_dibvideo.c119 if ( device->gl_data ) { in DIB_DeleteDevice()
120 SDL_free(device->gl_data); in DIB_DeleteDevice()
136 device->gl_data = (struct SDL_PrivateGLData *) in DIB_CreateDevice()
137 SDL_malloc((sizeof *device->gl_data)); in DIB_CreateDevice()
140 (device->gl_data == NULL) ) { in DIB_CreateDevice()
146 SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); in DIB_CreateDevice()
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/
DSDL_nxvideo.c71 if (device -> gl_data) SDL_free (device -> gl_data) ; in NX_DeleteDevice()
90 device -> gl_data = NULL ; in NX_CreateDevice()
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/
DSDL_xbios.c153 device->gl_data = (struct SDL_PrivateGLData *) in XBIOS_CreateDevice()
154 SDL_malloc((sizeof *device->gl_data)); in XBIOS_CreateDevice()
164 SDL_memset(device->gl_data, 0, sizeof(*device->gl_data)); in XBIOS_CreateDevice()
/external/qemu/distrib/sdl-1.2.12/src/video/gem/
DSDL_gemvideo.c140 device->gl_data = (struct SDL_PrivateGLData *) in GEM_CreateDevice()
141 SDL_malloc((sizeof *device->gl_data)); in GEM_CreateDevice()
151 SDL_memset(device->gl_data, 0, sizeof(*device->gl_data)); in GEM_CreateDevice()
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/
DSDL_dx5video.c549 if ( this->gl_data ) { in DX5_DeleteDevice()
550 SDL_free(this->gl_data); in DX5_DeleteDevice()
571 device->gl_data = (struct SDL_PrivateGLData *) in DX5_CreateDevice()
572 SDL_malloc((sizeof *device->gl_data)); in DX5_CreateDevice()
575 (device->gl_data == NULL) ) { in DX5_CreateDevice()
581 SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); in DX5_CreateDevice()
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_sysvideo.h320 struct SDL_PrivateGLData *gl_data; member