2440 Commits

Author SHA1 Message Date
Robert Ancell
01e06ed3d9
Add support for headless mode (#19038) 2020-06-17 06:25:48 +12:00
Sanjay Chouksey
d0f9ef631c
Allow access to raw zircon handle (#19052)
As part of migrating Fuchsia from legacy SceneHost/ChildView based code
to Flutter Embedder based PlatformView, we need to expose the raw zircon
handle. Since we are converting a private getter to public getter, this
does not affect any existing code.

Co-authored-by: Sanjay Chouksey <sanjayc@google.com>
2020-06-16 11:23:39 -07:00
Gary Qian
3a96741247
Platform resolved locale and Android localization refactor (#18645) 2020-06-16 04:29:50 -07:00
Michael Goderbauer
486f26fbf9
Rename trace-whitelist to trace-allowlist (#19047) 2020-06-15 20:52:43 -07:00
cg021
de063512c5
Add createOverlaySurface JNI (#19040) 2020-06-15 19:49:29 -07:00
gaaclarke
ca2a370578
started polling the gpu usage (#18752) 2020-06-15 16:48:14 -07:00
gaaclarke
c00882a71a
updated tests names (#18966) 2020-06-15 13:25:00 -07:00
Dan Field
e84d497b9d
Fix hit testing logic in fuchsia a11y (#19029) 2020-06-12 18:24:38 -07:00
Michael Goderbauer
f7d241fd8a
Wire up channel for restoration data (#18042) 2020-06-12 16:31:25 -07:00
Dan Field
983b6e198d
Call Shell::NotifyLowMemory when backgrounded/memory pressure occurs on Android (#19026)
* Reland "Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (#18979)" (#19023)"

This reverts commit 0a852d8ad7e0b132d86c0a604f2c41a110f2b3b6.
2020-06-12 15:12:25 -07:00
James Robinson
e3fdb23304
[fuchsia] Add ability to configure separate data and asset dirs (#18858)
This allows Fuchsia components executed by the Flutter runner to
specify a directory containing assets if they wish to store assets
separate from program data. This is specified in the program metadata
field within the component's specification with the new "assets"
attribute. If this attribute is absent, assets are loaded relative to
the path specified in the "data" attribute as before.

This is useful in the short term to use a location in the package where
we can store small files more efficiently. It is also potentially
useful longer term to enforce a stronger separatation between
executable program data and non-executable assets.

This commit adds some basic unit testing for the data parsing to the
flutter_runner_tests suite.
2020-06-12 14:41:27 -07:00
cg021
7cb7003a11
onEndFrame JNI (#18867)
* onEndFrame JNI

* beginFrame brief change
2020-06-12 16:21:25 -05:00
Emmanuel Garcia
0a852d8ad7
Revert "Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (#18979)" (#19023)
This reverts commit f5ab179e7a793e2bd5d087d59911e99f8b45e6c9.
2020-06-12 12:31:12 -07:00
Kaushik Iska
acf048bd0d
Remove log added for local testing (#19012) 2020-06-11 19:22:36 -07:00
Kaushik Iska
2651beba06
Exit before pushing a trace event when layer tree holder is empty (#19008) 2020-06-11 19:17:20 -07:00
freiling
e1c622b4aa
Make SKSL caching test work on Fuchsia on arm64 (#18572)
* Hook up PersistentCache to ShellTestPlatformViewVulkan

* [vulkan][fuchsia] enable vulkan without swiftshader in fuchsia tests on arm64

* [vulkan][fuchsia] Disable second half of ShellTest.CacheSkSLWorks on
vulkan backend

GrContext::precompileShader() is not implemented for vulkan contexts, so
dont run the portion of this test that depends on that behavior on
Vulkan.

Co-authored-by: George Wright <gw280@google.com>
2020-06-11 18:45:23 -07:00
cg021
ac809b48cb
onBeginFrame JNI (#18866) 2020-06-11 17:15:03 -07:00
Robert Ancell
9f898e98c2
Don't process key events when the text input is not requested (#18990) 2020-06-12 10:59:35 +12:00
Robert Ancell
4bd6aea07c
Always send key events, even if they're used for text input. (#18991) 2020-06-12 10:59:23 +12:00
Robert Ancell
87d8888048
Show warning if method response errors occur and error not handled. (#18946) 2020-06-12 09:11:36 +12:00
Robert Ancell
5ddc122f02
Fix inverted check in creating resource surface (#18989) 2020-06-12 09:09:06 +12:00
Robert Ancell
71fce02dd6
Fix shift-tab not working by adding more GTK->GLFW key mappings. (#18988) 2020-06-12 09:08:41 +12:00
Kaushik Iska
2a82a08329
[dart] Account for compiler api change (#19002) 2020-06-11 10:12:39 -07:00
Emmanuel Garcia
1ddc6e1d3a
Call destructor and fix check (#18985) 2020-06-10 20:29:04 -07:00
Emmanuel Garcia
e5845af424
Put JNI functions under an interface (#18903) 2020-06-10 18:40:58 -07:00
Robert Ancell
ca26b7558e
Make Linux shell plugin constructor descriptions consistent (#18940) 2020-06-11 12:31:29 +12:00
Robert Ancell
b19a17d5d1
Implement an EGL resource context for the Linux shell. (#18918)
Fixes https://github.com/flutter/flutter/issues/54855
2020-06-11 12:31:06 +12:00
Emmanuel Garcia
50cae024a3
Reland: Add RAII wrapper for EGLSurface (#18977) 2020-06-10 17:22:20 -07:00
Dan Field
f5ab179e7a
Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (#18979) 2020-06-10 17:18:17 -07:00
Chinmay Garde
14c78ff3aa
Make sure the native callback is registered before running the test. (#18981)
Otherwise, this is a race condition.

Fixes https://github.com/flutter/flutter/issues/58785
2020-06-10 16:16:14 -07:00
Robert Ancell
592cbab997
Fix right-to-left selection not working. (#18951)
Fixes https://github.com/flutter/flutter/issues/57636
2020-06-11 11:13:57 +12:00
Emmanuel Garcia
3864e3f89c
Revert "Add RAII wrapper for EGLSurface (#18849)" (#18971)
This reverts commit d8fe71f665735cd181eb6dc2b2805f3786a67d75.
2020-06-10 13:43:36 -07:00
Wu Zhong
0e8f89cd71
Fixes UI freezes when multiple Flutter VC shared one engine (#18816)
Co-authored-by: Aaron Clarke <aaclarke@google.com>
2020-06-10 10:22:38 -07:00
Chris Yang
b1a08f2abd
Make rasterizer screenshot work with gl_context_switch (#18850) 2020-06-10 10:00:43 -07:00
Todd Volkert
7e6c856ea0
Add support for horizontalDoubleArrow and verticalDoubleArrow cursors (#18916) 2020-06-10 07:17:11 -07:00
Dan Field
096dab8be9
fix build (#18950) 2020-06-09 20:47:48 -07:00
Emmanuel Garcia
d8fe71f665
Add RAII wrapper for EGLSurface (#18849) 2020-06-09 19:42:43 -07:00
Robert Ancell
101e85491d
Add FlMouseCursorPlugin (#18888)
Fixes https://github.com/flutter/flutter/issues/57595
2020-06-10 14:16:42 +12:00
cg021
82e188d10b
Add onDisplayOverlaySurface JNI (#18859) 2020-06-09 17:07:53 -07:00
Robert Ancell
283cc2a536
Add FlPlatformPlugin (#18316)
Fixes https://github.com/flutter/flutter/issues/54857
2020-06-10 12:02:24 +12:00
David Worsham
66d85bceb7
Move Surface and friends to flow/ (#18938) 2020-06-09 16:03:01 -07:00
Robert Ancell
6f5d92d241
Remove the input type and action from TextInputModel. (#18919)
These aren't used by the model so are better managed outside of it.
2020-06-10 10:00:32 +12:00
Emmanuel Garcia
17aead34b7
Run the rasterizer on the platform thread (#18841) 2020-06-09 14:52:17 -07:00
Brian Osman
925943b74d
SkMatrix::MakeFoo is deprecated, use SkMatrix::Foo instead (#18934) 2020-06-09 16:55:13 -04:00
Felipe Archondo
80230d815d
[fuchsia] add robust scheduling for flutter_runner (#18233) 2020-06-09 13:50:51 -07:00
Kaushik Iska
28e7b7999f
Remove pipeline in favor of layer tree holder (#18901)
Relanding of a change that was reverted in:
https://github.com/flutter/engine/pull/18427
2020-06-09 12:19:34 -07:00
Robert Ancell
0c7f4c7a18
Log EGL errors (#18917) 2020-06-10 06:27:30 +12:00
Robert Ancell
db6793bca3
Use constant for error code (#18913) 2020-06-10 06:27:08 +12:00
Robert Ancell
91d520986e
Add scroll event support (#18885) 2020-06-09 12:20:06 +12:00
Robert Ancell
320e80552f
Update FlTextInputPlugin method handler style. (#18886)
Match the style used in the external plugins and more carefully vet the incoming
arguments.
2020-06-09 11:36:00 +12:00