19907 Commits

Author SHA1 Message Date
skia-flutter-autoroll
4337a4338f Roll Skia from 7ecacbc4c6be to e00afb0a1a68 (14 revisions) (flutter/engine#29881) 2021-11-22 17:58:01 -08:00
skia-flutter-autoroll
b0c81d7cd8 Roll Fuchsia Linux SDK from v32ZvdGER... to hbyHcc_5x... (flutter/engine#29874) 2021-11-22 17:53:02 -08:00
skia-flutter-autoroll
4fe47d9b04 Roll Fuchsia Mac SDK from PcVBwqy6c... to MiNhUYhfN... (flutter/engine#29872) 2021-11-22 17:48:01 -08:00
Chase Latta
9b0b1365a2 Add ability to stamp fuchsia packages with API level (flutter/engine#29851) 2021-11-22 17:43:02 -08:00
Mouad Debbar
eadc6df16d [web] Fail if Skia Gold is required but unavailable (flutter/engine#29792) 2021-11-22 17:38:03 -08:00
Alexander Biggs
b6f5e8e868 [fuchsia] Point TODOs off closed bug. (flutter/engine#29634) 2021-11-22 17:33:03 -08:00
Wu Zhong
d50c0bcca8 [iOS] Destroy the engine prior to application termination. (flutter/engine#29295) 2021-11-22 17:28:03 -08:00
Tong Mu
0a7630373d [Embedder Keyboard] Fix synthesized events causing crash (flutter/engine#29854) 2021-11-22 15:38:02 -08:00
WenJingRui
b4058bb068 [iOS] Fix:Keyboard inset is not correct when presenting and native ViewController on FlutterViewController (flutter/engine#29862) 2021-11-22 15:27:56 -08:00
skia-flutter-autoroll
7ae65f835d Roll Dart SDK from b1afd0fae784 to 307a0e735317 (1 revision) (flutter/engine#29878) 2021-11-22 11:48:02 -08:00
skia-flutter-autoroll
8a54d52ba3 Roll Skia from a6de6d2366e4 to 7ecacbc4c6be (1 revision) (flutter/engine#29871) 2021-11-22 11:43:02 -08:00
Alexander Biggs
e90740bcc8 [fuchsia] Don't use sys.Environment in V2. (flutter/engine#29867) 2021-11-22 11:03:04 -08:00
Chris Bracken
29fd771d30 Extract AccessibilityBridge::kRootNodeId (flutter/engine#29856)
The ID of the root semantics node in Flutter's semantics tree is always
0. Since we'll be adding support for Windows, extract this constant to a
common location.
2021-11-22 10:08:31 -08:00
skia-flutter-autoroll
10e485ee00 Roll Skia from 37940afc0caf to a6de6d2366e4 (1 revision) (flutter/engine#29870)
https://skia.googlesource.com/skia.git/+log/37940afc0caf..a6de6d2366e4

2021-11-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 055155207d7e to 0024349d8141

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 jsimmons@google.com,jlavrova@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-21 10:24:50 -08:00
skia-flutter-autoroll
47d57deea0 Roll Fuchsia Mac SDK from Pnfu1t-iG... to PcVBwqy6c... (flutter/engine#29865)
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 jsimmons@google.com on the revert to ensure that a human
is aware of the problem.

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-20 22:44:40 -08:00
skia-flutter-autoroll
d3e396f82e Roll Fuchsia Linux SDK from Ii-fFcsGk... to v32ZvdGER... (flutter/engine#29866)
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 jsimmons@google.com on the revert to ensure that a human
is aware of the problem.

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-20 22:44:23 -08:00
skia-flutter-autoroll
45573e4949 Roll Skia from 9b35cd642f98 to 37940afc0caf (6 revisions) (flutter/engine#29863)
https://skia.googlesource.com/skia.git/+log/9b35cd642f98..37940afc0caf

2021-11-20 csmartdalton@google.com Remove remaining "Gr" references outside of #ifdefs from tessellators
2021-11-20 csmartdalton@google.com Move GrVertexColor to skgpu::VertexColor
2021-11-20 csmartdalton@google.com Move tessellation-specific functions out of GrPathUtils
2021-11-20 csmartdalton@google.com Move Ganesh-specific bits of StrokeTessellator into an #ifdef
2021-11-20 csmartdalton@google.com Convert StrokeTessellators to use PatchWriter
2021-11-20 johnstiles@google.com Remove VarType from trace_var opcode.

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-20 22:43:50 -08:00
skia-flutter-autoroll
27978d0277 Roll Dart SDK from 453ad2fca05b to b1afd0fae784 (1 revision) (flutter/engine#29869) 2021-11-20 15:43:02 -08:00
Jason Simmons
2e6866592d Release the JNI reference to the FlutterJNI class in GetDisplayRefreshRate (flutter/engine#29868)
See https://github.com/flutter/flutter/issues/93975
2021-11-20 13:00:11 -08:00
skia-flutter-autoroll
27443f1bab Roll Dart SDK from 2e76c4127885 to 453ad2fca05b (1 revision) (flutter/engine#29864) 2021-11-20 02:23:01 -08:00
skia-flutter-autoroll
16984f0488 Roll Dart SDK from f0f78da08ff2 to 2e76c4127885 (2 revisions) (flutter/engine#29861) 2021-11-19 20:48:02 -08:00
Andrei Diaconu
5003f1a91f Reland: Display Features support (flutter/engine#29585) 2021-11-19 18:04:31 -08:00
skia-flutter-autoroll
1e4f160bfb Roll Skia from 940086c81587 to 9b35cd642f98 (4 revisions) (flutter/engine#29852) 2021-11-19 15:43:06 -08:00
Casey Hillers
d64af4e311 [ci.yaml] Update engine enabled branches (flutter/engine#29820) 2021-11-19 15:23:02 -08:00
skia-flutter-autoroll
90f5c1d9ab Roll Skia from 62392f624f39 to 940086c81587 (7 revisions) (flutter/engine#29845)
https://skia.googlesource.com/skia.git/+log/62392f624f39..940086c81587

2021-11-19 michaelludwig@google.com [graphite] Include offset in Writers returned by DrawBufferManager
2021-11-19 herb@google.com refactor checking for direct glyph situations
2021-11-19 jvanverth@google.com Add SkSL::ShaderCaps and use as base class for GrShaderCaps
2021-11-19 scroggo@google.com Add minimal GL support for protected backend textures
2021-11-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 4c687cc2f8ea to f5cf2d08ff9c (2 revisions)
2021-11-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from ca9862fcfe55 to e7ac7694e638 (463 revisions)
2021-11-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 67e1e9c199cc to 53db01bf1e64 (5 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 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-19 14:21:08 -08:00
gaaclarke
7ab226eaf4 iOS Background Platform Channels (flutter/engine#29665) 2021-11-19 14:14:45 -08:00
skia-flutter-autoroll
a610124ea5 Roll Fuchsia Linux SDK from Gc37iAM6P... to Ii-fFcsGk... (flutter/engine#29850) 2021-11-19 13:58:01 -08:00
gaaclarke
431731da40 Mentioned that replies can be invoked on any thread now that that is supported. (flutter/engine#29816) 2021-11-19 13:43:31 -08:00
skia-flutter-autoroll
6e7526c40b Roll Fuchsia Mac SDK from kK8g7bQdA... to Pnfu1t-iG... (flutter/engine#29849) 2021-11-19 13:43:02 -08:00
Jenn Magder
7b792c087d Wrap format script diff in patch command (flutter/engine#29833) 2021-11-19 12:22:04 -08:00
David Worsham
40d0af4eb2 fuchsia: Fix Flatland opacity (flutter/engine#29844) 2021-11-19 11:58:20 -08:00
skia-flutter-autoroll
4d13aa4829 Roll Dart SDK from 91e3fa160432 to f0f78da08ff2 (8 revisions) (flutter/engine#29846) 2021-11-19 11:23:05 -08:00
Jenn Magder
c08aa6c73d Add 'explicit' to darwin embedder constructors (flutter/engine#29827) 2021-11-19 10:54:29 -08:00
Dan Field
edb87942de Use eglPresentationTimeANDROID to avoid bogging down the GPU (flutter/engine#29727)
Fixes flutter/flutter#93352

Improves Android benchmarks on both Pixel 4 and a lower end Android Go device for 99th percentile and average raster times.

This works by telling the system compositor what timestamp we intended to show this frame for. This way, if we end up with a frame that gets submitted right at the beginning of a vsync and then a second frame submitted on the same vsync, the compositor will only try to show the second frame on the screen and save the GPU some work.

Without this, a situation like that results in an "avalanche" of calls where the GPU is behind the CPU and keeps delaying CPU work until we finally stop submitting frames. This can be observed as a lengthy dequeuBuffer in a systrace enabled trace, as shown in the linked issue. This avalanche is often triggered by a frame that does a shader compile through a couple vsyncs and then is followed by a bunch of very fast frames that take less than a vsync to render - the first of those fast frames gets delivered before the end of the vsync that the slow frame ended in.

We cannot implement this ourselves because we don't know how long the swap buffers call will take on the system side, and if we try to guess we can very well get it wrong.

I've filed issues to look into adding this for Vulkan and Metal, although we should also first take traces there to make sure it's warranted.

See also: https://android-developers.googleblog.com/2020/04/high-refresh-rate-rendering-on-android.html
2021-11-19 09:29:51 -08:00
skia-flutter-autoroll
e7954e3f62 Roll Skia from a5261995416e to 62392f624f39 (12 revisions) (flutter/engine#29823)
https://skia.googlesource.com/skia.git/+log/a5261995416e..62392f624f39

2021-11-18 brianosman@google.com Remove old (unused) values from LayoutToken enum
2021-11-18 johnstiles@google.com Improve redundant trace_var elimination.
2021-11-18 bsalomon@google.com Remove drawPatch/Vertices helpers that don't take SkBlendMode
2021-11-18 robertphillips@google.com Improve handling of degenerate paths in AAHairLinePathRenderer::bloat_quad
2021-11-18 drott@chromium.org Fall back to type 3 embedding for fonts with COLR table
2021-11-18 johnstiles@google.com Optimize commutative operations in SkVM.
2021-11-18 johnstiles@google.com Add test for commutative operations in SkVM.
2021-11-18 herb@google.com make drawMatrix use more explicit
2021-11-18 robertphillips@google.com Allow the Triangulator to fail
2021-11-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 8e6bab5320de to 4f4d765e4e51
2021-11-18 brianosman@google.com Reland "Remove layer-coverage-tracking experiment"
2021-11-18 kjlubick@google.com [infra] Use Bazel transitions to allow cc_binary to set their own flags

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-19 08:37:04 -08:00
Jason Simmons
b92dab5c1f Roll expat and buildroot (flutter/engine#29813)
Update license script for new expat

Fixes https://github.com/flutter/flutter/issues/91384
2021-11-19 07:57:58 -08:00
Dan Field
3942c6c9f7 Make it less likely to GC during application startup on Android (flutter/engine#29825) 2021-11-18 22:22:22 -08:00
Jenn Magder
b39436f7e5 Fix darwin namespace-comments and brace lint issues (flutter/engine#29828) 2021-11-18 21:06:56 -08:00
Jenn Magder
5291ff4193 Add 'explicit' to Android embedder constructors (flutter/engine#29830) 2021-11-18 21:06:44 -08:00
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
a623a3f16d Roll Fuchsia Mac SDK from J1UwDWO_V... to kK8g7bQdA... (flutter/engine#29808) 2021-11-18 10:38:01 -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