Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11video.c @ 4782:b6930aefd008
Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Wed, 30 Jun 2010 16:19:44 -0400 |
parents | c0f2a1e6f0cd |
children | 329708ffe2a7 |
comparison
equal
deleted
inserted
replaced
4781:fc4c775b468a | 4782:b6930aefd008 |
---|---|
26 #include "../SDL_sysvideo.h" | 26 #include "../SDL_sysvideo.h" |
27 #include "../SDL_pixels_c.h" | 27 #include "../SDL_pixels_c.h" |
28 | 28 |
29 #include "SDL_x11video.h" | 29 #include "SDL_x11video.h" |
30 #include "SDL_x11render.h" | 30 #include "SDL_x11render.h" |
31 #include "SDL_x11shape.h" | |
31 | 32 |
32 #if SDL_VIDEO_DRIVER_PANDORA | 33 #if SDL_VIDEO_DRIVER_PANDORA |
33 #include "SDL_x11opengles.h" | 34 #include "SDL_x11opengles.h" |
34 #endif | 35 #endif |
35 | 36 |
200 device->MinimizeWindow = X11_MinimizeWindow; | 201 device->MinimizeWindow = X11_MinimizeWindow; |
201 device->RestoreWindow = X11_RestoreWindow; | 202 device->RestoreWindow = X11_RestoreWindow; |
202 device->SetWindowGrab = X11_SetWindowGrab; | 203 device->SetWindowGrab = X11_SetWindowGrab; |
203 device->DestroyWindow = X11_DestroyWindow; | 204 device->DestroyWindow = X11_DestroyWindow; |
204 device->GetWindowWMInfo = X11_GetWindowWMInfo; | 205 device->GetWindowWMInfo = X11_GetWindowWMInfo; |
206 device->shape_driver.CreateShaper = X11_CreateShaper; | |
207 device->shape_driver.SetWindowShape = X11_SetWindowShape; | |
208 device->shape_driver.ResizeWindowShape = X11_ResizeWindowShape; | |
205 #ifdef SDL_VIDEO_OPENGL_GLX | 209 #ifdef SDL_VIDEO_OPENGL_GLX |
206 device->GL_LoadLibrary = X11_GL_LoadLibrary; | 210 device->GL_LoadLibrary = X11_GL_LoadLibrary; |
207 device->GL_GetProcAddress = X11_GL_GetProcAddress; | 211 device->GL_GetProcAddress = X11_GL_GetProcAddress; |
208 device->GL_UnloadLibrary = X11_GL_UnloadLibrary; | 212 device->GL_UnloadLibrary = X11_GL_UnloadLibrary; |
209 device->GL_CreateContext = X11_GL_CreateContext; | 213 device->GL_CreateContext = X11_GL_CreateContext; |