15493 Commits

Author SHA1 Message Date
Yegor
4a81b38f3a [web] use typed SVG API (flutter/engine#29481) 2021-11-23 15:57:18 -08:00
skia-flutter-autoroll
c459fa0369 Roll Skia from 7f5b19bd6907 to 23779e2edb46 (9 revisions) (flutter/engine#29902) 2021-11-23 15:13:06 -08:00
Gary Qian
840b4dfa0a Delete old script for individual SDK package upload (flutter/engine#29887) 2021-11-23 15:08:02 -08:00
Yegor
d76a9822ec [web] merge the README files into one (flutter/engine#29896) 2021-11-23 14:02:46 -08:00
skia-flutter-autoroll
40aa6374ef Roll Skia from b59d6fe7f0b2 to 7f5b19bd6907 (10 revisions) (flutter/engine#29894) 2021-11-23 13:53:01 -08:00
Chris Bracken
42605fc145 Windows: Clean up FML file debug messages (flutter/engine#29824) 2021-11-23 13:47:32 -08:00
skia-flutter-autoroll
5f55d659d3 Roll Fuchsia Linux SDK from hbyHcc_5x... to xW7v3nxI0... (flutter/engine#29891) 2021-11-23 10:48:01 -08:00
skia-flutter-autoroll
ca38f06813 Roll Skia from c3db55663e5a to b59d6fe7f0b2 (3 revisions) (flutter/engine#29886) 2021-11-23 10:38:03 -08:00
Gary Qian
f598b46a13 Add script to upload unified Android SDK CIPD archives and switch DEPS to use it. (flutter/engine#29776) 2021-11-23 00:02:29 -08:00
Alexander Biggs
54cd63841e [fuchsia] Add arg for old_gen_heap_size. (flutter/engine#29875) 2021-11-22 22:13:01 -08:00
skia-flutter-autoroll
2274c5d647 Roll Skia from 2f6c53ff720a to c3db55663e5a (1 revision) (flutter/engine#29885) 2021-11-22 22:03:02 -08:00
skia-flutter-autoroll
abec7dfc7c Roll Skia from e00afb0a1a68 to 2f6c53ff720a (6 revisions) (flutter/engine#29884) 2021-11-22 19:18:01 -08:00
ColdPaleLight
742a3dc7d8 Remove the dart entry point args from the Settings struct (flutter/engine#29831) 2021-11-22 18:43:02 -08:00
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
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
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
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
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
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
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