[Mplayer-cvslog] CVS: main/libvo vo_sdl.c,1.114,1.115
Alex Beregszaszi
syncmail at mplayerhq.hu
Sat Jun 26 13:16:58 CEST 2004
CVS change done by Alex Beregszaszi
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv8395
Modified Files:
vo_sdl.c
Log Message:
asyncblit slows down on UP systems, regarding to the SDL docs, noticed by John Phillip
Index: vo_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_sdl.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- vo_sdl.c 26 Jun 2004 10:55:16 -0000 1.114
+++ vo_sdl.c 26 Jun 2004 11:16:55 -0000 1.115
@@ -445,8 +445,9 @@
/* other default values */
#ifdef SDL_NOHWSURFACE
if(verbose) printf("SDL: using software-surface\n");
- priv->sdlflags = SDL_SWSURFACE|SDL_RESIZABLE|SDL_ASYNCBLIT|SDL_ANYFORMAT;
- priv->sdlfullflags = SDL_SWSURFACE|SDL_FULLSCREEN|SDL_ASYNCBLIT|SDL_ANYFORMAT;
+ priv->sdlflags = SDL_SWSURFACE|SDL_RESIZABLE|SDL_ANYFORMAT;
+ priv->sdlfullflags = SDL_SWSURFACE|SDL_FULLSCREEN|SDL_ANYFORMAT;
+ // XXX:FIXME: ASYNCBLIT should be enabled for SMP systems
#else
/*if((strcmp(priv->driver, "dga") == 0) && (priv->mode)) {
if(verbose) printf("SDL: using software-surface\n");
@@ -455,8 +456,9 @@
}
else { */
if(verbose) printf("SDL: using hardware-surface\n");
- priv->sdlflags = SDL_HWSURFACE|SDL_RESIZABLE|SDL_ASYNCBLIT/*|SDL_ANYFORMAT*/;
- priv->sdlfullflags = SDL_HWSURFACE|SDL_FULLSCREEN|SDL_ASYNCBLIT/*|SDL_ANYFORMAT*/;
+ priv->sdlflags = SDL_HWSURFACE|SDL_RESIZABLE/*|SDL_ANYFORMAT*/;
+ priv->sdlfullflags = SDL_HWSURFACE|SDL_FULLSCREEN/*|SDL_ANYFORMAT*/;
+ // XXX:FIXME: ASYNCBLIT should be enabled for SMP systems
//}
#endif
More information about the MPlayer-cvslog
mailing list