gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/BitmapMovieInstance.h


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/BitmapMovieInstance.h
Date: Wed, 18 Apr 2007 07:17:11 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/04/18 07:17:11

Modified files:
        .              : ChangeLog 
        server         : BitmapMovieInstance.h 

Log message:
                * server/BitmapMovieInstance.h:
                  Override restart() to avoid cleaning up
                  the displaylist (since no frame tags will
                  recreate it).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2901&r2=1.2902
http://cvs.savannah.gnu.org/viewcvs/gnash/server/BitmapMovieInstance.h?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2901
retrieving revision 1.2902
diff -u -b -r1.2901 -r1.2902
--- ChangeLog   18 Apr 2007 03:31:36 -0000      1.2901
+++ ChangeLog   18 Apr 2007 07:17:11 -0000      1.2902
@@ -1,3 +1,10 @@
+2007-04-18 Sandro Santilli <address@hidden>
+
+       * server/BitmapMovieInstance.h:
+         Override restart() to avoid cleaning up
+         the displaylist (since no frame tags will
+         recreate it).
+
 2007-04-18 Zou Lunkai <address@hidden>
 
        * testsuite/misc-ming.all/Makefile.am:

Index: server/BitmapMovieInstance.h
===================================================================
RCS file: /sources/gnash/gnash/server/BitmapMovieInstance.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- server/BitmapMovieInstance.h        14 Feb 2007 09:03:53 -0000      1.2
+++ server/BitmapMovieInstance.h        18 Apr 2007 07:17:11 -0000      1.3
@@ -17,7 +17,7 @@
 // 
 //
 
-/* $Id: BitmapMovieInstance.h,v 1.2 2007/02/14 09:03:53 strk Exp $ */
+/* $Id: BitmapMovieInstance.h,v 1.3 2007/04/18 07:17:11 strk Exp $ */
 
 #ifndef GNASH_BITMAPMOVIEINSTANCE_H
 #define GNASH_BITMAPMOVIEINSTANCE_H
@@ -48,6 +48,16 @@
 
        virtual ~BitmapMovieInstance() {}
 
+       /// Do nothing on restart. Especially don't trash the DisplayList 
+       //
+       /// TODO: this is needed due to the implementation detail of 
+       ///       using the DisplayList to store our bitmap-filled
+       ///       shape. Using the _drawable instead, or overriding
+       ///       ::display to simply display our definition is likely
+       ///       the best way to go instead (we'd also reuse the same
+       ///       bitmap info rather then creating new instances..)
+       void restart() {}
+
 };
 
 } // end of namespace gnash




reply via email to

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