Alexander Aprelev
5bc3ac48a3
Update Flutter engine kernel-loading logic. ( flutter/engine#3886 )
...
* Fix Flutter loading from dill files.
* Remove disable of causal async stacks.
* Include mirrors patch files as they are needed for release/profile gen_snapshot
* Free the bytes
* Add FTL_DCHECK
2017-07-24 09:47:23 -07:00
xster
b355dec44a
Always schedule a frame on app did become active ( flutter/engine#3910 )
2017-07-20 10:54:08 -07:00
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
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
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 849b700434fdcd3fc24f05640582b127654aa7d8.
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 29bacddb699c6f996bf9f6a241d35bd4cf650df4.
* Revert "Revert "Switch to new encode API on SkPixelSerializer (#3892 )" (#3894 )"
This reverts commit 8648dd3b82ddf58ab4b0230d019219eb890ed173.
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 78023f7ae74df1c543e253ff9ad427ef1f131652.
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
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
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 3cfb2821b9aa7f288d6aedd9f90c51b11bf451ad.
Fixes a regression with semitransparent images (flutter/flutter#11169 )
2017-07-13 14:22:25 -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
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
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 d040c59bab11ebd16522e18310e2cd33b036b78e.
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 763427646f5b65561b560a982d0cc64a4d85c2a9.
Fuchsia TO-370
2017-07-10 15:57:26 -07:00
Ryan Macnak
763427646f
Allow SIGQUIT to toggle the vm-service server a la command line Dart. ( flutter/engine#3857 )
...
Fixes flutter/flutter#9128
2017-07-10 13:08:00 -07:00
James Robinson
d9157e2be2
[fuchsia] Be less specific about location of flutter_runner in flutter_app template ( flutter/engine#3855 )
2017-07-07 16:55:37 -07:00
Michael Goderbauer
6d198fa1e3
Rename licenses README to get nice formatting on Github ( flutter/engine#3853 )
2017-07-07 13:02:51 -07:00
Alexander Aprelev
f559923e43
Use Dart_Closure instead of looking up _getMainClosure ( flutter/engine#3850 )
...
* Use Dart_Closure instead of looking up _getMainClosure
* Restore comment
* Fix comment
* Restore comment
2017-07-06 17:53:24 -07:00
Ryan Macnak
cff3c24418
Don't enable_profiling for x86 Android. ( flutter/engine#3848 )
...
This somehow introduces text relocations even though we always use -fPIC.
2017-07-06 14:40:34 -07:00
Ryan Macnak
89362b5fa4
Changes to get the profiler working for C code on Android. ( flutter/engine#3847 )
...
Roll Dart VM to daa38a2ea21d290e45adb509dc60418b22ec7eba for fix to Thumb profile sample collection.
Roll buildroot to b0b836db790abff26695a944224a4934480f2f48.
2017-07-06 09:40:23 -07:00
Ryan Macnak
d040c59bab
Avoid spurious descheduling when posting message loop tasks. ( flutter/engine#3812 )
...
Closes dart-lang/sdk#29971
2017-07-05 12:39:53 -07:00
Jason Simmons
49102a88dd
Do not try to apply selections outside the length of the text ( flutter/engine#3845 )
...
See https://github.com/flutter/flutter/issues/11041
2017-06-30 14:50:01 -07:00
Ryan Macnak
5d12e39001
GN: Use a depfile when generating the core snapshot. ( flutter/engine#3844 )
...
Roll Dart to f445c318184b30b3db997ac27f357bcb5d45670a.
Fuchsia issue TO-365
2017-06-30 13:06:35 -07:00