1. 06 Sep, 2019 1 commit
  2. 16 Aug, 2019 1 commit
    • Yegor's avatar
      Teach render objects to reuse engine layers (#36402) · 34c69265
      Yegor authored
      Teach Layer and its implementations, RenderObject and its implementations, and PaintingContext to reuse engine layers. The idea is that a concrete RenderObject creates a Layer and holds on to it as long as it needs it (i.e. when it is composited, and the layer type does not change). In return, each Layer object holds on to an EngineLayer and reports it to the engine via addRetained and oldLayer. This allows the Web engine to reuse DOM elements across frames. Without it, each frame drops all previously rendered HTML and regenerates it from scratch.
      34c69265
  3. 06 Aug, 2019 1 commit
  4. 05 Aug, 2019 1 commit
  5. 25 Jun, 2019 1 commit
  6. 09 May, 2019 1 commit
  7. 10 Apr, 2019 1 commit
  8. 05 Feb, 2019 1 commit
  9. 18 Dec, 2018 1 commit
  10. 25 Oct, 2018 1 commit
  11. 28 Sep, 2018 1 commit
    • liyuqian's avatar
      Don't push offset to leaf layers (#21619) · 783c028f
      liyuqian authored
      For retained rendering, we don't want to push the offset down to each leaf layer. Otherwise, changing an offset layer on the very high level could cascade the change to too many leaves, which means that we can't retain them.
      
      To not push the offset downwards, we simply push a TransformLayer when there's an offset. Skia has a fast path for concatenating scale/translation-only matrix so this operation should be fast (no performance regression is measured on Moto G4).
      
      This is our first step towards https://github.com/flutter/flutter/issues/21756
      783c028f
  12. 12 Sep, 2018 1 commit
  13. 20 Jul, 2018 1 commit
  14. 19 Jul, 2018 1 commit
  15. 22 Jun, 2018 1 commit
  16. 05 Jun, 2018 1 commit
  17. 30 Apr, 2018 1 commit
  18. 20 Mar, 2018 1 commit
  19. 02 Mar, 2018 1 commit
    • Chris Bracken's avatar
      Eliminate RenderView orientation, timeForRotation (#15044) · 73a1a74b
      Chris Bracken authored
      Orientation, and by extension time for rotation between orientations,
      was aspirational and never used.
      
      While this is technically a breaking change, this code never actually
      did anything. If you were setting either orientation or timeForRotation,
      simply delete those parameters and the code will continue to behave
      identically to how it had been.
      73a1a74b
  20. 21 Sep, 2017 1 commit
  21. 14 Sep, 2017 1 commit
  22. 23 Aug, 2017 1 commit
  23. 03 Aug, 2017 1 commit
  24. 25 Jul, 2017 1 commit
  25. 16 May, 2017 1 commit
  26. 19 Apr, 2017 2 commits
  27. 12 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Move Point to Offset (#9277) · bf017b79
      Ian Hickson authored
      * Manually fix every use of Point.x and Point.y
      
      Some of these were moved to dx/dy, but not all.
      
      * Manually convert uses of the old gradient API
      
      * Remove old reference to Point.
      
      * Mechanical changes
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
      git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
      git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
      git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
      git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
      git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
      git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
      git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
      git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
      git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'
      
      * Mechanical changes - dartdocs
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
      git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'
      
      * Further improvements and a test
      
      * Fix minor errors from rebasing...
      
      * Roll engine
      bf017b79
  28. 19 Mar, 2017 1 commit
  29. 04 Mar, 2017 1 commit
  30. 23 Feb, 2017 1 commit
  31. 13 Feb, 2017 1 commit
  32. 16 Nov, 2016 1 commit
  33. 15 Sep, 2016 1 commit
  34. 30 May, 2016 1 commit
  35. 27 May, 2016 1 commit
  36. 20 May, 2016 1 commit
  37. 16 May, 2016 1 commit
    • Ian Hickson's avatar
      Make it possible to run tests live on a device (#3936) · 32527017
      Ian Hickson authored
      This makes it possible to substitute 'flutter run' for 'flutter test'
      and actually watch a test run on a device.
      
      For any test that depends on flutter_test:
      
      1. Remove any import of 'package:test/test.dart'.
      
      2. Replace `testWidgets('...', (WidgetTester tester) {`
            with `testWidgets('...', (WidgetTester tester) async {`
      
      3. Add an "await" in front of calls to any of the following:
          * tap()
          * tapAt()
          * fling()
          * flingFrom()
          * scroll()
          * scrollAt()
          * pump()
          * pumpWidget()
      
      4. Replace any calls to `tester.flushMicrotasks()` with calls to
         `await tester.idle()`.
      
      There's a guarding API that you can use, if you have particularly
      complicated tests, to get better error messages. Search for
      TestAsyncUtils.
      32527017
  38. 12 May, 2016 1 commit
  39. 22 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Clean up our timeline events. (#3504) · b5a827bf
      Ian Hickson authored
      This adds in particular the ability to track the time at which the
      framework boots up, and the time at which we are confident we have
      completed the first useful frame.
      b5a827bf