gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/masks_t...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/masks_t...
Date: Tue, 30 Oct 2007 09:23:42 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/10/30 09:23:42

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: masks_testrunner.cpp 

Log message:
                * testsuite/misc-ming.all/masks_testrunner.cpp: add tests for 
effects
                  of swapDepth on dynamic masks (gnash fails).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4739&r2=1.4740
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/masks_testrunner.cpp?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4739
retrieving revision 1.4740
diff -u -b -r1.4739 -r1.4740
--- ChangeLog   30 Oct 2007 08:56:08 -0000      1.4739
+++ ChangeLog   30 Oct 2007 09:23:41 -0000      1.4740
@@ -1,3 +1,8 @@
+2007-10-30 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-ming.all/masks_testrunner.cpp: add tests for effects
+         of swapDepth on dynamic masks (gnash fails).
+
 2007-10-30 Benjamin Wolsey <address@hidden>
 
        * server/parser/sound_definition.{cpp,h}: move execute_state actions

Index: testsuite/misc-ming.all/masks_testrunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/masks_testrunner.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/misc-ming.all/masks_testrunner.cpp        29 Oct 2007 21:23:16 
-0000      1.7
+++ testsuite/misc-ming.all/masks_testrunner.cpp        30 Oct 2007 09:23:42 
-0000      1.8
@@ -176,5 +176,45 @@
 
        // test effects of swapDepth (should be none)
 
+       // 14,232 = white (red not covered by its yellow mask)
+       check( invalidated.contains(14, 232) );
+       check_pixel(14,232, 2, white, 2);
+       // 48,232 = red (visible in the yellow mask)
+       check( invalidated.contains(48, 232) );
+       check_pixel(48,232, 2, red, 2);
+       // 80,232 = white (red not covered by its yellow mask)
+       check( invalidated.contains(80, 232) );
+       check_pixel(80,232, 2, white, 2);
+
+       // 214,232 = white (cyan not covered by its green mask)
+       check( invalidated.contains(214, 232) );
+       check_pixel(214,232, 2, white, 2);
+       // 248,232 = cyan (visible in its green mask)
+       check( invalidated.contains(248, 232) );
+       xcheck_pixel(248,232, 2, cyan, 2);
+       // 276,232 = white (cyan not covered by its green mask)
+       check( invalidated.contains(276, 232) );
+       check_pixel(276,232, 2, white, 2);
+
+       // 14,331 = white (blue not covered by its violet mask)
+       check( invalidated.contains(14, 331) );
+       check_pixel(14,331, 2, white, 2);
+       // 48,331 = blue (visible in its violet mask)
+       check( invalidated.contains(48, 331) );
+       xcheck_pixel(48,331, 2, blue, 2);
+       // 80,331 = white (blue not covered by its violet mask)
+       check( invalidated.contains(80, 331) );
+       check_pixel(80,331, 2, white, 2);
+
+       // 214,331 = white (light_blue not covered by its dark_green mask)
+       check( invalidated.contains(214, 331) );
+       check_pixel(214,331, 2, white, 2);
+       // 248,331 = light_blue (visible in its dark_green mask)
+       check( invalidated.contains(248, 331) );
+       check_pixel(248,331, 2, light_blue, 2);
+       // 276,331 = white (light_blue not covered by its dark_green mask)
+       check( invalidated.contains(276, 331) );
+       check_pixel(276,331, 2, white, 2);
+
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]