0 Replies Latest reply on Dec 15, 2009 6:11 PM by Jason Szeto

    [svn:fx-trunk] 12981: Optimize BitmapFill bitmap cloning

    Jason Szeto Level 3

      Revision: 12981

      Revision: 12981

      Author:   jszeto@adobe.com

      Date:     2009-12-15 18:11:30 -0800 (Tue, 15 Dec 2009)

      Log Message:


      Optimize BitmapFill bitmap cloning


      Resolving a FIXME in the BitmapFill code.


      This is the original bug: http://bugs.adobe.com/jira/browse/SDK-22045. I further optimized it so that no clone is created if alpha == 1. If alpha changes later, then the we reapply the source so that a clone can be made. We don't bother destroying the clone if the alpha starts at 1, goes to !1 and returns to 1. (Although it will be disposed if the source is changed).


      QE notes: None

      Doc notes: None

      Bugs: None

      Reviewer: Glenn

      Tests run: checkintests, spark/primitives

      Is noteworthy for integration: No


      Ticket Links:




      Modified Paths: