Kaushik Iska
10205291d4
[testing] Move test vsync waiters to their own TUs ( flutter/engine#14456 )
...
This move makes it easier to add more vsync waiters.
2019-12-12 12:27:56 -08:00
Justin McCandless
533f607e6a
Smart quote/dash configuration support in iOS ( flutter/engine#13863 )
...
Support for UITextSmartDashesType and UITextSmartQuotesType in iOS
2019-12-12 10:54:31 -05:00
Nathan Rogers
8e09f317a6
[flutter_runner] Enable Skia tracing by default on Fuchsia ( flutter/engine#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
aca6a4f55a
[tests] Use distinct begin and end times ( flutter/engine#14361 )
2019-12-11 17:23:49 -08:00
xster
86730dee7b
objcdoc fix for some ambiguity ( flutter/engine#14367 )
2019-12-11 16:43:22 -08:00
Wu Zhong
fd89277550
Fix CGMutablePathRef memory leaks when the path is invalid. ( flutter/engine#14275 )
2019-12-11 15:52:29 -08:00
Chinmay Garde
439b705342
Assert that arc end caps on canvases with root surface transformations are drawn correctly. ( flutter/engine#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
17e3cf8e55
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
c172d3522a
[fuchsia] Move async_get_default_dispatcher include to the header ( flutter/engine#14351 )
2019-12-11 13:40:38 -08:00
Kaushik Iska
bef91dd904
Roll fuchsia/sdk/core/linux-amd64 from UdfLO... to 9wKTl... ( flutter/engine#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
d140623043
[fuchsia] Do not Execute paint tasks when there is no vsync ( flutter/engine#14298 )
...
This should also reduce the number of OnSurfacesPresented calls
made.
2019-12-10 18:03:55 -08:00
liyuqian
d067c4a259
Cleanup the IO thread GrContext ( flutter/engine#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
cb33e504a1
[shell][fuchsia] Add lib/async/default.h
...
For async_get_default_dispatcher().
2019-12-09 15:21:45 -08:00
Andy Weiss
5ee8bb73fe
Add support for setting window size limits for glfw ( flutter/engine#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
ab66e5740f
[fuchsia] SnapToNextPhase refactor + add tests and documentation ( flutter/engine#14158 )
2019-12-06 13:47:36 -08:00
Filip Filmar
47c8615577
Configures ICU to load the timezone data ( flutter/engine#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
168f41ba44
Raise API level for reportFullyDrawn ( flutter/engine#14146 )
2019-12-05 14:51:55 -08:00
gaaclarke
e479d6ad89
Started setting the FlutterOverlayView's bounds when it gets added to its superview. ( flutter/engine#14018 )
2019-12-05 13:53:07 -08:00
Dan Field
fcab1c7433
Disable a11y on detach ( flutter/engine#14142 )
2019-12-05 11:16:38 -08:00
David Worsham
cb0aca7f74
Wire up Opacity on Fuchsia, round 2 ( flutter/engine#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
ce4d1dc06f
Fix platform view offsets incorrectly taking into account device pixel ratios. ( flutter/engine#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
df08c2593a
Relanding: Add Flow unittests and fixtures ( flutter/engine#14091 )
2019-12-03 14:33:02 -08:00
Kaushik Iska
16ee373dc9
Revert "Fix fml_unittests ( #14062 )" ( flutter/engine#14087 )
...
This reverts commit ca9e7fc470843285b50999fa0e41ba29084ad474.
2019-12-03 12:24:19 -08:00
liyuqian
52e74298e0
Revert PRs to unblock David and Jim's work ( flutter/engine#14088 )
...
* Revert "Add flow test fixtures and tests (#13986 )"
This reverts commit 32915132bacdfd0d631421b23bb6a6d5db1095ab.
* Revert "Dynamically determine whether to use offscreen surface based on need (#13976 )"
This reverts commit a13401ce86b3019c39154d56644b7b9eb4a5bbe5.
2019-12-03 12:02:37 -08:00
David Worsham
32915132ba
Add flow test fixtures and tests ( flutter/engine#13986 )
2019-12-03 09:43:02 -08:00
Dan Field
69d5294a7a
Remove suprious warning ( flutter/engine#14079 )
2019-12-02 16:51:30 -08:00
stuartmorgan
8a11e4f2de
Report backing store changes in the macOS view ( flutter/engine#13933 )
2019-12-02 16:33:04 -08:00
Francisco Magdaleno
3e6ba41538
Listen to keyUp event on meta modified keys ( flutter/engine#13984 )
2019-12-02 16:17:19 -08:00
Dan Field
f5aa0ec812
Fix live region logic ( flutter/engine#14081 )
2019-12-02 15:49:15 -08:00
David Worsham
ca9e7fc470
Fix fml_unittests ( flutter/engine#14062 )
2019-11-27 16:04:30 -08:00
Jim Graham
a13401ce86
Dynamically determine whether to use offscreen surface based on need ( flutter/engine#13976 )
...
Only use an offscreen surface on iOS if a layer which reads back from the destination surface, such as BackdropFilter, is present.
2019-11-27 15:01:25 -08:00
Gary Qian
e4ba568098
Revert "Do not default to downstream affinity on iOS insertText ( #13852 )" ( flutter/engine#14053 )
...
This reverts commit ffe1d3fca6199594535967cf9c05fb4a7ee7cc27.
2019-11-28 07:34:40 +09:00
神楽坂花火
d999372f50
Pass "null" when copy data is null to iOS pasteboard.string ( flutter/engine#14046 )
2019-11-27 23:46:30 +09:00
Gary Qian
b2a77134a6
Always set mEditable values when different in TextPlugin ( flutter/engine#13951 )
2019-11-27 07:51:04 +09:00
Dan Field
1d4b394228
Avoid retaining self in block ( flutter/engine#14022 )
2019-11-26 14:47:00 -08:00
Chinmay Garde
1405016707
Add a separate target for Dart coverter on FML types. ( flutter/engine#14011 )
...
The converters are still in a separate target that must be included manually. This allows targets that depend on FML but not Dart runtime not have to depend on the runtime.
Adds a test that includes this target and tests image decompression from assets. There is also a test for the standalone DartConvertor in shell_unittests but not in fml_unittests be cause FML uni-tests cannot yet launch a VM. I will work on adding fixtures for those.
2019-11-26 13:33:56 -08:00
gaaclarke
9442238326
Added docstring for FlutterOverlayView. ( flutter/engine#14019 )
2019-11-26 13:10:24 -08:00
Kaushik Iska
d6b2b657eb
[vulkan] Bundle vulkan validation layer so files ( flutter/engine#13930 )
...
Enable vulkan validation for Fuchsia in debug mode as well.
2019-11-25 16:09:56 -08:00
Chinmay Garde
dee0c26a36
Don't crash but warn when the scene builder specifies no layers. ( flutter/engine#14008 )
2019-11-25 15:38:41 -08:00
Francisco Magdaleno
0ae5cf2b29
Remove device independent mask ( flutter/engine#14010 )
2019-11-25 14:55:12 -08:00
Jason Simmons
b8182fbd53
Convert images to raster on the GPU thread for Image.toByteData ( flutter/engine#13647 )
...
If the image is a cross-context image that might be read from the GPU thread
during onscreen rendering, then it is not safe to read it concurrently from
the IO thread as part of Image.toByteData.
If the GPU thread does not have a graphics context, then fall back to
converting the image on the IO thread.
Fixes https://github.com/flutter/flutter/issues/30697
2019-11-25 14:44:57 -08:00
David Worsham
5aa9e07326
Fix most fml tests on Fuchsia ( flutter/engine#14007 )
...
* Add fuchsia MessageLoopImpl; fix several tests
2019-11-25 14:16:50 -08:00
gaaclarke
ec5cf813f6
Made a way to turn off the OpenGL operations on the IO thread for backgrounded apps ( flutter/engine#13908 )
2019-11-22 14:08:33 -08:00
Gary Qian
ffe1d3fca6
Do not default to downstream affinity on iOS insertText ( flutter/engine#13852 )
2019-11-22 14:02:50 -08:00
gaaclarke
43dce83fc1
Refactor to passing functions by const ref ( flutter/engine#13975 )
...
Moved our code to passing functions by const ref
2019-11-22 12:20:02 -08:00
Matt Carroll
bdff1904c4
Removed GET_ACTIVITIES flag from all manifest meta-data lookups. ( #38891 ) ( flutter/engine#13932 )
2019-11-21 15:00:27 -08:00
Craig Stout
ff7f96116f
[shell][fuchsia] Migrate away from deprecated async loop configs
2019-11-21 13:49:53 -08:00
George Wright
49897131f4
Ensure we use the base CompositorContext's AcquireFrame method when screenshotting ( flutter/engine#13934 )
...
This ensures we rasterize into the canvas passed in as subclasses may reimplement AcquireFrame in different ways that don't utilize the canvas object passed in (such as Fuchsia's flutter_runner::CompositorContext).
2019-11-20 14:09:27 -08:00
Ian McKellar
7461c5a43a
[flutter_runner] fix a11y tests ( flutter/engine#13947 )
...
Instead of running over 400000000 nodes, do something a little quicker.
2019-11-20 12:11:35 -08:00
Chinmay Garde
6df221f6fb
Expose the platform view mutator stack to custom compositors. ( flutter/engine#13731 )
...
This allows custom compositors to affect scene builder modifications made
to the platform view.
Fixes https://github.com/flutter/flutter/issues/44211
Fixes b/143612326
2019-11-19 10:35:41 -08:00