[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth... |
Date: |
Thu, 10 May 2007 14:35:06 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/05/10 14:35:06
Modified files:
testsuite/misc-ming.all: displaylist_depths_test2.c
Log message:
Updated description of testcase to match the one sent on gnash-dev
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test2.c?cvsroot=gnash&r1=1.2&r2=1.3
Patches:
Index: displaylist_depths_test2.c
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test2.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- displaylist_depths_test2.c 10 May 2007 09:49:53 -0000 1.2
+++ displaylist_depths_test2.c 10 May 2007 14:35:06 -0000 1.3
@@ -20,19 +20,37 @@
* Sandro Santilli, address@hidden
*
* Test how swapDepth affects DisplayList refresh on gotoAndPlay(current-X).
- * A character is placed at depth 3 (-16381) and moved to the right for a
couple of frames
- * using PlaceObject2 tag.
- * After that, the placed instance is moved from depth -16381 to depth 10
(dynamic zone)
- * and a jump-back is issued to the frame containing the right-shift static
transform.
- *
- * Expected behaviour is that the gotoFrame() reconstructs the DisplayList so
that
- * depth -16381 is taken by the character and transformed exactly as specified
by
- * PlaceObject2 tag. This is a *new* instance, altought it uses the same name
as the
- * old one. The old one (now at depth 10) is still there, visible, but can not
be
- * accessible by ActionScript anymore as it's name has been overridden by the
- * reconstructed instance.
*
* run as ./displaylist_depths_test2
+ *
+ * Timeline:
+ *
+ * Frame | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+ * --------+---+---+---+---+---+---+---+
+ * Event | | P | | M | M | S | J |
+ *
+ * P = place (by PlaceObject2)
+ * M = move (matrix transform by PlaceObject2)
+ * S = swapDepth
+ * J = jump
+ *
+ * Description:
+ *
+ * frame2: character placed at depth -16381 at position (10,200)
+ * frame4: position of instance at depth -16381 shifted to the right (50,200)
+ * frame5: position of instance at depth -16381 shifted to the right (100,200)
+ * frame6: depth of instance changed to 10 (dynamic zone) and stop.
+ * frame7: jump back to frame 4
+ *
+ * Expected behaviour on jump back:
+ *
+ * Before the jump we have a single instance at depth 10 and position 100,200.
+ * After the jump we have two instances:
+ * - one at depth 10 and position 100,200
+ * (the same we had before, with its state intact)
+ * - another at depth -16381 and position 20,300
+ * (newly created and placed accordingly to the PlaceObject2 tag on
frame4)
+ *
*/
#include "ming_utils.h"
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth...,
Sandro Santilli <=
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/10
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/10
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/10
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/11
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/11
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/11
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/11
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Zou Lunkai, 2007/05/14
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/14
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/14