• D
    [fuchsia] Wire up OpacityLayer to Scenic (#11322) · fcc4ab32
    David Worsham 提交于
    On Fuchsia, add a build flag for compositing OpacityLayers using the system
    compositor vs Skia, which exposes a fastpath for opacity via Scenic.
    This will only work under certain circumstances, in particular nested
    OpacityLayers will not render correctly!
    
    On Fuchsia, add a build flag for compositing PhysicalShapeLayers using
    the system compositor vs Skia. Set to off by default, which restores
    performant shadows on Fuchsia.
    
    Remove the opacity exposed from ChildView, as that was added mistakenly.
    
    Finally, we centralize the logic for switching between the
    system-composited and in-process-composited paths inside of
    ContainerLayer. We also centralize the logic for computing elevation
    there. This allows the removal of many OS_FUCHSIA-specific code-paths.
    
    Test: Ran workstation on Fuchsia; benchmarked before and after
    Bug: 23711
    Bug: 24163
    
    * Fix broken tests
    fcc4ab32
compositing.dart 29.8 KB