Jason Simmons
dc8f103ca8
Check for an empty selection in deleteSurroundingText ( flutter/engine#3938 )
...
Fixes https://github.com/flutter/flutter/issues/11437
2017-07-31 16:18:27 -07:00
Chinmay Garde
62108dc53e
Always consume items from the pipeline in the null rasterizer. ( flutter/engine#3937 )
...
Now, frame requests past the pipeline depth will never be deferred due
to back pressure. This backend is only used in the test runner.
2017-07-31 15:16:48 -07:00
xster
62ee1c8b95
Extend iOS's drawing time to viewWillAppear <-> viewDidDisappear ( flutter/engine#3934 )
...
* fix (with squashed debug stuff)
* clean up
2017-07-31 15:12:32 -07:00
Chinmay Garde
a8b230ae6c
Update the Vulkan backend to account for GPUSurface API updates. ( flutter/engine#3933 )
2017-07-28 18:25:13 -07:00
Ian Hickson
a802c739ee
More documentation, mainly around saveLayer. ( flutter/engine#3932 )
2017-07-28 14:38:42 -07:00
Chinmay Garde
7314a7e0bc
When the surface does not support SRGB, render to an offscreen texture. ( flutter/engine#3930 )
2017-07-28 12:48:32 -07:00
Jason Simmons
9b6a2dc616
Simplify a license script regex that was not completing on a Skia source file ( flutter/engine#3929 )
...
See https://github.com/flutter/engine/pull/3881
2017-07-27 15:28:05 -07:00
Jason Simmons
dc5ae3c20f
Do not send messages if the platform view has been detached ( flutter/engine#3927 )
2017-07-26 20:04:31 -07:00
Ian McKellar
4ab42e4358
Use the tonic::HandleTable ( flutter/engine#3924 )
2017-07-26 12:19:34 -07:00
Jeff Brown
adef60fe5a
Use metrics provided by scene events. ( flutter/engine#3922 )
...
Compute the necessary texture resolution using more accurate scaling
information provided by Mozart scene node metrics events instead of the
device pixel ratio provided by the Mozart view properties (which we
might remove in the future).
This allows us to allocate smaller textures when a Flutter view is
being scaled down.
2017-07-24 19:17:55 -07:00
Jason Simmons
2afa2eefd9
Incorporate the device pixel ratio when drawing shadows ( flutter/engine#3919 )
2017-07-24 12:01:43 -07:00
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 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
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 3cfb2821b9 .
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 d040c59bab .
2017-07-11 14:49:13 -07:00