Jenn Magder
5759a437e6
Revert "Add a deprecation javadoc note to the old FlutterActivity ( #15156 )" ( #15331 )
...
This reverts commit 293cd971d0147cc84120a6de579f476e030d56c7.
2020-01-08 18:04:49 -08:00
gaaclarke
46adf73d51
Made it so you can specify the old gen heap size. ( #15259 )
2020-01-08 10:20:52 -08:00
xster
293cd971d0
Add a deprecation javadoc note to the old FlutterActivity ( #15156 )
2020-01-08 10:06:58 -08:00
stuartmorgan
a39f3f098a
Add plugin_registrar_windows.h to published wrapper ( #15265 )
2020-01-07 21:33:02 -08:00
George Wright
a50f1ef56a
Migrate flutter_runner from flutter_runner::{Thread,Loop} to fml::{Thread,MessageLoop} ( #15118 )
2020-01-07 19:24:45 -08:00
Francisco Magdaleno
bdc9708d23
Revert "Use ELF for Dart AOT snapshots on Fuchsia. ( #13896 )" ( #14823 )
...
This reverts commit 09c434d265ea9adf3f7ebd46c72fe6a0ba0b28ad.
2019-12-27 16:15:24 -08:00
Dan Field
129c0e30d8
View ref pair ( #14602 )
2019-12-20 15:55:02 -08:00
George Wright
1d3bb8c271
Fix message_loop_fuchsia and thus enable fml_tests and flow_tests for Fuchsia ( #14583 )
2019-12-19 17:25:06 -05:00
sjindel-google
09c434d265
Use ELF for Dart AOT snapshots on Fuchsia. ( #13896 )
...
We will still support loading blobs until build rules in Fuchsia are updated.
2019-12-19 14:11:20 +01:00
Kaushik Iska
4312d37eb1
Revert "[fuchsia] Add diagnostics directory to the set of remote dirs ( #14470 )" ( #14566 )
...
This reverts commit 94654dbe63125efca843775f4178409e8c1f052f.
2019-12-18 18:58:37 -08:00
Kaushik Iska
f2dbeb8aa7
Reland Wire up Opacity on Fuchsia ( #14559 )
...
This reverts commit 6ea69a0d4339dd153899bb6c299689f1dd43329d.
On top of the revert, it reverted a commit in the PR:
https://github.com/flutter/engine/pull/14024
This reverts commit ea67e5b0b930ebf552bc7dbd678a35ee6a129c39.
2019-12-18 16:05:38 -08:00
Wu Zhong
9c1bd8aee6
Fixes Objective-C objects memory leaks ( #14326 )
...
Fixes CALayer memory leaks in file FlutterPlatformViews_Internal.mm,FlutterPlatformViews.mm
flutter/flutter#46750
2019-12-18 15:32:44 -08:00
Kaushik Iska
6ea69a0d43
Revert "Wire up Opacity on Fuchsia, round 2 ( #14024 )" ( #14543 )
...
This reverts commit d117ac979c28363a0a6b02d4a54945212a88b6f9.
2019-12-18 10:29:47 -08:00
Lau Ching Jun
07429c1c3f
Revert "[fuchsia] Do not Execute paint tasks when there is no vsync ( #14298 )" ( #14541 )
...
This reverts commit 6430ecfd3902c52001c1ee70bd8fee33e143e2a9.
2019-12-17 17:27:02 -08:00
Gityuan
86456e1ee6
Support timeline can enabled in release mode ( #14521 )
2019-12-17 13:40:50 -08:00
Gary Qian
9b369ad197
Rename 'test_vsync_waiters' to 'vsync_waiters_test' for consistency. ( #14519 )
2019-12-18 04:32:03 +09:00
liyuqian
dc597584ef
Apply SmoothPointerDataDispatcher to Fuchsia ( #14514 )
...
Fixes https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=35050
and https://github.com/flutter/flutter/issues/38811
2019-12-16 17:14:19 -08:00
Chinmay Garde
5f9e558a98
Forward low memory notifications from the shell to DartVM. ( #14517 )
2019-12-16 16:55:08 -08:00
Chinmay Garde
871246172d
Allow custom embedders to post low memory notifications. ( #14506 )
...
This is a non-breaking addition to the stable Flutter Embedder API.
2019-12-16 11:42:13 -08:00
Wu Zhong
d2923801bb
Fix comments of iOS status bar height constant ( #14496 )
2019-12-15 12:34:21 -08:00
Chinmay Garde
f05832153b
Allow embedders to post Dart objects on send ports from the native side. ( #14477 )
...
This is a non-breaking addition to the stable Flutter Embedder API and exposes a
subset of the functionality provided by Dart_PostCObject API in a stable and
tested manner to custom embedder implementations.
Send port acquisition can currently be done as described in the unit-test but
there may be opportunities to extend this API in the future to access ports more
easily or create ports from the native side.
The following capabilities of the the Dart_PostCObject API are explicitly NOT
exposed:
* Object arrays: This allows callers to create complex object graphs but only
using the primitives specified in the native API. I could find no current use
case for this and would have made the implementation a lot more complex. This
is something we can add in the future if necessary however.
* Capabilities and ports: Again no use cases and I honestly I didn’t understand
how to use capabilities. If needed, these can be added at a later point by
appending to the union.
Fixes https://github.com/flutter/flutter/issues/46624
Fixes b/145982720
2019-12-13 17:28:21 -08:00
Chinmay Garde
03f45a1edd
Verify embedders can convert clip rects from mutation stack into surface space. ( #14483 )
...
Add a test to verify behavior discussed in b/143612326
2019-12-13 15:28:01 -08:00
Kaushik Iska
e65b4901fa
[animator] Pass target frametime for Window.onBeginFrame ( #14318 )
...
This gives us a time closer to when the frame will be rendered on
screen.
Fixes: https://github.com/flutter/flutter/issues/10850
2019-12-12 15:03:27 -08:00
Miguel
94654dbe63
[fuchsia] Add diagnostics directory to the set of remote dirs ( #14470 )
2019-12-12 14:50:49 -08:00
Kaushik Iska
e0e0ac0a68
[testing] Make vsync waiters pluggable in shell_unittests ( #14463 )
...
This makes it so that the platform views can be passed
an arbitraty CreateVsyncWaiter callback that lets us inject
a vsync waiter other than just the simulated monotonic vsync waiter
that currently exists.
2019-12-12 14:15:36 -08:00
Chinmay Garde
181ad4e18f
Use futures to images used for comparison with fixtures in embedder unit-tests. ( #14465 )
...
This earlier pattern was to use callbacks with latching.
2019-12-12 14:07:53 -08:00
Kaushik Iska
ffbe2a40e7
[testing] Move test vsync waiters to their own TUs ( #14456 )
...
This move makes it easier to add more vsync waiters.
2019-12-12 12:27:56 -08:00
Justin McCandless
a7b6ee58a2
Smart quote/dash configuration support in iOS ( #13863 )
...
Support for UITextSmartDashesType and UITextSmartQuotesType in iOS
2019-12-12 10:54:31 -05:00
Nathan Rogers
1ce85bec2f
[flutter_runner] Enable Skia tracing by default on Fuchsia ( #13457 )
...
Since Flutter tracing is wired up to Fuchsia system level tracing (and
that includes Skia tracing within Flutter), it makes more sense to
enable Skia tracing by default on Fuchsia, and to control Flutter Skia
tracing, rely on whether Fuchsia system tracing is enabled, in progress,
and contains the "skia" category.
2019-12-11 21:03:12 -08:00
Kaushik Iska
9bafb3cd3c
[tests] Use distinct begin and end times ( #14361 )
2019-12-11 17:23:49 -08:00
xster
fc8cafb3c6
objcdoc fix for some ambiguity ( #14367 )
2019-12-11 16:43:22 -08:00
Wu Zhong
9e4c6ad40c
Fix CGMutablePathRef memory leaks when the path is invalid. ( #14275 )
2019-12-11 15:52:29 -08:00
Chinmay Garde
0a40f3d784
Assert that arc end caps on canvases with root surface transformations are drawn correctly. ( #14359 )
...
Verifies that the Skia commit https://skia-review.googlesource.com/c/skia/+/259174 has been pulled into the engine. This should have happened in the roll https://github.com/flutter/engine/pull/14345 .
Fixes https://github.com/flutter/flutter/issues/46691
Fixes b/142280381
2019-12-11 15:17:34 -08:00
Jim Graham
85953615eb
Conditionally use offscreen root surface only when needed
...
Currently helps primarily on iOS when no BackdropFilter is present by lowering energy usage
2019-12-11 15:10:55 -08:00
Kaushik Iska
fb9dfe0fb6
[fuchsia] Move async_get_default_dispatcher include to the header ( #14351 )
2019-12-11 13:40:38 -08:00
Kaushik Iska
18519e9169
Roll fuchsia/sdk/core/linux-amd64 from UdfLO... to 9wKTl... ( #14342 )
...
* Roll fuchsia/sdk/core/linux-amd64 from UdfLO... to 9wKTl...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
* async set dispatcher is now from async-default
2019-12-11 11:47:30 -08:00
Kaushik Iska
6430ecfd39
[fuchsia] Do not Execute paint tasks when there is no vsync ( #14298 )
...
This should also reduce the number of OnSurfacesPresented calls
made.
2019-12-10 18:03:55 -08:00
liyuqian
212fbbaf82
Cleanup the IO thread GrContext ( #14265 )
...
Fixes https://github.com/flutter/flutter/issues/19558
This is tested by the devicelab test fast_scroll_large_images__memory
2019-12-10 16:02:02 -08:00
Craig Stout
b2ab78fb41
[shell][fuchsia] Add lib/async/default.h
...
For async_get_default_dispatcher().
2019-12-09 15:21:45 -08:00
Andy Weiss
5b870a218f
Add support for setting window size limits for glfw ( #13415 )
...
Add a function to the window which calls the glfw function for fixing
the size limits of the window. This can then be called after window
creation.
2019-12-08 13:58:58 -08:00
Kaushik Iska
f5250ec9b1
[fuchsia] SnapToNextPhase refactor + add tests and documentation ( #14158 )
2019-12-06 13:47:36 -08:00
Filip Filmar
29998f07fa
Configures ICU to load the timezone data ( #13952 )
...
The timezone data in Fuchsia is at a fixed path. This will have the
flutter runner attempt to load it and log, but not fail if loading
does not work out.
Added two tests
(1) Shows that the specific TZ data version loaded takes effect after
initialization
(2) Shows that when TZ data files are absent the initialization
continues.
2019-12-05 17:32:55 -08:00
Dan Field
2a1ade7908
Raise API level for reportFullyDrawn ( #14146 )
2019-12-05 14:51:55 -08:00
gaaclarke
84497ba495
Started setting the FlutterOverlayView's bounds when it gets added to its superview. ( #14018 )
2019-12-05 13:53:07 -08:00
Dan Field
73da385c11
Disable a11y on detach ( #14142 )
2019-12-05 11:16:38 -08:00
David Worsham
d117ac979c
Wire up Opacity on Fuchsia, round 2 ( #14024 )
...
* Remove erroneous ChildView opacity
* Wire frame metrics through contexts
* Maintain layer stack inside of SceneBuilder
* Remove EnsureSingleChild
* Centralize system-composite and elevation logic
* Wire up OpacityLayer to Scenic
2019-12-04 19:29:31 -08:00
Chinmay Garde
e6887328a1
Fix platform view offsets incorrectly taking into account device pixel ratios. ( #14135 )
...
This issue was hidden by an incorrect test expectation that has been corrected.
Fixes b/144555069
Fixes https://github.com/flutter/flutter/issues/45991
2019-12-04 13:15:47 -08:00
David Worsham
2fc1e1bce1
Relanding: Add Flow unittests and fixtures ( #14091 )
2019-12-03 14:33:02 -08:00
Kaushik Iska
ea228f2f83
Revert "Fix fml_unittests ( #14062 )" ( #14087 )
...
This reverts commit 6c605f8a9624a99573c6801395f03bff7ee8cc4c.
2019-12-03 12:24:19 -08:00
liyuqian
84bf72917c
Revert PRs to unblock David and Jim's work ( #14088 )
...
* Revert "Add flow test fixtures and tests (#13986 )"
This reverts commit 620f5281b819f304e8e9e945222e26b17b087cc3.
* Revert "Dynamically determine whether to use offscreen surface based on need (#13976 )"
This reverts commit a86ef946563b020108320bbfb974bf7343284fd3.
2019-12-03 12:02:37 -08:00