0 Replies Latest reply on Oct 9, 2009 1:38 PM by Peter Farland

    [svn:fx-trunk] 10959: Adding support for FXG 2. 0 additional blend modes that do not have a SWF equivalent.

    Peter Farland Level 3

      Revision: 10959

      Author:   pfarland@adobe.com

      Date:     2009-10-09 13:38:19 -0700 (Fri, 09 Oct 2009)

       

      Log Message:

      ***********

      Adding support for FXG 2.0 additional blend modes that do not have a SWF equivalent. For the optimized FXG case, we now generate an ActionScript SymbolClass and set the corresponding blend shader. This requires checking in the additional shader classes and PBJ files, but note we do not yet use them in MXML graphics.

       

      Note: This change does not address luminosity masks.

       

      QE notes: Please update FXG opt. testsuites for additional blendModes.

      Doc notes: No

      Bugs: N/A

      Reviewer: Paul

      Tests run: checkintests, mustella spark/core/fxg

      Is noteworthy for integration: Yes, this change includes support for the additional blendModes of FXG 2.0 (though only for the optimized FXG case, and not MXML graphics).

       

      Modified Paths:

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

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

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

       

      Added Paths:

      ***********

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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