[Mplayer-cvslog] CVS: main/libvo vo_dga.c,1.23,1.24

Andreas Ackermann acki2 at users.sourceforge.net
Sun Jun 17 22:59:41 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv9569/libvo

Modified Files:
	vo_dga.c 
Log Message:
- doublebuffering now can be switched on and off with the -(no)double switch. 
  Default in libvo is disabled.


Index: vo_dga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dga.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** vo_dga.c	2001/05/24 20:48:45	1.23
--- vo_dga.c	2001/06/17 20:59:39	1.24
***************
*** 24,27 ****
--- 24,31 ----
   *
   * $Log$
+  * Revision 1.24  2001/06/17 20:59:39  acki2
+  * - doublebuffering now can be switched on and off with the -(no)double switch.
+  *   Default in libvo is disabled.
+  *
   * Revision 1.23  2001/05/24 20:48:45  arpi_esp
   * removed redundant osd.h includes
***************
*** 277,280 ****
--- 281,285 ----
  extern int       verbose;          
  extern int       vo_dbpp;
+ extern int	 vo_doublebuffering;
  
  static int       vo_dga_src_format;
***************
*** 500,506 ****
  static void flip_page( void ){
  
-   vo_draw_text(vo_dga_src_width,vo_dga_src_height,draw_alpha);
-   
    if(vo_dga_dbf_mem_offset != 0){
  
  #ifdef HAVE_DGA2
--- 505,510 ----
  static void flip_page( void ){
  
    if(vo_dga_dbf_mem_offset != 0){
+     vo_draw_text(vo_dga_src_width,vo_dga_src_height,draw_alpha);
  
  #ifdef HAVE_DGA2
***************
*** 1035,1038 ****
--- 1039,1045 ----
    vo_dga_dbf_mem_offset = vo_dga_width * HW_MODE.vdm_bytespp *  vo_dga_dbf_y_offset;
    vo_dga_dbf_current = 0;
+ 
+ 
+  if(!vo_doublebuffering) vo_dga_dbf_mem_offset = NULL;
    
    // if(format ==IMGFMT_YV12 )


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list