1. 26 9月, 2019 1 次提交
    • 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
  2. 12 7月, 2019 1 次提交
  3. 11 7月, 2019 1 次提交
  4. 29 6月, 2019 1 次提交
    • Y
      Adds API for retaining intermediate engine layers (#9461) · 94bb7a7f
      Yegor 提交于
      Add new optional named oldLayer arguments to all push* methods of the SceneBuilder class.
      
      When not null oldLayer signals to the engine that the intent is to update a layer rendered in a previous frame. The engine may optionally use that signal to reuse the resources allocated for that layer in the previous frame. For example, on the Web we can reuse existing DOM nodes and some of their properties and move fewer nodes around the tree.
      
      The return type of each push method has been tightened up. Instead of having all methods return the same EngineLayer type, each method has its own unique layer type, e.g. OffsetEngineLayer. oldLayer parameters match the returned type. This prevents the framework (and other developers using dart:ui directly) from accidentally supplying an engine layer of the wrong type.
      94bb7a7f
  5. 14 6月, 2019 1 次提交
  6. 21 5月, 2019 1 次提交
  7. 08 5月, 2019 1 次提交
    • D
      new lints (#8849) · 2b1f9925
      Dan Field 提交于
      Dart lints added:
      * Avoid optional new
      * Avoid optional const
      * Prefer single quotes
      * Prefer default assignment `=`
      2b1f9925
  8. 27 4月, 2019 1 次提交
  9. 24 4月, 2019 1 次提交
  10. 23 4月, 2019 2 次提交
  11. 12 4月, 2019 1 次提交
  12. 11 4月, 2019 1 次提交
  13. 07 4月, 2019 1 次提交
  14. 15 3月, 2019 1 次提交
  15. 01 3月, 2019 1 次提交
  16. 11 1月, 2019 1 次提交
  17. 04 1月, 2019 1 次提交
  18. 28 11月, 2018 1 次提交
  19. 15 11月, 2018 1 次提交
  20. 08 11月, 2018 1 次提交
  21. 25 10月, 2018 1 次提交
  22. 20 10月, 2018 1 次提交
  23. 13 10月, 2018 1 次提交
  24. 12 10月, 2018 1 次提交
  25. 03 10月, 2018 2 次提交
  26. 28 9月, 2018 1 次提交
  27. 18 9月, 2018 1 次提交
  28. 21 8月, 2018 1 次提交
  29. 08 8月, 2018 1 次提交
  30. 26 7月, 2018 1 次提交
  31. 14 7月, 2018 1 次提交
  32. 11 7月, 2018 1 次提交
  33. 19 4月, 2018 1 次提交
  34. 20 3月, 2018 1 次提交
  35. 10 2月, 2018 1 次提交
  36. 18 1月, 2018 1 次提交
  37. 12 1月, 2018 1 次提交
  38. 09 1月, 2018 1 次提交