Zachary Anderson
0b26570e93
Revert dart rolls ( #22078 )
...
* Revert "Roll Dart SDK from 9f907e198970 to 37ccceacad41 (3 revisions) (#22069 )"
This reverts commit 4f4599b269c5e51cab8e6939c2296bbe24bb12d2.
* Revert "Roll Dart SDK from a3d902d8598e to 9f907e198970 (2 revisions) (#22058 )"
This reverts commit e51c710e1fd38675573f002ab46683d117165c36.
2020-10-23 09:33:52 -07:00
skia-flutter-autoroll
645198aa72
Roll Fuchsia Linux SDK from gqS_DIjN4... to vuKxZmSVj... ( #22074 )
2020-10-22 23:52:01 -07:00
skia-flutter-autoroll
a86ba57060
Roll Fuchsia Mac SDK from WLxBkBnZa... to zDfaxkqlv... ( #22073 )
2020-10-22 23:47:01 -07:00
Ferhat
f0b10c54bf
[web] Prevent using DOM nodes for canvas with large number of draws ( #22064 )
2020-10-22 22:38:08 -07:00
skia-flutter-autoroll
4f4599b269
Roll Dart SDK from 9f907e198970 to 37ccceacad41 (3 revisions) ( #22069 )
2020-10-22 20:27:02 -07:00
xster
cde78c162d
Add a golden scenario test for fallback font rendering on iOS take 2 ( #22033 )
2020-10-22 17:12:01 -07:00
skia-flutter-autoroll
329ccf7756
Roll Skia from 01b05e5b830b to 53281c712159 (1 revision) ( #22065 )
2020-10-22 16:42:01 -07:00
Angjie Li
cde1e3fca8
Auto detect mode to determine which rendering backend to use. ( #21852 )
2020-10-22 16:17:02 -07:00
chunhtai
742dfbefad
support uri intent launcher in android ( #21275 )
...
* support uri intent launcher in android
* fix comment
2020-10-22 15:54:30 -07:00
Lau Ching Jun
3d27fd5b2c
Support loading assets from Android dynamic feature modules ( #21504 )
...
Initialize the AssetManager from the application context so that assets from dynamic feature modules can be loaded.
2020-10-22 15:53:11 -07:00
skia-flutter-autoroll
77b0052473
Roll Skia from 65674e4c2e56 to 01b05e5b830b (3 revisions) ( #22062 )
2020-10-22 15:12:02 -07:00
Robert Ancell
5ca5e2614b
Add FlEventChannel ( #21316 )
...
Related to https://github.com/flutter/flutter/issues/65270
2020-10-22 15:06:52 -07:00
Greg Spencer
6bc70e4a11
Reland: Migration to PlatformDispatcher and multi-window ( #21932 )
...
This re-lands #20496 and #21780 after fixing the semantics-enabling code that was causing the post-submit web_smoke_test to fail.
Below is the description from the original PR:
This is a PR for converting the dart:ui code in the engine to use a multi-window API. The goal here is to convert from the window singleton to an API that has the concept of multiple windows. Also, I'm matching up the new PlatformDispatcher class to talk directly to the PlatformConfiguration class in the engine. I'm not attempting to actually enable creating multiple windows here, just migrate to an API that has a concept of multiple windows. The multi-window API in this PR currently only ever creates one window.
The design doc for this change is here.
The major changes in this PR:
Move the platfom-specific attributes out of Window, and into the new PlatformDispatcher class that holds all of the platform state, so that the platform code need only update the configuration on this class.
Create FlutterView, FlutterWindow, and SingletonFlutterWindow classes to separate out the concepts of a view (of which there may be multiple in a window), a window (of which there may be multiple on a screen, and they host views), and a window where there is only ever expected to be one (this hosts the entire API of the former Window class, and will eventually be the type of the window singleton).
Next step after this PR lands:
Remove the Window class entirely (it is replaced by SingletonFlutterWindow). Some minor changes in the Framework are needed to switch to using SingletonFlutterWindow directly first.
The Window class still exists in this PR, but will be removed as soon as the framework is converted to point to the SingletonFlutterWindow class instead. They share the same API, just have different names (Window is currently a subclass of SingletonFlutterWindow). The intention is that the Window name will be freed up to use as a widget class name in the framework for managing windows. The singleton called window will remain, and keep the same API it has now.
2020-10-22 14:54:25 -07:00
chunhtai
aed8e019be
Fixes Edge trigger route change announcement ( #21975 )
2020-10-22 14:22:03 -07:00
stuartmorgan
1233fe4902
Revert "Revert "Explicitly make the X connection for EGL. ( #21831 )" ( #21851 )" ( #21871 )
...
This reverts commit d2ea378be45dd0de7a86b521d48240fd9d276283.
2020-10-22 13:50:14 -07:00
skia-flutter-autoroll
a9a9a2f34a
Roll Skia from 5c7bb326a7b3 to 65674e4c2e56 (3 revisions) ( #22060 )
...
https://skia.googlesource.com/skia.git/+log/5c7bb326a7b3..65674e4c2e56
2020-10-22 kjlubick@google.com [canvaskit] Compile in most gms for testing
2020-10-22 johnstiles@google.com Reland "Add pooling support on iOS."
2020-10-22 egdaniel@google.com Fix asserts for npot tiling in gl.
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 egdaniel@google.com 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/+doc/master/autoroll/README.md
2020-10-22 13:50:00 -07:00
Kaushik Iska
326b202cc7
Reland fuchsia external view embedder will be shared with platform view ( #22008 )
...
* Reland fuchsia external view embedder will be shared with platform view
This reverts commit 9b752790f4d25ab238576c719208d7a38c6293f3.
* wait for the external view embedder to be initialized before creating
shell
2020-10-22 13:48:36 -07:00
skia-flutter-autoroll
e51c710e1f
Roll Dart SDK from a3d902d8598e to 9f907e198970 (2 revisions) ( #22058 )
...
https://dart.googlesource.com/sdk.git/+log/a3d902d8598e..9f907e198970
2020-10-22 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.11.0-244.0.dev
2020-10-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.11.0-243.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com 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/+doc/master/autoroll/README.md
2020-10-22 12:17:30 -07:00
skia-flutter-autoroll
92cd74e00f
Roll Fuchsia Mac SDK from pZ9FgVZTK... to WLxBkBnZa... ( #22055 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC chinmaygarde@google.com 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/+doc/master/autoroll/README.md
2020-10-22 10:28:02 -07:00
skia-flutter-autoroll
ae92dbf4df
Roll Fuchsia Linux SDK from lPMs_KwnU... to gqS_DIjN4... ( #22057 )
...
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 chinmaygarde@google.com 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/+doc/master/autoroll/README.md
2020-10-22 10:27:52 -07:00
skia-flutter-autoroll
000bf4b47f
Roll Skia from 2d2f82c00aeb to 5c7bb326a7b3 (33 revisions) ( #22059 )
...
https://skia.googlesource.com/skia.git/+log/2d2f82c00aeb..5c7bb326a7b3
2020-10-22 johnstiles@google.com Reland "Create a basic IRNode pooling system."
2020-10-22 egdaniel@google.com Revert "Reland "Create a basic IRNode pooling system.""
2020-10-22 egdaniel@google.com Revert "Add pooling support on iOS."
2020-10-22 brianosman@google.com Add much better SkTHashMap visualization to Skia.natvis
2020-10-22 kjlubick@google.com [fuzz] Copy crashing outputs before failing
2020-10-22 johnstiles@google.com Add pooling support on iOS.
2020-10-22 jvanverth@google.com Fix storage class issues for push constant variables.
2020-10-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 84f5eeb6dd9b to e02d8938821a (3 revisions)
2020-10-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 4bdce889ea35 to 502ec4ce30b3 (465 revisions)
2020-10-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from e2147a58a233 to d74754378f09 (16 revisions)
2020-10-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from cca03ca6bfe9 to 22505a5afe1f (9 revisions)
2020-10-22 johnstiles@google.com Reland "Create a basic IRNode pooling system."
2020-10-21 fmalita@chromium.org [svg] Add support for preserveAspectRatio
2020-10-21 johnstiles@google.com Pop the symbol table if compilation fails.
2020-10-21 kjlubick@google.com [canvaskit] Load resources into wasm gms/unit tests.
2020-10-21 egdaniel@google.com In Vk don't set dynamic blend constant on Pipeline if we don't use it.
2020-10-21 tdenniston@google.com [svg] Add gradientUnits attribute, value, and parsing
2020-10-21 jlavrova@google.com Underline decorations with gaps and no text
2020-10-21 bsalomon@google.com Reland "Perform bounding rect-relative calcs in full float in GrRRectBlurEffect"
2020-10-21 brianosman@google.com Add several more visualizations to Skia.natvis
2020-10-21 michaelludwig@google.com Make small epsilons more rigorous for gpu gaussian blurs
2020-10-21 johnstiles@google.com Revert "Create a basic IRNode pooling system."
2020-10-21 bsalomon@google.com Revert "Perform bounding rect-relative calcs in full float in GrRRectBlurEffect"
2020-10-21 johnstiles@google.com Migrate additional FPs to `return` instead of `sk_OutColor`.
2020-10-21 johnstiles@google.com Wrap built-in symbol tables when a switch statement is cloned.
2020-10-21 bsalomon@google.com Perform bounding rect-relative calcs in full float in GrRRectBlurEffect
2020-10-21 johnstiles@google.com Create a basic IRNode pooling system.
2020-10-21 robertphillips@google.com Increase encapsulation of GrThreadSafeCache::Entry
2020-10-21 kjlubick@google.com [canvaskit] Fix gm test runner on non-tryjobs
2020-10-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from df17a76102df to 84f5eeb6dd9b (3 revisions)
2020-10-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 2be35682cd67 to e2147a58a233 (40 revisions)
2020-10-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 60b90a0bfd24 to 4bdce889ea35 (441 revisions)
2020-10-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from c4593127cbdd to cca03ca6bfe9 (7 revisions)
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 egdaniel@google.com 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/+doc/master/autoroll/README.md
2020-10-22 10:26:39 -07:00
Chinmay Garde
defa8be2b1
Isolates launched by the engine instance use the settings of that instance. ( #22052 )
...
This regression was introduced in https://github.com/flutter/engine/pull/21820
for sound-null safety. The settings used to launch the VM were incorrectly used
to determine the isolate lifecycle callbacks. Since the first shell/engine in
the process also starts the VM, these objects are usually identical. However,
for subsequent engine shell/engine launches, the callbacks attached to the new
settings object would be ignored. The unit-test harness is also structured in
such a way that each test case tears down the VM before the next. So all
existing tests created a bespoke VM for the test run, and, the tests that did
create multiple isolates did not also test attaching callbacks to the settings
object.
Fixes https://github.com/flutter/engine/pull/22041
2020-10-22 02:20:50 -07:00
Chinmay Garde
f459a86610
Ensure root isolate create callback is invoked before the isolate is in the running phase. ( #22041 )
...
Embedders that have access to the Dart native API (only Fuchsia now) may perform
library setup in the isolate create callback. The engine used to depend on the
fact the root isolate entrypoint is invoked in the next iteration of message
loop (via the `_startIsolate` trampoline in `isolate_patch.dart`) to ensure that
library setup occur before the main entrypoint was invoked. However, due to
differences in the way in which message loops are setup in Fuchsia, this
entrypoint was run before the callback could be executed. Dart code on Fuchsia
also has the ability to access the underlying event loops directly. This patch
moves the invocation of the create callback to before user dart code has a
chance to run. This difference in behavior on Fuchsia became an issue when the
isolate initialization was reworked in https://github.com/flutter/engine/pull/21820
for null-safety.
Another issue was discovered in that the callback was being invoked twice, I
fixed that too and added a test.
Fixes https://github.com/flutter/flutter/issues/68732
2020-10-21 15:57:10 -07:00
George Wright
fc72bd2ada
Plumb through Dart entrypoint arguments on the Linux embedder ( #21933 )
2020-10-22 09:47:04 +13:00
Michael Goderbauer
1358f13c2f
Run framework tests in sound null safety mode ( #22038 )
2020-10-21 13:38:24 -07:00
skia-flutter-autoroll
2718474813
Roll Dart SDK from 874709e52a99 to a3d902d8598e (1 revision) ( #22026 )
...
https://dart.googlesource.com/sdk.git/+log/874709e52a99..a3d902d8598e
2020-10-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.11.0-242.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com 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/+doc/master/autoroll/README.md
2020-10-21 08:13:06 -07:00
skia-flutter-autoroll
6e5d376094
Roll Dart SDK from 86242db30c23 to 874709e52a99 (1 revision) ( #22023 )
2020-10-20 23:27:01 -07:00
skia-flutter-autoroll
c2c74ed708
Roll Dart SDK from 8be6a08153cc to 86242db30c23 (2 revisions) ( #22018 )
2020-10-20 18:47:02 -07:00
skia-flutter-autoroll
b99d94f39c
Roll Skia from 1c823674d957 to 2d2f82c00aeb (13 revisions) ( #22015 )
...
https://skia.googlesource.com/skia.git/+log/1c823674d957..2d2f82c00aeb
2020-10-20 brianosman@google.com Always declare sk_FragColor in GLSL, even if unused
2020-10-20 ethannicholas@google.com added SkSLNodeArrayWrapper
2020-10-20 reed@google.com update dox for drawPaint
2020-10-20 johnstiles@google.com Wrap built-in symbol tables during inlining.
2020-10-20 johnstiles@google.com Wrap built-in symbol tables when an IRNode is cloned.
2020-10-20 johnstiles@google.com Fix typo in class name.
2020-10-20 robertphillips@google.com Make GrFillRectOp::onPrePrepareDraws also call base class' version
2020-10-20 adlai@google.com Reland "Remove GrContext"
2020-10-20 robertphillips@google.com Rename some of GrThreadSafeCache's member variables
2020-10-20 abarth@google.com [fuchsia] Migrate to new zx::vmar::map method
2020-10-20 mtklein@google.com upstream cl/337571894 with tweaks
2020-10-20 robertphillips@google.com Pull the triangulating path renderer's shape-space triangulation into a helper method
2020-10-20 fmalita@chromium.org [svg] Parse text attributes
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 egdaniel@google.com 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/+doc/master/autoroll/README.md
2020-10-20 17:01:28 -07:00
Chinmay Garde
6934f8aa31
Determine null-safety isolate flags for launches of the service isolate. ( #22013 )
2020-10-20 16:57:01 -07:00
Chris Bracken
56f399a533
Revert "Define SK_VULKAN for clang-tidy runs ( #21927 )" ( #22012 )
...
This breaks linting on other targets that include skia headers that do
ifdef checks on SK_VULKAN.
This reverts commit 25d8fa5a79cb0228e639601822598ada49695ff6.
2020-10-20 15:17:05 -07:00
Adam Barth
638c182366
[fuchsia] zx::vmar::map migration ( #22003 )
...
The new map() method receives its arguments in the same order as the
underlying C system call. This patch should not change any behavior.
2020-10-20 21:59:46 +00:00
Chase Latta
8a5b423445
[fuchsia] opt-out null-safety in standalone scripts ( #22009 )
2020-10-20 14:47:01 -07:00
skia-flutter-autoroll
94c59a0d4d
Roll Dart SDK from fc82eeed7df3 to 8be6a08153cc (1 revision) ( #22005 )
2020-10-20 12:57:01 -07:00
skia-flutter-autoroll
ed53ff19e8
Roll Dart SDK from fc82eeed7df3 to 8be6a08153cc (1 revision) ( #22002 )
...
https://dart.googlesource.com/sdk.git/+log/fc82eeed7df3..8be6a08153cc
2020-10-20 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.11.0-238.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com ,zra@google.com 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/+doc/master/autoroll/README.md
2020-10-20 12:16:45 -07:00
Greg Spencer
3658bd7ea7
Revert "Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android ( #21979 )" ( #22004 )
...
This reverts commit 3cd70f2cfb21baf30cc62de29d311118aa757c60 because it causes some failures in web tests.
2020-10-20 11:42:01 -07:00
skia-flutter-autoroll
5d4727d683
Roll Skia from 51dc28505fb9 to 1c823674d957 (8 revisions) ( #21995 )
2020-10-20 10:22:01 -07:00
Wu Zhong
a82e917dc2
[iOS] Fixes leaks of presses key message ( #21987 )
...
Related PR: #20972
2020-10-20 10:15:44 -07:00
Greg Spencer
3cd70f2cfb
Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android ( #21979 )
...
This re-lands #21163 , which was reverted in #21513
Now that flutter/flutter#67359 has landed, this change will no longer cause spaces (and other shortcuts) to be ignored in text fields if there is no action associated with the intent, even if there is a shortcut key mapping to an intent.
Here's the original PR description:
This switches from using dispatchKeyEvent to using dispatchKeyEventPreIme so that keys can be intercepted before they reach the IME and be handled by the framework.
It also now intercepts key events sent to InputConnection.sendKeyEvent, as some IMEs do (e.g. the Hacker's Keyboard), and sends the to Flutter before sending them to the IME (which it now only does if they are not handled by the framework).
This fixes the problem where pressing TAB on a hardware keyboard sends the tab to both the text field and to the focus traversal system.
Note that we still can't intercept all keystrokes given to a soft keyboard, only those which the soft keyboard decides to send to InputConnection.sendKeyEvent.
2020-10-20 10:14:31 -07:00
Jonah Williams
6ce33dd4a9
[null-safety] fix soundness of Paragraph._addPlaceholder ( #21994 )
2020-10-20 09:57:59 -07:00
skia-flutter-autoroll
eb6f7f8741
Roll Dart SDK from 902538ea56d5 to fc82eeed7df3 (1 revision) ( #21981 )
2020-10-20 09:52:02 -07:00
skia-flutter-autoroll
564bd09cdd
Roll Skia from 4964300530d3 to 51dc28505fb9 (5 revisions) ( #21993 )
2020-10-20 09:02:03 -07:00
skia-flutter-autoroll
7b72ce7963
Roll Skia from a25c0619b5ef to 4964300530d3 (2 revisions) ( #21990 )
2020-10-20 07:37:02 -07:00
skia-flutter-autoroll
85104696e2
Roll Skia from ac1ded033136 to a25c0619b5ef (2 revisions) ( #21989 )
2020-10-20 06:12:02 -07:00
skia-flutter-autoroll
40784a0610
Roll Fuchsia Linux SDK from dcMRY8S12... to lPMs_KwnU... ( #21988 )
2020-10-20 05:57:02 -07:00
Damian Wrobel
91c81ebfae
Fix linking issue (missing wayland-client library) ( #21408 )
...
As fl_renderer_wayland.cc uses directly some of the wayland-client
related functions it should also add this library as a dependency.
2020-10-20 05:47:40 -07:00
Clement Skau
e78e405e6a
Enable lazy-async-stacks by-default in all modes (Take 4) ( #21802 )
2020-10-20 10:31:15 +02:00
Zachary Anderson
2ef0f4228c
Revert "[web] Fix image gap due to svg element without position attribute ( #21939 )" ( #21986 )
...
This reverts commit 79879802e05edb2f8fb871428609f3db5a549273.
2020-10-19 23:54:07 -07:00
Jonah Williams
326157ee7e
[null-safety] fix Scene.toImage declaration ( #21983 )
2020-10-19 22:52:19 -07:00
skia-flutter-autoroll
727a9283a8
Roll Skia from 27f7fe32f49b to ac1ded033136 (15 revisions) ( #21984 )
2020-10-19 22:52:01 -07:00