2825 Commits

Author SHA1 Message Date
Carlo Bernaschina
94f1311b9e Roll Dart to a67d798841ec6379c39c6cd20e9b867689df0e64 (flutter/engine#3936)
The new `dart_observatory_pub_packages_rev` dependent on the rolled `dart_revision` required the update of the licensing files
2017-07-31 16:26:06 -07:00
Chinmay Garde
6d71aee780 Update buildroot to account for stricter warning flags. (flutter/engine#3939) 2017-07-31 16:22:15 -07:00
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
9fa000041e Update dependencies for the latest changes to depot_tools (flutter/engine#3931) 2017-07-27 15:19:46 -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
Chinmay Garde
d7fd10f9f6 Roll Skia revision to 89d9d95570227533e4a87b41e5a7ed9fad4dd04a. (flutter/engine#3920) 2017-07-24 12:13:36 -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
a4767b3fb2 Update Dart revision to a83a69ff3eff845980308779cadbdb80cc03a603. (flutter/engine#3902) 2017-07-18 18:43:22 -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
Todd Volkert
0b56c45c87 Bump FTL to 81aa1ca480c99caffbc2965deb0a6f7ac7f59f1c (flutter/engine#3890)
flutter/flutter#11238
2017-07-17 18:15:34 -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
6873291c22 Revert "Bump FTL to 438457e7c6325c2b2f36b7d3e9362687d9646fe2 (#3882)" (flutter/engine#3885)
This reverts commit 3003fe147ab9ec3475df8facf2fe8fd47c39e65a.

This commit broke the Windows engine build, though the logs are missing so it is unclear why.
2017-07-17 14:20:08 -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
Todd Volkert
3003fe147a Bump FTL to 438457e7c6325c2b2f36b7d3e9362687d9646fe2 (flutter/engine#3882)
https://github.com/flutter/flutter/issues/11238
2017-07-17 11:28:56 -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