- 06 Sep, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 16 Aug, 2019 1 commit
-
-
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.
-
- 06 Aug, 2019 1 commit
-
-
Jonah Williams authored
-
- 05 Aug, 2019 1 commit
-
-
Ferhat authored
-
- 25 Jun, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 09 May, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 10 Apr, 2019 1 commit
-
-
Sam Rawlins authored
-
- 05 Feb, 2019 1 commit
-
-
Matt Carroll authored
-
- 18 Dec, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 25 Oct, 2018 1 commit
-
-
liyuqian authored
For #21756
-
- 28 Sep, 2018 1 commit
-
-
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
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 20 Jul, 2018 1 commit
-
-
Greg Spencer authored
-
- 19 Jul, 2018 1 commit
-
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/18971
-
- 22 Jun, 2018 1 commit
-
-
Jonah Williams authored
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 Apr, 2018 1 commit
-
-
Todd Volkert authored
It should account for the device pixel ratio https://github.com/flutter/flutter/issues/16859
-
- 20 Mar, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 02 Mar, 2018 1 commit
-
-
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.
-
- 21 Sep, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 14 Sep, 2017 1 commit
-
-
Carlo Bernaschina authored
-
- 23 Aug, 2017 1 commit
-
-
Ian Hickson authored
These properties had a high cost in the documentation because they're all top-level properties, and there's really very little reason for these values to be configurable in the first place.
-
- 03 Aug, 2017 1 commit
-
-
Jacob Richman authored
Add Diagnosticable base class and documentation
-
- 25 Jul, 2017 1 commit
-
-
Jacob Richman authored
Refactor RenderObject.toStringDeep and Widget.toStringDeep code to use DiagnosticsNode.
-
- 16 May, 2017 1 commit
-
-
Ian Hickson authored
Previously we used logical pixels. This made the accessibility metrics tiny on modern devices, since the OS works in physical units. Also add a bit more debugging info and some docs.
-
- 19 Apr, 2017 2 commits
-
-
Ian Hickson authored
-
Adam Barth authored
Turns out we have many immutable classes. Fixes #6892
-
- 12 Apr, 2017 1 commit
-
-
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
-
- 19 Mar, 2017 1 commit
-
-
Adam Barth authored
Fixes #4301
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
Covers lib/ in package:flutter.
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 13 Feb, 2017 1 commit
-
-
Adam Barth authored
I've been using these locally, but they're likely to be useful to other people as well.
-
- 16 Nov, 2016 1 commit
-
-
Ian Hickson authored
-
- 15 Sep, 2016 1 commit
-
-
Adam Barth authored
The engine now reports coordinates in physical pixels.
-
- 30 May, 2016 1 commit
-
-
Adam Barth authored
-
- 27 May, 2016 1 commit
-
-
Adam Barth authored
There are still many more left before rendering.dart is complete.
-
- 20 May, 2016 1 commit
-
-
Ian Hickson authored
-
- 16 May, 2016 1 commit
-
-
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.
-
- 12 May, 2016 1 commit
-
-
pq authored
It's safe to remove the unneeded `void`s from setters since the blocking issues in the `always_declare_return_types` lint have been fixed (https://github.com/dart-lang/linter/). We can also safely flip the bit on `avoid_return_types_on_setters`.
-
- 22 Apr, 2016 1 commit
-
-
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.
-