notaz.gp2x.de
/
sdl_omap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34edc24
)
flip before vsync
author
notaz
<notasas@gmail.com>
Sat, 10 Mar 2012 22:59:35 +0000
(
00:59
+0200)
committer
notaz
<notasas@gmail.com>
Sat, 10 Mar 2012 22:59:35 +0000
(
00:59
+0200)
should be better, in theory at least, as registers are latched
on VFP, before VSYNC irq.
src/video/omapdss/osdl_video.c
patch
|
blob
|
blame
|
history
diff --git
a/src/video/omapdss/osdl_video.c
b/src/video/omapdss/osdl_video.c
index
fc5e667
..
d1deaa9
100644
(file)
--- a/
src/video/omapdss/osdl_video.c
+++ b/
src/video/omapdss/osdl_video.c
@@
-370,13
+370,17
@@
void *osdl_video_set_mode(struct SDL_PrivateVideoData *pdata,
void *osdl_video_flip(struct SDL_PrivateVideoData *pdata)
{
+ void *ret;
+
if (pdata->fbdev == NULL)
return NULL;
+ ret = vout_fbdev_flip(pdata->fbdev);
+
if (pdata->cfg_force_vsync)
vout_fbdev_wait_vsync(pdata->fbdev);
- return
vout_fbdev_flip(pdata->fbdev)
;
+ return
ret
;
}
void osdl_video_finish(struct SDL_PrivateVideoData *pdata)