0 Replies Latest reply on Oct 20, 2009 7:42 PM by Peter Farland

    [svn:fx-trunk] 11043: Adding support for compile-time optimized FXG 2. 0 maskType="luminosity".

    Peter Farland Level 3

      Revision: 11043

      Author:   pfarland@adobe.com

      Date:     2009-10-20 19:42:17 -0700 (Tue, 20 Oct 2009)

       

      Log Message:

      ***********

      Adding support for compile-time optimized FXG 2.0 maskType="luminosity". We generate a symbol class for both the mask and maskee. The mask creates a LuminosityMaskShader and uses it as a filter on the mask display object. As with alpha masks, the maskee must programmatically set cacheAsBitmap to true and the mask at runtime must be set to an item on the display list.

       

      Also adding support for embedded images in compile-time optimized FXG 2.0 rich text nodes. (A minor change was required to the FXGUtils FXGResourceResolver API to resolve file paths so that a qualified path can be created for the generated statement that is used for the source). QE notes: Check with core tech for luminosity mask tests. Doc notes: N/A Bugs: SDK-22859 - The image doesn't render at runtime when using the tag in static FXG

      Reviewer: Ryan

      Tests run: Checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-22859

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexResourceResolver.java

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/util/FXGResourceResolver.java

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/util/FileResolver.java

       

      Added Paths:

      ***********

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/LuminosityMaskFilte r.pbj

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/LuminosityMaskShade r.as