notaz.gp2x.de
/
sdl_omap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't force double buffering
[sdl_omap.git]
/
src
/
video
/
omapdss
/
omapsdl.h
diff --git
a/src/video/omapdss/omapsdl.h
b/src/video/omapdss/omapsdl.h
index
bd5c109
..
3f15bb7
100644
(file)
--- a/
src/video/omapdss/omapsdl.h
+++ b/
src/video/omapdss/omapsdl.h
@@
-1,5
+1,5
@@
/*
/*
- * (C) Gražvydas "notaz" Ignotas, 2010
+ * (C) Gražvydas "notaz" Ignotas, 2010
, 2011
*
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
* See the COPYING file in the top-level directory.
*
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
* See the COPYING file in the top-level directory.
@@
-29,10
+29,11
@@
struct SDL_PrivateVideoData {
struct vout_fbdev *fbdev;
void *saved_layer;
int screen_w, screen_h;
struct vout_fbdev *fbdev;
void *saved_layer;
int screen_w, screen_h;
- unsigned int
oshide_done
:1;
+ unsigned int
xenv_up
:1;
};
};
-int osdl_video_set_mode(struct SDL_PrivateVideoData *pdata, int width, int height, int bpp);
+int osdl_video_set_mode(struct SDL_PrivateVideoData *pdata,
+ int width, int height, int bpp, int doublebuf);
void *osdl_video_flip(struct SDL_PrivateVideoData *pdata);
int osdl_video_detect_screen(struct SDL_PrivateVideoData *pdata);
void osdl_video_finish(struct SDL_PrivateVideoData *pdata);
void *osdl_video_flip(struct SDL_PrivateVideoData *pdata);
int osdl_video_detect_screen(struct SDL_PrivateVideoData *pdata);
void osdl_video_finish(struct SDL_PrivateVideoData *pdata);
@@
-53,3
+54,4
@@
void do_clut(void *dest, void *src, unsigned short *pal, int count);
/* config */
extern int gcfg_force_vsync;
/* config */
extern int gcfg_force_vsync;
+extern int gcfg_force_doublebuf;