11487 Commits

Author SHA1 Message Date
Yuqian Li
5fbc34bfcf Allow parse_and_send to use access tokens (flutter/engine#22019) 2020-10-28 17:57:03 -07:00
Matej Knopp
0491b2cc32 Smooth window resizing on macOS (flutter/engine#21525) 2020-10-28 11:12:04 -07:00
Martin Kustermann
e9ec3d5656 Manual Dart SDK roll 6e015bd9cddb to 9c6e76468ca4 (6 revisions (flutter/engine#22153)
This includes the commits from

  https://dart.googlesource.com/sdk.git/+log/6e015bd9cddb..9c6e76468ca4

as well as the changes from

  https://github.com/flutter/engine/pull/22149/files

which are needed due to dart-lang/sdk@23ee425de7
2020-10-27 18:26:48 -07:00
skia-flutter-autoroll
5ec34cae1c Roll Fuchsia Linux SDK from XYN02FThN... to UKgKCjxSA... (flutter/engine#22147)
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 garyq@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-27 11:49:59 -07:00
skia-flutter-autoroll
1d3a8f3f57 Roll Skia from 7737a5bd2510 to 5567a6091ceb (8 revisions) (flutter/engine#22146)
https://skia.googlesource.com/skia.git/+log/7737a5bd2510..5567a6091ceb

2020-10-27 brianosman@google.com Guard traversal of certain kinds of mid-optimization IfStatement
2020-10-27 johnstiles@google.com Pass function arguments using SkSpan instead of count + ptr.
2020-10-27 egdaniel@google.com Add uma histogram tracking for the number of submit render passes.
2020-10-27 johnstiles@google.com Prototype helper functions from FP files before use.
2020-10-27 johnstiles@google.com Mangle function names as a separate step before emitting func-bodies.
2020-10-27 mtklein@google.com remove absl experiment
2020-10-27 mtklein@google.com use ieee divide
2020-10-27 ethannicholas@google.com Made IRNode smaller

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 jcgregorio@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-27 11:49:17 -07:00
skia-flutter-autoroll
ef179d24a7 Roll Skia from 5bbbb49f1da0 to 7737a5bd2510 (13 revisions) (flutter/engine#22140) 2020-10-27 00:17:01 -07:00
skia-flutter-autoroll
bde9fad109 Roll Fuchsia Linux SDK from 5teTtbQ9-... to XYN02FThN... (flutter/engine#22127) 2020-10-26 20:07:02 -07:00
Jonah Williams
d3d5bd8761 [null-safety] update path version (flutter/engine#22134) 2020-10-26 18:49:42 -07:00
Jacob MacDonald
b58e203214 add a package config file to const finder test fixtures (flutter/engine#22124)
Adds a package config file to the const finder test fixtures to unblock the null safety flag removal change.

Otherwise these fixtures get opted in to null safety and some constants are missing (presumably because they are invalid).

Related dart-lang/sdk#43872
2020-10-26 16:39:08 -07:00
stuartmorgan
a461854026 Defer macOS arrow and backspace handling to framework (flutter/engine#22063)
The Flutter framework now has handling for arrow keys and backspace
in its editable text, so they no longer need to be handled in the
embedding. This not only avoids duplicate work, but improves the
handling of complex unicode (surrogate pairs, grapheme clusters) which
are currently correctly handled in the framework but not the macOS
embedding.

Fixes https://github.com/flutter/flutter/issues/68497
2020-10-26 12:56:30 -07:00
godofredoc
58515d6a7f Add metrics scripts in preparation to move the builder to LUCI. (flutter/engine#22086)
* Add metrics scripts in preparation to move the builder to LUCI.

Bug:
  https://github.com/flutter/flutter/issues/67579

* set -ex to fail scripts inmediately.
2020-10-26 12:49:23 -07:00
skia-flutter-autoroll
64097a67cf Roll Skia from 189ecd485ade to 5bbbb49f1da0 (4 revisions) (flutter/engine#22121) 2020-10-26 11:27:01 -07:00
Jason Simmons
73ea2c2fea Remove some obsolete code from RuntimeController (flutter/engine#22091) 2020-10-26 10:42:02 -07:00
Kaushik Iska
8055fe0b28 [ios] Convert FlutterPlatformViewsController to smart pointer (flutter/engine#22082)
* Convert FlutterPlatformViewsController to smart pointer

* have a const reference of platform views controller

* change more stuff to references
2020-10-26 09:45:09 -07:00
gaaclarke
4fb47626da Added the ability to set the initial route via launch urls. (flutter/engine#21336) 2020-10-26 09:31:23 -07:00
skia-flutter-autoroll
b89bd6a46f Roll Skia from c493eabd56d0 to 189ecd485ade (3 revisions) (flutter/engine#22119) 2020-10-26 09:07:01 -07:00
skia-flutter-autoroll
58e00ccd8a Roll Skia from aea82732415c to c493eabd56d0 (2 revisions) (flutter/engine#22118) 2020-10-26 07:47:02 -07:00
skia-flutter-autoroll
5632825212 Roll Fuchsia Linux SDK from d3HGOZddM... to 5teTtbQ9-... (flutter/engine#22114) 2020-10-26 00:42:01 -07:00
Ferhat
d80f108499 [web] Fix positioning of canvas elements due to svg filters (flutter/engine#22070) 2020-10-25 22:15:03 -07:00
skia-flutter-autoroll
d87a22d006 Roll Fuchsia Linux SDK from 33fGX8ZWr... to d3HGOZddM... (flutter/engine#22110) 2020-10-25 11:22:02 -07:00
skia-flutter-autoroll
72d55f01f8 Roll Skia from 312535b47d38 to aea82732415c (1 revision) (flutter/engine#22108) 2020-10-25 00:52:01 -07:00
skia-flutter-autoroll
c68d4b06b2 Roll Fuchsia Linux SDK from gHKi9MwVc... to 33fGX8ZWr... (flutter/engine#22107) 2020-10-24 22:02:01 -07:00
skia-flutter-autoroll
0e120b94ef Roll Skia from 7c64798b3d0c to 312535b47d38 (9 revisions) (flutter/engine#22101) 2020-10-24 10:37:02 -07:00
Chris Bracken
736d19ecbf Fix _lerpInt precision bug (flutter/engine#22089)
Fixes a precision bug was introduced in 5f363dc, which improved the
precision of lerpDouble when the extrema differed significantly in
magnitude.

_lerpInt doesn't have this issue since the extrema are passed as 64-bit
twos-complement values, therefore the difference will always be accurate
so long as it doesn't overflow. This reverts the _lerpInt implementation
to the original a + (b - a) * t, but adds a test to avoid a regression
if anyone is tempted to make it consistent with the others.
2020-10-24 09:49:21 -07:00
skia-flutter-autoroll
aa8acf39ad Roll Fuchsia Linux SDK from ivUuUUnOL... to gHKi9MwVc... (flutter/engine#22097) 2020-10-24 04:32:02 -07:00
Dan Field
fb578c4ede Revert "Add a golden scenario test for fallback font rendering on iOS take 2 (#22033)" (flutter/engine#22095)
This reverts commit 97eed1d8e4523b6049eb7742c4bb9308489b16b2.
2020-10-23 21:10:24 -07:00
Jason Simmons
b76d246acb Reformat some files that were not auto-formatted (flutter/engine#21940) 2020-10-23 18:57:03 -07:00
Filip Filmar
cb5828068f [fuchsia] Adds a test for timezone change (flutter/engine#21934) 2020-10-23 18:52:02 -07:00
skia-flutter-autoroll
930b2b8f1e Roll Fuchsia Linux SDK from vuKxZmSVj... to ivUuUUnOL... (flutter/engine#22084) 2020-10-23 15:12:02 -07:00
Yegor
d52c7a1adb add web framework tests to the prod builder (flutter/engine#22080) 2020-10-23 15:07:01 -07:00
skia-flutter-autoroll
da36be79d4 Roll Skia from 58cf3fe83b93 to 7c64798b3d0c (5 revisions) (flutter/engine#22081) 2020-10-23 13:42:01 -07:00
Ferhat
42fc39e8a9 When picture is updated and bitmapcanvas reused, clear element cache (flutter/engine#22072) 2020-10-23 12:31:48 -07:00
skia-flutter-autoroll
484d7d99f3 Roll Skia from 53281c712159 to 58cf3fe83b93 (5 revisions) (flutter/engine#22075) 2020-10-23 10:32:01 -07:00
Dan Field
ab0d43bf69 Add debugDisposed to Image (flutter/engine#21547) 2020-10-23 10:27:02 -07:00
skia-flutter-autoroll
4d892a231e Roll Fuchsia Linux SDK from gqS_DIjN4... to vuKxZmSVj... (flutter/engine#22074) 2020-10-22 23:52:01 -07:00
Ferhat
7afeb4856e [web] Prevent using DOM nodes for canvas with large number of draws (flutter/engine#22064) 2020-10-22 22:38:08 -07:00
xster
97eed1d8e4 Add a golden scenario test for fallback font rendering on iOS take 2 (flutter/engine#22033) 2020-10-22 17:12:01 -07:00
skia-flutter-autoroll
0b99bc6564 Roll Skia from 01b05e5b830b to 53281c712159 (1 revision) (flutter/engine#22065) 2020-10-22 16:42:01 -07:00
Angjie Li
6ade27bd24 Auto detect mode to determine which rendering backend to use. (flutter/engine#21852) 2020-10-22 16:17:02 -07:00
chunhtai
f826d9992e support uri intent launcher in android (flutter/engine#21275)
* support uri intent launcher in android

* fix comment
2020-10-22 15:54:30 -07:00
Lau Ching Jun
743edee507 Support loading assets from Android dynamic feature modules (flutter/engine#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
179e4b4f7e Roll Skia from 65674e4c2e56 to 01b05e5b830b (3 revisions) (flutter/engine#22062) 2020-10-22 15:12:02 -07:00
Robert Ancell
eb7e81fe4c Add FlEventChannel (flutter/engine#21316)
Related to https://github.com/flutter/flutter/issues/65270
2020-10-22 15:06:52 -07:00
Greg Spencer
06b6f8af89 Reland: Migration to PlatformDispatcher and multi-window (flutter/engine#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
0f2c3c9bf4 Fixes Edge trigger route change announcement (flutter/engine#21975) 2020-10-22 14:22:03 -07:00
stuartmorgan
10a7448f57 Revert "Revert "Explicitly make the X connection for EGL. (#21831)" (#21851)" (flutter/engine#21871)
This reverts commit 12cd3076aff3accf56e399b0d56f69b3f3fdf520.
2020-10-22 13:50:14 -07:00
skia-flutter-autoroll
5f3016a4ed Roll Skia from 5c7bb326a7b3 to 65674e4c2e56 (3 revisions) (flutter/engine#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
2b337d1d98 Reland fuchsia external view embedder will be shared with platform view (flutter/engine#22008)
* Reland fuchsia external view embedder will be shared with platform view

This reverts commit cecec62028b09097675f041a7203708b99d4d2c6.

* wait for the external view embedder to be initialized before creating
shell
2020-10-22 13:48:36 -07:00
skia-flutter-autoroll
eac74c95b5 Roll Fuchsia Linux SDK from lPMs_KwnU... to gqS_DIjN4... (flutter/engine#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
e4f96191d7 Roll Skia from 2d2f82c00aeb to 5c7bb326a7b3 (33 revisions) (flutter/engine#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