changeset 272:8ffe2f459851

- still more debug output to be able to fix 15/16 bpp problem
author acki2
date Sun, 01 Apr 2001 22:01:28 +0000
parents 38d30f6f1423
children 167356f35b8f
files libvo/vo_dga.c
diffstat 1 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dga.c	Sun Apr 01 19:42:41 2001 +0000
+++ b/libvo/vo_dga.c	Sun Apr 01 22:01:28 2001 +0000
@@ -19,6 +19,9 @@
  * o works only on intel architectures
  *
  * $Log$
+ * Revision 1.10  2001/04/01 22:01:28  acki2
+ * - still more debug output to be able to fix 15/16 bpp problem
+ *
  * Revision 1.9  2001/04/01 08:07:14  acki2
  * - added detection of memsize of graphics card to check if double buffering is possible
  * - fixed resolution switching a little and added more debug output
@@ -261,11 +264,15 @@
         {
           // this only for debug reasons ...
 	  if(modelines[i].bitsPerPixel == 15 || modelines[i].bitsPerPixel == 16){
-              printf("vo_dga: depth: %d, %08x, %08x, %08x\n",
+              printf("vo_dga: num: %d, depth: %d, bpp: %d, %08x, %08x, %08x, %dx%d\n",
+		       i,
+		       modelines[i].depth,
 		       modelines[i].bitsPerPixel,
 		       modelines[i].redMask,
 		       modelines[i].greenMask,
-	               modelines[i].blueMask);			  
+	               modelines[i].blueMask,
+		       modelines[i].viewportWidth,
+		       modelines[i].viewportHeight);			  
           }
           for(k=0, dummy=1; k<modelines[i].bitsPerPixel-1; k++)dummy <<=1;
 	  dga_depths |= dummy;
@@ -498,6 +505,9 @@
   {
      if( modelines[i].bitsPerPixel == vo_dga_planes)
      {
+
+       printf("maxy: %4d, depth: %2d, %4dx%4d, ", modelines[i].maxViewportY, modelines[i].depth,
+		       modelines[i].imageWidth, modelines[i].imageHeight );
        if ( check_mode(i, d_width, d_height, modelines[i].bitsPerPixel,  
                   modelines[i].viewportWidth, 
                   modelines[i].viewportHeight,