4048 Commits

Author SHA1 Message Date
Emmanuel Garcia
9ee76a6572 Improve platform views performance (flutter/engine#31198) 2022-02-11 21:15:10 -08:00
Jason Simmons
94ce103fb5 Fix initialization of ThreadHost name prefix (flutter/engine#31420) 2022-02-11 18:35:09 -08:00
Jason Simmons
957f52c55c Guard the Flutter Skia event tracer category flags with a lock (flutter/engine#31416) 2022-02-11 16:45:11 -08:00
Callum Moffat
8a1f4d07f3 Reland: Trackpad gesture PointerData types (flutter/engine#31402)
This commit adds support to the engine core for encoding trackpad gestures for to the framework. Original PR was #28571
2022-02-11 14:02:09 -08:00
Emmanuel Garcia
ddc22d32df Detach from GL context before attaching (flutter/engine#31390) 2022-02-11 12:30:04 -08:00
JsouLiang
493cfd9601 Define thread priority enum and set thread priority for all threads in Engine (flutter/engine#30605)
* Define thread priority enum and set thread priority for all threads in Engine

* Split out the thread data and the thread data set operator
2022-02-10 21:14:54 -08:00
Camille Simon
147d162382 [Android] Show deprecation warnings for Android tests (flutter/engine#31246) 2022-02-10 10:50:10 -08:00
Ben Konyi
56afd34216 Change support for VM service message from "The Dart VM Service is listening" to "The Dart VM service is listening" (flutter/engine#31361)
See https://github.com/dart-lang/sdk/issues/46756
2022-02-10 09:45:28 -08:00
Tong Mu
367cff931a Revert "Add trackpad gesture PointerData types (#28571)" (flutter/engine#31375)
This reverts commit 66b5a1c1eb5b20fe22b87ae1de19b6ade2bb19f8.
2022-02-10 08:41:03 -08:00
Chris Bracken
3e6137c8ec Migrate string encoding conversions to FML (flutter/engine#31334)
We've implemented UTF-8/UTF-16 string encoding conversions in multiple
places, from FML to //flutter/shell/platform/common, to the individual
embedders. This migrates these conversions to FML and adds tests.

Windows APIs use wchar_t-based strings and as a result, we continue to
keep Windows-specific functions in fml/platform/win/wstring_conversion.h.

We break out string_conversions into its own source set since FML brings
with it some Dart dependencies (e.g. dart_timestamp_provider.cc) that
are unused by some targets such as uwptool.exe in the Windows UWP
embedding.

Issue: https://github.com/flutter/flutter/issues/98061
2022-02-09 22:59:48 -08:00
Callum Moffat
66b5a1c1eb Add trackpad gesture PointerData types (flutter/engine#28571)
* Implement trackpad gestures in engine

* Remove the platform implementations

* Add new device type for trackpad

* Add back the necessary changes for Android

* Address feedback

* Fix doc typos
2022-02-09 21:50:40 -08:00
Jami Couch
9c02e9da59 Fix AccessibilityBridge crash due to invalid access during ReplaceSemanticsObject (flutter/engine#31351) 2022-02-09 16:55:10 -08:00
Zachary Anderson
eca60c0b90 Add clang-analyzer-* and clang-diagnostic-* to .clang-tidy (flutter/engine#31291) 2022-02-09 12:26:34 -08:00
Brandon DeRosier
1949da6462 De-flake CanCreateShellsWithMetalBackend (flutter/engine#31343) 2022-02-08 22:50:13 -08:00
cfontas
e893b8feb2 [fuchsia] Update Flatland Clipping API (flutter/engine#31311) 2022-02-08 14:30:07 -08:00
Emircan Uysaler
33a23ab4bc [fuchsia] Allow multiple vsync requests before the first Present (flutter/engine#31316) 2022-02-08 12:30:03 -08:00
Aske Simon Christensen
b98f76a687 Add hash_factories patch file (flutter/engine#31133) 2022-02-08 07:55:04 +01:00
Justin McCandless
f3b4cf3045 Linux TextEditingDeltas (flutter/engine#29215)
The Linux platform can report the delta in text editing changes via enableDeltas, useful for custom rich text editors.
2022-02-07 14:58:48 -08:00
Ben Konyi
34d2ccff68 Change support for VM service message from "Dart VM Service listening" to "The Dart VM Service is listening" (flutter/engine#31310)
See https://github.com/dart-lang/sdk/issues/46756
2022-02-07 13:55:22 -08:00
Jim Graham
ef9c1c9887 Revert "Fix first batch of warnings in the Android embedding (#30807)" (flutter/engine#31277)
This reverts commit 2288e0d981062fd94c41fec53ac889d039379cbb.
2022-02-05 11:39:46 -08:00
Emmanuel Garcia
2288e0d981 Fix first batch of warnings in the Android embedding (flutter/engine#30807) 2022-02-04 18:50:08 -08:00
Emmanuel Garcia
6d8f65e672 Parallelize Android unit tests (flutter/engine#30728) 2022-02-04 16:15:09 -08:00
Ben Konyi
a5baa644a3 Add support for new VM service message (flutter/engine#31250)
"Observatory listening on..." is eventually being updated to "Dart VM
Service listening on...". This change allows for parsing the VM service
URI from messages of either format.

See https://github.com/dart-lang/sdk/issues/46756
2022-02-04 10:25:53 -08:00
Wu Zhong
a05ff11045 [iOS] Add FlutterViewController weak pointer check before use (flutter/engine#31008) 2022-02-03 19:55:10 -08:00
Alexander Biggs
900fd11e17 [fuchsia] Fix typo in error message. (flutter/engine#31249) 2022-02-03 17:10:11 -08:00
Tong Mu
2e79db2171 [Win32, Keyboard] Fix text input after pressing Enter or Ctrl-Digit (flutter/engine#31247) 2022-02-03 17:00:07 -08:00
Felipe Archondo
35078529c1 [fuchsia] add input shield to Flatland (flutter/engine#31119)
Currenty this is a no-op on Flatland. This work is part of the effort to
enable hit testing on Flatland, after a couple CLs land platform-side.

Test: unittests and manual testing
Bug: fxbug.dev/92165
2022-02-03 18:05:36 -05:00
Emmanuel Garcia
9315ec14d1 Reland: Teardown external view embedder prior to unmerging threads (flutter/engine#31122) 2022-02-03 11:55:04 -08:00
Emmanuel Garcia
74c00d4838 Don't remove views while the rasterizer is torn down (flutter/engine#31229) 2022-02-03 11:45:10 -08:00
Tong Mu
973b9ef231 [Win32, Keyboard] Lift redispatching to messages, via SendMessage. (flutter/engine#31200) 2022-02-02 15:30:10 -08:00
Alexander Biggs
ed9f2ef23c Use MemoryProvider in Flutter Runner. (flutter/engine#31165) 2022-02-02 13:05:09 -08:00
chunhtai
fd09dc3626 Reply to accessibility method call even if semantics is not enabled (flutter/engine#31063) 2022-02-02 09:05:11 -08:00
Brandon DeRosier
d683f9a0c7 Vulkan support in the Embedder API (flutter/engine#29391) 2022-02-02 00:55:21 -08:00
LongCatIsLooong
87bdc6747d [Android] expose "textShowPassword" to the framework (flutter/engine#30780) 2022-02-01 12:55:10 -08:00
ColdPaleLight
764fe4790b Remove obsolete member variables in 'flutter::Engine' and tweak the unittest (flutter/engine#31148) 2022-01-31 21:30:11 -08:00
Brandon DeRosier
925224a9ee Prefix remaining OS defines with FML_ namespace (flutter/engine#31172) 2022-01-31 14:31:44 -08:00
Brandon DeRosier
2d4f908b9d Add FML_ prefix to fml/build_config.h macros (flutter/engine#31141) 2022-01-31 11:53:51 -08:00
Chris Yang
bfc9fb052b Remove Thread merging logic in DiscardLayerTreeOnResize test (flutter/engine#30803) 2022-01-28 21:05:11 -08:00
ColdPaleLight
58e15e00e3 Don't pause Animator when lifecycle state paused (flutter/engine#30969) 2022-01-27 15:55:07 -08:00
eggfly
1d4b9857fc [Android] Get the right frame_budget when device frame_rate is not 60 (flutter/engine#30924) 2022-01-27 13:35:10 -08:00
ColdPaleLight
faa798055d Revert "Teardown external view embedder prior to unmerging threads (#30893)" (flutter/engine#31108)
This reverts commit a3ea78de97f9b801ae5f4eca1902eace654a37f6.
2022-01-27 09:08:11 -08:00
David Worsham
e743ccaac4 fuchsia: Fix potential SDK errors (flutter/engine#31099) 2022-01-26 18:58:26 -08:00
Emmanuel Garcia
a3ea78de97 Teardown external view embedder prior to unmerging threads (flutter/engine#30893) 2022-01-26 12:25:10 -08:00
wangying
7277da8691 Fix: support to set layout direction for hybrid composition platform view (flutter/engine#30611) 2022-01-26 11:36:43 -08:00
ColdPaleLight
7a660c5f34 Make sure 'FlutterSplashView.onRestoreInstanceState' doesn't crash (flutter/engine#31045)
* Make sure 'FlutterSplashView.onRestoreInstanceState' doesn't crash

* Add the unit test
2022-01-26 07:26:22 -08:00
Siva
f31c8eb26c Add option to enable serial GC (flutter/engine#30975)
* Roll Dart SDK from e256855d07ba to a3b62f366529 (4 revisions) (#21809)

* Roll Dart SDK from e655b9a3839e to b58cfe5ab24e (1 revision) (#21920)

* Roll Dart SDK from fc82eeed7df3 to 8be6a08153cc (1 revision) (#22005)

* Roll Dart SDK from fe12b0536f42 to a188781c9fc8 (1 revision) (#22379)

* Roll Skia from 95b5fb9213d7 to 68ac3b9ec3ca (17 revisions) (#22713)

* Roll Dart SDK from 2c74e62a050c to f9760fc12871 (5 revisions) (#22881)

* Roll Dart SDK from 68d1c7504f7d to f166571c7bc4 (1 revision) (#23056)

* Roll Dart SDK from 970d74c42472 to fd72dbb5b82b (1 revision) (#23820)

* Trigger an engine build to re-open the tree (#26056)

This commit is empty and simply triggers a new build to open the tree.

Commit e9ca785106ddc672d945062758800bdf1dd0aa68 was re-built after a
succesful build; upload to the cloud storage bin failed.

* Roll Skia from d9a7c5953df3 to 827bb729a84d (2 revisions) (#26096)

* Roll Dart SDK from d616108772bd to a527411e5100 (0 revision) (#26156)

* Roll Dart SDK from bb9d96ffbafa to 7250fd6379b2 (0 revision) (#26374)

* Roll Dart SDK from 202c42e3395c to 2e9c4305a6aa (1 revision) (#26578)

* Roll buildroot to 275038b8be7196927b0f71770701f3c2c3744860 (#26945)

* [test] empty commit (#27599)

https://flutter-review.googlesource.com/c/infra/+/15660

* Roll Dart SDK from e1414001c93b to 686070850ee3 (1 revision) (#27620)

* Empty commit to apply latest LUCI config (#27767)

* Roll Dart SDK from 3b11f88c96a5 to 976f160b547f (3 revisions) (#29436)

* Empty commit to fix main tree status (#29760)

* Add option to enable serial GC
This option can be used to avoid thread contention issues for the UI thread when running on low power devices with limited number of cores.

* Fix format.

* Added test.

* Add build rule.

* Address review comments.

Co-authored-by: skia-flutter-autoroll <skia-flutter-autoroll@skia.org>
Co-authored-by: Chris Bracken <chris@bracken.jp>
Co-authored-by: Casey Hillers <chillers@google.com>
2022-01-25 17:06:18 -08:00
Tong Mu
af6bfbf0b4 [Win32, Keyboard] Store keyboard message session (flutter/engine#31047)
* Impl

* Move session to pending event

* Format

* better type
2022-01-25 16:43:25 -08:00
David Worsham
f1c617f8e5 Revert "[fuchsia] Switch from core-jit to core snapshots. (#30744)" (flutter/engine#31065)
This reverts commit 116fe9190ad14193c89e332d0dc99d639b54e207.
2022-01-25 13:54:19 -08:00
Wu Zhong
16d0ee9368 [iOS] Fixes system navigator pop not work when App's root vc is TabBarController (flutter/engine#30939)
* [iOS] Fixes system navigator pop not work when App's root vc is TabBarController

* Add test

* Update review feedback
2022-01-24 20:35:43 -08:00
chunhtai
2f8d692b7b fix testVerticalFlutterScrollableSemanticsObjectNoWindow flake (flutter/engine#31031) 2022-01-24 14:40:10 -08:00