[Top][All Lists]
[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: |
Mon, 21 Jan 2008 07:52:10 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/01/21 07:52:10
Modified files:
. : ChangeLog
testsuite/misc-ming.all: masks_testrunner.cpp
Log message:
pixel checking and invalidated bounds testing after mask/maskee
swapping.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5439&r2=1.5440
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/masks_testrunner.cpp?cvsroot=gnash&r1=1.12&r2=1.13
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5439
retrieving revision 1.5440
diff -u -b -r1.5439 -r1.5440
--- ChangeLog 21 Jan 2008 07:07:26 -0000 1.5439
+++ ChangeLog 21 Jan 2008 07:52:09 -0000 1.5440
@@ -1,3 +1,8 @@
+2008-01-21 Sandro Santilli <address@hidden>
+
+ * testsuite/misc-ming.all/masks_testrunner.cpp: pixel checking and
+ invalidated bounds testing after mask/maskee swapping.
+
2008-01-20 Bastiaan Jacques <address@hidden>
* configure.ac: Disable the use of mad and ffmpeg, because they
Index: testsuite/misc-ming.all/masks_testrunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/masks_testrunner.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/misc-ming.all/masks_testrunner.cpp 19 Jan 2008 17:32:11
-0000 1.12
+++ testsuite/misc-ming.all/masks_testrunner.cpp 21 Jan 2008 07:52:10
-0000 1.13
@@ -220,5 +220,45 @@
// TODO: test setMask effects after swapping mask/maskee
+ // 14,232 = white (yellow not covered by its red mask)
+ check( invalidated.contains(14, 232) );
+ check_pixel(14,232, 2, white, 2);
+ // 48,232 = yellow (visible in the red mask)
+ check( invalidated.contains(48, 232) );
+ check_pixel(48,232, 2, yellow, 2);
+ // 80,232 = white (yellow not covered by its red mask)
+ check( invalidated.contains(80, 232) );
+ check_pixel(80,232, 2, white, 2);
+
+ // 214,232 = white (green not covered by its cyan mask)
+ check( invalidated.contains(214, 232) );
+ check_pixel(214,232, 2, white, 2);
+ // 248,232 = green (visible in its cyan mask)
+ check( invalidated.contains(248, 232) );
+ check_pixel(248,232, 2, green, 2);
+ // 276,232 = white (green not covered by its cyan mask)
+ check( invalidated.contains(276, 232) );
+ check_pixel(276,232, 2, white, 2);
+
+ // 14,331 = white (violet not covered by its blue mask)
+ check( invalidated.contains(14, 331) );
+ check_pixel(14,331, 2, white, 2);
+ // 48,331 = violet (visible in its blue mask)
+ check( invalidated.contains(48, 331) );
+ check_pixel(48,331, 2, violet, 2);
+ // 80,331 = white (violet not covered by its blue mask)
+ check( invalidated.contains(80, 331) );
+ check_pixel(80,331, 2, white, 2);
+
+ // 214,331 = white (dark_green not covered by its light_blue mask)
+ check( invalidated.contains(214, 331) );
+ check_pixel(214,331, 2, white, 2);
+ // 248,331 = dark_green (visible in its light_blue mask)
+ check( invalidated.contains(248, 331) );
+ check_pixel(248,331, 2, dark_green, 2);
+ // 276,331 = white (dark_green not covered by its light_blue mask)
+ check( invalidated.contains(276, 331) );
+ check_pixel(276,331, 2, white, 2);
+
}