Couriersud to Sam
Hi Sam, 20100815_1.diff contains updates for the directfb driver: - more documentation, mainly on software OpenGL in README.directfb - Revised error handling leading to leaner code - Improved/fixed OpenGL handling of multiple contexts. - Made the built-in simple window manager handle OpenGL windows. - Rewrote pixelformat mapping - this was quite ugly before. Well, all software GL, but working :-)
This commit is contained in:
parent
f0de16c63e
commit
819cc95139
14 changed files with 514 additions and 428 deletions
|
@ -32,6 +32,9 @@ struct _DirectFB_GLContext
|
|||
{
|
||||
IDirectFBGL *context;
|
||||
DirectFB_GLContext *next;
|
||||
|
||||
SDL_Window *sdl_window;
|
||||
int is_locked;
|
||||
};
|
||||
|
||||
/* OpenGL functions */
|
||||
|
@ -48,6 +51,10 @@ extern int DirectFB_GL_GetSwapInterval(_THIS);
|
|||
extern void DirectFB_GL_SwapWindow(_THIS, SDL_Window * window);
|
||||
extern void DirectFB_GL_DeleteContext(_THIS, SDL_GLContext context);
|
||||
|
||||
extern void DirectFB_GL_FreeWindowContexts(_THIS, SDL_Window * window);
|
||||
extern void DirectFB_GL_ReAllocWindowContexts(_THIS, SDL_Window * window);
|
||||
extern void DirectFB_GL_DestroyWindowContexts(_THIS, SDL_Window * window);
|
||||
|
||||
#endif /* SDL_DIRECTFB_OPENGL */
|
||||
|
||||
#endif /* _SDL_directfb_opengl_h */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue