3732 Commits

Author SHA1 Message Date
Jason Simmons
f30e10db45 Map the Android VsyncWaiter frame start time to the clock used by fml::TimePoint (flutter/engine#29093) 2021-10-11 13:13:01 -07:00
James Clarke
d3f3b7368e Fix build flags for WinUWP (flutter/engine#29100) 2021-10-11 09:58:02 -07:00
Alexander Biggs
3dc63f83c0 [fuchsia] Add Launcher & Resolver to Dart JIT CMX. (flutter/engine#29091) 2021-10-08 17:33:01 -07:00
Dan Field
293ef51fc6 Reland Android systrace (flutter/engine#29080)
* Reland "Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (#28903)" (#29071)"

This reverts commit a7660964b41f64991369341364a43c93317a4a51.

* More logcat

* more logs

* Remove wait

* Avoid plugin registrar exception

* DEFAULT instead of LAUNCHER

* use am instead of monkey

* Update android_systrace_test.py
2021-10-08 15:55:50 -07:00
Alexander Biggs
069625d26a [fuchsia] Rename, move some CF v1 runner code. (flutter/engine#29072)
Bug: fxb/50694
Tested: Ran Spinning Square with the JIT runner.

Some small non-destructive cleanups that should make the CF v2
Flutter runner easier to read in a follow-up PR. No logic is
changed, only naming and location.

Renames Application -> Component. This matches the filename and
Fuchsia's naming.
Moves FileInNamespaceBuffer and related utilities into a separate
file from component.cc. This will enable reusing these utilities
in the CF v2 FLutter runner. Also adds documentation for them.
Renames CreateWithContentsOfFile helper -> LoadFile since that's
what the FML_EVENT_TRACE calls it.
Removes undefined UnregisterApplication method. There are no
usages of this method in our codebase.
Move fields after methods to follow the C++ style guide.
2021-10-08 15:01:15 -04:00
linxuebin
9d9e1246a8 Macos external texture metal support yuv (flutter/engine#28341) 2021-10-08 10:58:01 -07:00
Zachary Anderson
a7660964b4 Revert "Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (#28903)" (flutter/engine#29071)
This reverts commit 79063b3c6105c3cf8be757ed6d31dd9a055060d9.
2021-10-07 22:08:10 -07:00
Dan Field
79063b3c61 Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (flutter/engine#28903) 2021-10-07 15:59:46 -07:00
Chris Bracken
160c80088a Switch skipped UWP tests to disabled (flutter/engine#29046)
This ensures that they show up in the disabled test count at the end of
the run.

Issue: https://github.com/flutter/flutter/issues/90481
2021-10-07 10:23:08 -07:00
Kate Lovett
96c6b95d33 Update contrast enforcement for null values (flutter/engine#29055) 2021-10-07 09:48:01 -07:00
Dan Field
074f1d0842 Do not call Animator::Delegate::OnAnimatorNotifyIdle until at least one frame has been rendered. (flutter/engine#29015) 2021-10-07 09:41:58 -07:00
Emmanuel Garcia
c47526067a Remove some deprecated APIs from the Android embedding (flutter/engine#28977) 2021-10-06 15:38:02 -07:00
Tong Mu
e565b58d65 [Linux] Reset keyboard states on engine restart (flutter/engine#28877)
With this PR, the state of the keyboard system will be reset when the engine is reset (typically during a hot restart.)
2021-10-06 12:26:33 -07:00
David Worsham
afaef07cac Revert "Guard task queue id for fuchsia (#26542)" (flutter/engine#29042)
This reverts commit 1692a5f722119bb6673eb36d5d4f3d98b208f189.
2021-10-06 10:49:10 -07:00
Jaeheon Yi
eec35470ff fuchsia: fix build (flutter/engine#29035) 2021-10-05 17:47:02 -07:00
Alexander Biggs
46d879a563 [fuchsia] CML files for Flutter runner CF v2. (flutter/engine#28982)
Bug: 50694
2021-10-05 13:13:44 -04:00
Emmanuel Garcia
93ca319487 Expose updateSystemUiOverlays in FlutterActivity and FlutterFragment (flutter/engine#29013) 2021-10-04 19:03:02 -07:00
freiling
6d0920a925 [fuchsia][flatland] Fix for AwaitVsync race (flutter/engine#28980)
* [fuchsia][flatland] regression test for AwaitVsync race problem

* [fuchsia][flatland] minimal fix for AwaitVsync race
2021-10-04 17:54:04 -07:00
Dan Field
542896d8c9 Start animator paused (flutter/engine#29007) 2021-10-04 15:48:01 -07:00
Chase Latta
951c5f2e64 Pass argmuent list to dart_runner v2 main invocation. (flutter/engine#28998)
Tested by running integration tests in fuchsia.git.
2021-10-04 14:03:34 -07:00
Tong Mu
638b129319 [Windows] Add restart hooks, and reset keyboard (flutter/engine#28970)
With this PR, the state of the keyboard system will be reset when the engine is reset (typically during a hot restart.)
2021-10-04 14:02:22 -07:00
Tong Mu
2e334c1134 Keyboard guarantee non empty events (flutter/engine#28648)
* Web

* macos

* Linux

* Easier web impl

* doc and format

* Better linux impl

* Format

* Better impl mac

* Format

* Windows

* Format

* Apply suggestions from code review

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2021-10-04 14:01:51 -07:00
Tong Mu
e65e21f021 MacOS keyboard: RawKeyboard uses filtered modifier (flutter/engine#28666)
Removes the uninterested bits from the modifiers sent to the framework to keep consistency.
2021-10-04 14:01:36 -07:00
Chase Latta
fb1d646e61 make dart_runner cmx files have valid json (flutter/engine#28997) 2021-10-04 13:28:01 -07:00
Jason Simmons
79c7cfdc91 Defer setup of the default font manager if the embedding prefetched the font manager (flutter/engine#28987) 2021-10-04 13:23:02 -07:00
Chase Latta
afd577c733 [fuchsia] publish dart runner v2 protocol (flutter/engine#28993) 2021-10-04 13:18:03 -07:00
Emircan Uysaler
27ff3352fb fuchsia: Change flatland present's release fence logic (flutter/engine#28850)
* fuchsia: Change flatland present's release fence logic

(cherry picked from commit a9a370252276df6c379c25bc809467d64b11beac)
(cherry picked from commit 74c559d424d35e45e619a7da1d87e3d3dec57ec1)

* fuchsia: Use runner_services to connect to Flatland

(cherry picked from commit 685493e7f01aaf9cc03f6e8ca66946203b20f880)
2021-10-01 12:02:48 -07:00
David Worsham
bd89058626 fuchsia: Add FakeFlatland and tests (flutter/engine#28926) 2021-09-30 20:27:30 -07:00
Alexander Biggs
b173af45a6 [fuchsia] Pass WeakPtrs to GfxConnection FIDL fns. (flutter/engine#28951) 2021-09-30 18:28:01 -07:00
Rich Kadel
c2ad820db9 Migrated integration_flutter_test/embedder (scenic integration test) from fuchsia.git (flutter/engine#26880) 2021-09-30 17:10:02 -07:00
Alexander Biggs
dad7453c05 [fuchsia] Dart Runner for CF v2 components. (flutter/engine#28923)
Bug: fxb/79871

Implements the ComponentRunner protocol for the Dart runner, making the Dart runner compatible with CF v2.
2021-09-30 19:41:02 -04:00
Dan Field
8424cd2767 Avoid GCing aggressively during startup, and forward trim messages beyond low to application (flutter/engine#28891) 2021-09-30 12:46:49 -07:00
WenJingRui
8cc6aa3a61 [shared_engine] Avoid the method surfaceUpdated is called many times when multiple FlutterViewController shared one engine (flutter/engine#28658) 2021-09-29 20:53:01 -07:00
gaaclarke
4a47a9f60d fixed android unit tests (rotted before CI is running) (flutter/engine#28938) 2021-09-29 14:19:44 -07:00
Emircan Uysaler
7faf37c825 [fuchsia] Rename FuchsiaExternalViewEmbedder to GfxExternalViewEmbedder (flutter/engine#28820) 2021-09-29 11:55:45 -07:00
Jaeheon Yi
c60637ac3f [fuchsia] Flatland endpoints hookup (flutter/engine#28852)
This patch gives the view-specific protocol
endpoints to the Flatland instance.
2021-09-29 11:21:11 -07:00
Camille Simon
0eddf5471a Deprecate SplashScreenProvider (flutter/engine#28921) 2021-09-29 11:11:06 -07:00
ColdPaleLight
3bd57ac05a Make FlutterEngineGroup support initialRoute (flutter/engine#28884) 2021-09-29 11:02:37 -07:00
Kaushik Iska
a3553b7f41 vsync_waiter_fallback should schedule firecallback for future (flutter/engine#28817) 2021-09-29 10:48:02 -07:00
Tong Mu
f53ff208be [Linux] Fix crash when a method channel is reassigned (flutter/engine#28878)
* Impl

* Format

* Doc
2021-09-29 10:47:00 -07:00
Tong Mu
8ef081034c [Linux, Embedder] Add engine restart hooks (flutter/engine#28924)
* Restart

* Format

* Doc

* Test

* Format

* Revert keyboard
2021-09-29 10:46:43 -07:00
Emmanuel Garcia
03fc3660f6 Destroy overlay surfaces when the rasterizer is torn down (flutter/engine#28894) 2021-09-28 14:38:02 -07:00
gaaclarke
452b0bd2f9 added unit tests for the android embedder that run on android devices (flutter/engine#28784) 2021-09-28 14:02:18 -07:00
David Worsham
5633de2702 fix test again 2021-09-28 12:48:12 -07:00
David Worsham
d5d15aba36 fix test 2021-09-28 12:48:12 -07:00
David Worsham
4114da27f4 fuchsia: Use runner services 2021-09-28 12:48:12 -07:00
moko256
b8809dde77 Windows: Add dark theme support. (flutter/engine#28131)
This PR adds the dark theme support for both windows and winuwp engine, based on flutter/flutter#54612.

On Win32: using a registry value that is not documented. (I tested on Windows 10.0.19043.1165)
On UWP: using default background color. (I couldn't find WinRT API that returns dark/light directly, without xaml package.)

Flutter PR for win32: flutter/flutter#88520.
This PR will close flutter/flutter#54612.
This PR will complete one item in flutter/flutter#70214.
2021-09-28 11:03:18 -07:00
moko256
fecbc63bec [UWP] Implement clipboard. (flutter/engine#28064)
This PR implements clipboard in platform handler in UWP.
2021-09-27 17:01:42 -07:00
Emircan Uysaler
ea8305d95f fuchsia: Add child views to flatland engine (flutter/engine#28811) 2021-09-27 12:13:01 -07:00
Chris Yang
c9f351741d backdrop_filter_layer only pushes to the leaf_nodes_canvas (flutter/engine#28500) 2021-09-27 11:33:01 -07:00