Chinmay Garde
929da4904d
Reduce layer tree pipeline depth to 2. ( flutter/engine#3909 )
2017-07-19 17:47:44 -07:00
Jason Simmons
7d72fbe1c5
Add an RRect.isRect property ( flutter/engine#3908 )
2017-07-19 17:30:31 -07:00
Chinmay Garde
79a8d775b6
Visualize image decoding and texture upload using trace flows. ( flutter/engine#3907 )
2017-07-19 16:22:06 -07:00
Carlo Bernaschina
e7cd520490
Add waitUIThreadIdle service RPC ( flutter/engine#3898 )
...
In https://github.com/flutter/engine/pull/3833 the `_flutter.listViews` RPC moved from thread based to lock based synchronization.
The thread based synchronization side effect was used by flutter benchmarks in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/vmservice.dart#L1223 and
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/run_hot.dart#L156 to ensure the completeness of the restart/reload and so correct timing.
A new RPC `_flutter.flushUIThreadTasks` is introduced to allow the flutter benchmarks to reintroduce thread based synchronization.
Related https://github.com/flutter/flutter/issues/11241
2017-07-19 15:48:32 -07:00
Ian Hickson
eb44210a77
Cleaner RRect.toString ( flutter/engine#3906 )
...
Will make debugging layer trees with PhysicalLayers easier.
2017-07-19 14:41:07 -07:00
Ryan Macnak
d07c9b42f2
[fuchsia] Make it easy to flip the whole system between flutter_jit_app and flutter_aot_app. ( flutter/engine#3873 )
2017-07-19 14:21:02 -07:00
Ryan Macnak
ce4229482c
Speculatively disable GN argument 'enable_profiling' to test its effect on benchmarks. ( flutter/engine#3905 )
2017-07-19 12:52:53 -07:00
Gary Qian
61418fd845
Align GetRectsForRange, GetCoords..., GetGlyphPos..., and GetWordBoundary with Blink results.
...
Change-Id: I9f4e30d1f0a35ca0b2fc2a38492670e58ba0fad7
2017-07-19 12:22:54 -07:00
Gary Qian
570ccc49f4
Support text alignment in decorations, other decorations fixes, satistics fixes.
...
Change-Id: I4b9537b040c4d729e895e85487c8e98e1ac7ef78
2017-07-19 12:22:54 -07:00
Chinmay Garde
412da4429f
Visualize pipeline items in the various stages as trace flows. ( flutter/engine#3904 )
2017-07-19 11:40:35 -07:00
Todd Volkert
27c20427cc
Add PluginRegistry.Registrar#view() ( flutter/engine#3900 )
...
Sometimes, plugin instances need access to the `FlutterView`.
They can currently cast the `messenger()`, but that's fragile.
This adds API support for getting the view from the registry.
2017-07-18 19:16:15 -07:00
Chinmay Garde
afbb9c7eb6
Add support for flow traces in fml/trace_event. ( flutter/engine#3903 )
2017-07-18 19:00:29 -07:00
Chinmay Garde
d531cc9819
Enable the “Highlight Vsync” option in the timeline viewer on Android. ( flutter/engine#3901 )
2017-07-18 18:11:35 -07:00
Chinmay Garde
f7b67119d3
Update the content handler to use the Mozart session API. ( flutter/engine#3887 )
2017-07-18 15:40:18 -07:00
Gary Qian
69b2d8180a
Min and Max Intrinsic Widths look mostly correct now.
...
Change-Id: I0201c88bab4a46baf5164def8cccd51f4c5486c1
2017-07-18 15:19:09 -07:00
Chinmay Garde
9dbdc4bee6
Fix Mac desktop platform for use with std::weak_ptr in the PlatformView. ( flutter/engine#3897 )
2017-07-18 14:29:36 -07:00
Brian Osman
1a126078de
Revert "Revert "Reland "Run Flutter on iOS and Android with color correct Skia ( #3826 )" ( #3878 )" ( flutter/engine#3895 )
...
This reverts commit 849b700434 .
2017-07-18 15:58:35 -04:00
Petr Hosek
aa98fe557c
Use shared library output from shared toolchain ( flutter/engine#3869 )
...
This is needed for https://fuchsia-review.googlesource.com/c/37541
2017-07-18 12:45:46 -07:00
Brian Osman
c193d71868
Revert "Revert "Switch to new encode API on SkPixelSerializer"" ( flutter/engine#3896 )
...
* Revert "Accumulate a batch of Skia objects that will be destructed later on the IO thread (#3888 )"
This reverts commit 29bacddb69 .
* Revert "Revert "Switch to new encode API on SkPixelSerializer (#3892 )" (#3894 )"
This reverts commit 8648dd3b82 .
2017-07-18 15:44:13 -04:00
Jason Simmons
29bacddb69
Accumulate a batch of Skia objects that will be destructed later on the IO thread ( flutter/engine#3888 )
...
See https://github.com/dart-lang/sdk/issues/29971
2017-07-18 11:45:34 -07:00
Brian Osman
8648dd3b82
Revert "Switch to new encode API on SkPixelSerializer ( #3892 )" ( flutter/engine#3894 )
...
This reverts commit 78023f7ae7 .
2017-07-18 13:58:56 -04:00
Brian Osman
78023f7ae7
Switch to new encode API on SkPixelSerializer ( flutter/engine#3892 )
...
Previous API is deprecated, soon to be deleted.
2017-07-18 13:04:51 -04:00
Benjamin Lerman
5d9d760e1d
Fix usage of std::labs ( flutter/engine#3891 )
2017-07-18 09:54:24 -04:00
Brian Osman
b1fd76fa91
Roll Skia and enable API guards ( flutter/engine#3884 )
...
* Roll Skia and enable API guards
* Update licenses
2017-07-18 09:44:21 -04:00
Chinmay Garde
b0b010349e
Ensure that the source rect used for the the raster cache replacement is the same as the size of the N32Premul surface. ( flutter/engine#3889 )
...
Also adds debug printers for SkRect and SkPoint.
2017-07-17 23:42:40 -07:00
Michael Goderbauer
c4f8806a1d
Wire up SemanticsAction Increase and Decrease on Android ( flutter/engine#3876 )
2017-07-17 16:48:50 -07:00
Ryan Macnak
6bcc758317
Restore setting dart_target_arch to fix Windows build. ( flutter/engine#3883 )
...
The Windows build does not have an appropriate target_cpu because it is incomplete and does not build the engine.
2017-07-17 13:33:33 -07:00
Ryan Macnak
2ef24d4d12
Remove word-size mismatch from 32-bit Android debug builds to work wi… ( flutter/engine#3879 )
...
Roll Dart to be95b916ddf0af2b204286a438e7169e3bb2c67a.
2017-07-17 09:45:10 -07:00
Gary Qian
1a68f70b47
Setup methods and variables to accommodate actual intrinsic width algorithms.
...
Change-Id: I7295a970488052f9b471617518afd7a757d8f5c0
2017-07-14 18:26:03 -07:00
Chris Bracken
1622edea30
Set iOS text field autocorrection type ( flutter/engine#3880 )
...
Adds handling for the autocorrect field on TextField on iOS devices.
2017-07-14 12:43:45 -07:00
freiling
fd6da1b2df
[flow] remove flush from SceneUpdateContext::ExecutePaintTasks ( flutter/engine#3863 )
...
Instead of flushing each canvas, flush once on the context from which each of the canvas is derived.
This gives us a significant performance increase on the fuchsia vulkan backend
2017-07-14 12:06:10 -07:00
Gary Qian
13f2e067c6
Use source_set instead of static_library, fix a segfault crash, and fix
...
text positioning.
Change-Id: I1bc5f1076c25a757aa8550732a4ae0c4fc36b127
2017-07-14 10:55:43 -07:00
Jason Simmons
d5cca395b2
Invert the autocorrect flag ( flutter/engine#3875 )
...
See https://github.com/flutter/engine/pull/3866
2017-07-13 15:33:08 -07:00
Collin Jackson
849b700434
Revert "Reland "Run Flutter on iOS and Android with color correct Skia ( #3826 )" ( flutter/engine#3878 )
...
This reverts commit 3cfb2821b9 .
Fixes a regression with semitransparent images (flutter/flutter#11169 )
2017-07-13 14:22:25 -07:00
Gary Qian
18ed4e65c9
Rework the height and spacing, add comments.
...
Change-Id: I5ad517b0e1aa3938da63c4069880768477b788ac
2017-07-13 10:42:24 -07:00
Gary Qian
8c0962d728
Fix/enable proper font weight selection.
...
Change-Id: I3cd1eb7758708d90a6c99384cb336c65c1e5c5c3
2017-07-12 17:11:39 -07:00
Michael Goderbauer
f5e0e245ea
Fix engine on iOS ( flutter/engine#3871 )
...
Related to https://github.com/flutter/engine/pull/3870 .
2017-07-12 16:45:45 -07:00
Jason Simmons
a17f541da0
Hold the TestRunner's platform view through a shared_ptr ( flutter/engine#3870 )
...
flutter_tester was throwing a bad_weak_ptr while setting up the engine
because the PlatformViewTest was held in a unique_ptr
2017-07-12 16:37:47 -07:00
Michael Goderbauer
e1232ee771
a11y: Add SemanticsAction "showOnScreen" ( flutter/engine#3856 )
...
This action is triggered when the user swipes (in accessibility mode) to the last visible item of a scrollable list to bring that item fully on screen.
iOS implementation to follow.
2017-07-12 15:52:30 -07:00
Zachary Anderson
b8510b2316
[Fuchsia] Pass command line arguments for tracing ( flutter/engine#3868 )
2017-07-12 15:17:24 -07:00
Gary Qian
97e0ba1bdf
Fix crash bug and add spacing tests.
...
Change-Id: Idc3eaeaf6ff6230ea6b804b3d4ed8819eb5a7a7d
2017-07-12 14:55:58 -07:00
Jason Simmons
59b447a5fe
Enable text autocorrect on Android with a flag to disable it ( flutter/engine#3866 )
...
See https://github.com/flutter/flutter/issues/11168
2017-07-12 14:44:20 -07:00
Carlo Bernaschina
c9286a9e4d
Add missing virtual methods in PlatformView ( flutter/engine#3867 )
2017-07-12 13:06:02 -07:00
Gary Qian
967e80b96c
Fix and smooth justifications to properly handle ligatures with whitespace mapping.
...
Change-Id: I15bc093ed61f0540644ce31110769ee419dd7ac2
2017-07-12 11:47:59 -07:00
Carlo Bernaschina
dc20dc0cec
Avoid to freeze the system if hot reloading during debug ( flutter/engine#3833 )
2017-07-12 10:25:42 -07:00
Ryan Macnak
f1085e149e
Revert "Avoid spurious descheduling when posting message loop tasks. ( #3812 )" ( flutter/engine#3862 )
...
This reverts commit d040c59bab .
2017-07-11 14:49:13 -07:00
Jason Simmons
e0315eb27d
Do not enter text for key events that are not associated with a character ( flutter/engine#3860 )
...
Fixes https://github.com/flutter/flutter/issues/10723
2017-07-10 17:41:14 -07:00
Ryan Macnak
a9fd7aeb98
Revert "Allow SIGQUIT to toggle the vm-service server a la command line Dart. ( #3857 )" ( flutter/engine#3859 )
...
This reverts commit 763427646f .
Fuchsia TO-370
2017-07-10 15:57:26 -07:00
Gary Qian
04950b0e3c
Implement GetGlyphPositionAtCoordinate()
...
Change-Id: I65580c33efe6fbcf086f444f53fc59fb0dea2c56
2017-07-10 15:27:06 -07:00
Gary Qian
ba43d1e989
Take letter spacing into account when linebreaking and initial implementation of GetRectsForRange().
...
Change-Id: Id7fa1b5b60c988cb73ba182241b3d8b3c998e07c
2017-07-10 14:31:11 -07:00