15448 Commits

Author SHA1 Message Date
ColdPaleLight
9ecd4c1899 Make FlutterEngineGroup support dart entrypoint args (flutter/engine#29096) 2021-11-18 18:08:03 -08:00
Tong Mu
5183c56533 [Embedder] Send key data through message channel (flutter/engine#29795)
This PR changes how embedder API's SendKeyData sends ui.KeyData to the framework. The packets are now sent over the existing platform messenger, reusing the entirety of its code path and functionalities while keeping the embedder API unchanged
2021-11-18 17:53:28 -08:00
Tong Mu
5077f867cf [Linux, Keyboard] Fix synthesization upon different logical keys (flutter/engine#29768)
This PR fixes an assertion error when the physical-logical map changes during key synthesization. This error will lead to irregular key sequences, and might occur during an extremely rare edge case described in the unit test in this PR.
2021-11-18 17:52:14 -08:00
Yegor
2626d20f22 [web] move browser installation to BrowserEnvironment.prepare (flutter/engine#29801)
* [web] move browser installation to BrowserEnvironment.prepare

* reject attempts to install Chromium on LUCI
2021-11-18 15:23:36 -08:00
skia-flutter-autoroll
2908f68c01 Roll Skia from 0774db13d24c to a5261995416e (10 revisions) (flutter/engine#29810) 2021-11-18 13:13:02 -08:00
Dan Field
0a6301d5ca Listen for display refresh changes and report them correctly (flutter/engine#29800)
This makes sure the frame timings recorder and vsync waiter implementations get
the correct refresh rate if or when it adjusts at runtime. This should be OK
because we'll only query the refresh rate when the display metrics actually
change, which is much less frequent than every frame. I experimented with an NDK
implementation in the previous patch, but that vastly restricts the API levels
we can support, and currently on API 30 and 31 it just calls Java methods
through JNI anyway.

I've refactored the way Display updates are reported so that AndroidDisplay can
just dynamically get the refresh rate correctly. These values are used by a
service protocol extension and by some Stopwatches on the CompositorContext.

See also #29765

Fixes flutter/flutter#93688
Fixes flutter/flutter#93698
2021-11-18 13:09:26 -08:00
Zachary Anderson
78d9e276e2 Fix some clang-tidy lints for Linux host_debug (flutter/engine#29734) 2021-11-18 13:08:01 -08:00
Niklas Schulze
1306ea59ec winuwp: Add multi-touch support (flutter/engine#28067) 2021-11-18 13:03:03 -08:00
skia-flutter-autoroll
9bc7689ded Roll Fuchsia Linux SDK from 8wLWcmqi8... to Gc37iAM6P... (flutter/engine#29807) 2021-11-18 10:34:32 -08:00
skia-flutter-autoroll
628a004c26 Roll Skia from 688cb15faa64 to 0774db13d24c (5 revisions) (flutter/engine#29805) 2021-11-18 10:33:02 -08:00
Yegor
9a75a379aa [web] feature-detect and use ImageDecoder for all image decoding (flutter/engine#29419) 2021-11-18 10:01:02 -08:00
Justin McCandless
3d60f36a21 TextEditingDelta Mac (flutter/engine#29036)
Enables the TextEditingDelta API for Mac, and abstracts iOS's TextEditingDelta class for multi-platfor reuse.
2021-11-18 08:44:44 -08:00
gaaclarke
99b17af458 Stopped creating the shell inside of a sync_switch when spawning. (flutter/engine#29798)
* Stopped creating the shell inside of a sync_switch when spawning.

* jason feedback
2021-11-17 17:34:48 -08:00
skia-flutter-autoroll
2ac1465d0e Roll Skia from e136c31fe49d to 688cb15faa64 (11 revisions) (flutter/engine#29799) 2021-11-17 17:28:02 -08:00
chunhtai
2a4d9bb696 Fixes the accessibilityContainer of FlutterScrollableSemanticsObject (flutter/engine#29771) 2021-11-17 17:01:31 -08:00
skia-flutter-autoroll
313956aabf Roll Fuchsia Linux SDK from Vxe912PZC... to 8wLWcmqi8... (flutter/engine#29785) 2021-11-17 16:53:02 -08:00
Jenn Magder
49d561e0e1 Fix "google-objc-*" clang analyzer warning in macOS and iOS (flutter/engine#29764) 2021-11-17 16:48:04 -08:00
skia-flutter-autoroll
1f49c7c11d Roll Skia from 12e786730f7d to e136c31fe49d (9 revisions) (flutter/engine#29787)
https://skia.googlesource.com/skia.git/+log/12e786730f7d..e136c31fe49d

2021-11-17 jvanverth@google.com [graphite] Add rasterization state methods to CommandBuffer
2021-11-17 johnstiles@google.com Fix fuzzer-discovered error with child calls.
2021-11-17 johnstiles@google.com Remove void from the list of opaque types.
2021-11-17 johnstiles@google.com Add test for void type in struct.
2021-11-17 borenet@google.com Revert "[python3] More Recipes -> Python 3 fixes"
2021-11-17 borenet@google.com Revert "[recipes] Fix Android failures after Python3 update"
2021-11-17 johnstiles@google.com Disallow variables of type 'void'.
2021-11-17 johnstiles@google.com Add test for variables of type void.
2021-11-17 borenet@google.com [recipes] Fix Android failures after Python3 update

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC jlavrova@google.com,jsimmons@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2021-11-17 16:08:37 -08:00
Yegor
2df67fa9d4 Roll to CanvasKit 0.31.0 (flutter/engine#29772)
* [web] roll CanvasKit to version 0.31.0
2021-11-17 15:53:58 -08:00
godofredoc
44164d408e Revert 29789 revert 29542 freiling view ref (flutter/engine#29793) 2021-11-17 12:58:02 -08:00
Zachary Anderson
03c0f7e453 Add 'explicit' to header files (flutter/engine#29741) 2021-11-17 12:49:16 -08:00
Chris Bracken
dd669f3631 Acquire context reference at the correct time for FlGlArea. (flutter/engine#29791)
This is a reland of flutter/engine#29178 onto the main branch. The
original patch was landed on the master branch during the branch switch
from master to main.
2021-11-17 11:04:33 -08:00
skia-flutter-autoroll
baab0c1ca8 Roll Skia from cf1e959c657b to 12e786730f7d (1 revision) (flutter/engine#29786) 2021-11-17 07:48:01 -08:00
skia-flutter-autoroll
566cb8de91 Roll Skia from fa2edac74af8 to cf1e959c657b (2 revisions) (flutter/engine#29784) 2021-11-17 06:28:02 -08:00
Matej Knopp
0134f93710 PhysicalShapeLayer: Only push cull rect during diff if clipping (flutter/engine#29783) 2021-11-17 14:46:52 +01:00
skia-flutter-autoroll
ed2897366d Roll Skia from 2211c2c4bd69 to fa2edac74af8 (4 revisions) (flutter/engine#29779) 2021-11-16 23:37:31 -08:00
skia-flutter-autoroll
6e652efc35 Roll Skia from 686ccec13fc5 to 2211c2c4bd69 (25 revisions) (flutter/engine#29770) 2021-11-16 19:13:01 -08:00
Greg Spencer
a079a95ef7 Fix Kanji switch in Japanese IME on WIndows (flutter/engine#29761) 2021-11-16 19:08:01 -08:00
Brandon DeRosier
4136d0117f Enable Skia's Vulkan backend on all non-mobile platforms, and test SwiftShader Vulkan on all GL unittests platforms (flutter/engine#29520) 2021-11-16 15:27:25 -08:00
skia-flutter-autoroll
c839dc8664 Roll Fuchsia Linux SDK from ghwyDtFSJ... to Vxe912PZC... (flutter/engine#29762) 2021-11-16 14:23:02 -08:00
skia-flutter-autoroll
94b541fe98 Roll Skia from 7fab38d97ace to 686ccec13fc5 (9 revisions) (flutter/engine#29757) 2021-11-16 14:22:32 -08:00
Jim Graham
6c74b3f717 Call DisplayList builder methods directly from dart canvas (flutter/engine#29714) 2021-11-16 14:18:04 -08:00
Jenn Magder
a11ae85afd Treat clang-analyzer-osx warnings as errors (flutter/engine#29755) 2021-11-15 16:06:01 -08:00
Mouad Debbar
e784b12872 [web] Start support for Skia Gold (flutter/engine#29139) 2021-11-15 16:05:31 -08:00
godofredoc
71b4205800 Reverse order of branch mirroring. (flutter/engine#29754)
Bug: https://github.com/flutter/flutter/issues/90476
2021-11-15 10:40:37 -08:00
godofredoc
720cd0baaa Prepare scripts for the master to main migration. (flutter/engine#29371)
It changes master branch with main to prepare for the migration.
This change will be landed in synchronization with changes to modify
 the engine default branch to main.

Bug: https://github.com/flutter/flutter/issues/90476
2021-11-15 09:06:11 -08:00
skia-flutter-autoroll
d48f6de897 Roll Skia from cf7be0f3a7ae to 7fab38d97ace (4 revisions) (flutter/engine#29751) 2021-11-15 08:11:02 -08:00
skia-flutter-autoroll
f126140974 Roll Fuchsia Linux SDK from A-FZiFd-f... to ghwyDtFSJ... (flutter/engine#29750) 2021-11-15 07:00:31 -08:00
skia-flutter-autoroll
a858996be4 Roll Skia from 7134d4a572e1 to cf7be0f3a7ae (3 revisions) (flutter/engine#29748) 2021-11-14 23:21:02 -08:00
skia-flutter-autoroll
b7096fa4f4 Roll Skia from eecf0af951e4 to 7134d4a572e1 (1 revision) (flutter/engine#29746) 2021-11-14 22:00:31 -08:00
skia-flutter-autoroll
9cd915c884 Roll Fuchsia Linux SDK from gbODSowQk... to A-FZiFd-f... (flutter/engine#29744) 2021-11-14 17:41:01 -08:00
skia-flutter-autoroll
fb328f33ff Roll Skia from 48585f5c50eb to eecf0af951e4 (1 revision) (flutter/engine#29743) 2021-11-14 17:05:31 -08:00
skia-flutter-autoroll
9545e55718 Roll Fuchsia Linux SDK from Hg97KiZX0... to gbODSowQk... (flutter/engine#29739) 2021-11-14 04:20:31 -08:00
skia-flutter-autoroll
d775a4f5c3 Roll Skia from 95c876164b53 to db8a7e6d8dc1 (1 revision) (flutter/engine#29738) 2021-11-14 02:00:31 -08:00
skia-flutter-autoroll
d80a57d908 Roll Skia from 300f51ac517a to 95c876164b53 (1 revision) (flutter/engine#29737) 2021-11-13 23:41:01 -08:00
Ian Hickson
359f05e0e5 fix x64_64 typo in comments (flutter/engine#29731) 2021-11-13 21:45:31 -08:00
Brandon DeRosier
0d67e4e080 Use Fuchsia's Windows Clang SDK (flutter/engine#29736) 2021-11-13 21:22:55 -08:00
skia-flutter-autoroll
975516c832 Roll Fuchsia Linux SDK from JMFu-JhNu... to Hg97KiZX0... (flutter/engine#29733) 2021-11-13 15:01:01 -08:00
skia-flutter-autoroll
a770d8bddc Roll Fuchsia Linux SDK from voGtvLTY7... to JMFu-JhNu... (flutter/engine#29728) 2021-11-13 00:21:01 -08:00
Jenn Magder
dbe42683b9 Fix 'google-readability-braces-around-statements' analyzer warning in macOS and iOS (flutter/engine#29723) 2021-11-12 18:42:29 -08:00