0 Replies Latest reply on Feb 20, 2009 4:02 PM by (Evtim_Georgiev)

    [svn:fx-trunk] 5028: IGraphicElement interface clean-up and optimizations.

    Level 1
      Revision: 5028
      Author: egeorgie@adobe.com
      Date: 2009-02-20 16:02:17 -0800 (Fri, 20 Feb 2009)

      Log Message:
      -----------
      IGraphicElement interface clean-up and optimizations.
      Animating a GraphicElement that doesn't share the Group's DO should be now faster and smoother since redrawing it won't redraw the Group anymore.

      1. Group doesn't always clear the first sequence of display objects now
      2. Moved the shared DO logic almost entirely into Group
      3. More granular invalidation for GraphicElements

      QE Notes: Make sure we have test that count the number of display objects for a given set of graphic elements and a group
      Doc Notes:
      Bugs: None
      Reviewer: Glenn, Ryan, Jason
      tests: None

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/InvalidatingSprite.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextGraphicElement.a s
      flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as

      Added Paths:
      -----------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/ISharedDisplayObject.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/ISharedGraphicsDispl ayObject.as