Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11gl.c76 extensions = this->gl_data->glXQueryExtensionsString(GFX_Display,SDL_Screen); in glXExtensionSupported()
206 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display, in X11_GL_GetVisual()
211 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display, in X11_GL_GetVisual()
268 glx_context = this->gl_data->glXCreateContext(GFX_Display, in X11_GL_CreateContext()
282 this->gl_data->glXSwapIntervalSGI = NULL; in X11_GL_CreateContext()
285 this->gl_data->glXSwapIntervalMESA = NULL; in X11_GL_CreateContext()
288 this->gl_data->glXSwapIntervalEXT = NULL; in X11_GL_CreateContext()
293 if ( this->gl_data->glXSwapIntervalEXT ) { in X11_GL_CreateContext()
294 rc = this->gl_data->glXSwapIntervalEXT(GFX_Display, SDL_Window, in X11_GL_CreateContext()
296 } else if ( this->gl_data->glXSwapIntervalMESA ) { 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.c95 if ( device->gl_data ) { in X11_DeleteDevice()
96 SDL_free(device->gl_data); in X11_DeleteDevice()
114 device->gl_data = (struct SDL_PrivateGLData *) in X11_CreateDevice()
115 SDL_malloc((sizeof *device->gl_data)); in X11_CreateDevice()
118 (device->gl_data == NULL) ) { in X11_CreateDevice()
124 SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); in X11_CreateDevice()
127 device->gl_data->swap_interval = -1; in X11_CreateDevice()
/external/qemu/distrib/sdl-1.2.15/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()
335 GL_hrc = this->gl_data->wglCreateContext(GL_hdc); in WIN_GL_SetupWindow()
346 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.15/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.15/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.15/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.15/src/video/windib/
DSDL_dibvideo.c143 if ( device->gl_data ) { in DIB_DeleteDevice()
144 SDL_free(device->gl_data); in DIB_DeleteDevice()
170 device->gl_data = (struct SDL_PrivateGLData *) in DIB_CreateDevice()
171 SDL_malloc((sizeof *device->gl_data)); in DIB_CreateDevice()
174 (device->gl_data == NULL) ) { in DIB_CreateDevice()
180 SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); in DIB_CreateDevice()
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/
DSDL_xbios.c212 device->gl_data = (struct SDL_PrivateGLData *) in XBIOS_CreateDevice()
213 SDL_malloc((sizeof *device->gl_data)); in XBIOS_CreateDevice()
223 SDL_memset(device->gl_data, 0, sizeof(*device->gl_data)); in XBIOS_CreateDevice()
/external/qemu/distrib/sdl-1.2.15/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.15/src/video/
DSDL_sysvideo.h320 struct SDL_PrivateGLData *gl_data; member
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
DSDL_dx5video.c565 if ( this->gl_data ) { in DX5_DeleteDevice()
566 SDL_free(this->gl_data); in DX5_DeleteDevice()
587 device->gl_data = (struct SDL_PrivateGLData *) in DX5_CreateDevice()
588 SDL_malloc((sizeof *device->gl_data)); in DX5_CreateDevice()
591 (device->gl_data == NULL) ) { in DX5_CreateDevice()
597 SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); in DX5_CreateDevice()