28674 Commits

Author SHA1 Message Date
auto-submit[bot]
6b738ccea4 Reverts "web_ui: drop internal hash code library (#53783)" (flutter/engine#53793)
Reverts: flutter/engine#53783
Initiated by: jiahaog
Reason for reverting: There are still internal users of these hash functions (b/352191023). Flutter also exports it [here](72f83d3237/packages/flutter/lib/src/painting/basic_types.dart (L58)) so its easy for developers to use them even without importing `dart:ui`. Though it's an easy fix, I'd imagine this to be a breaking change for the OSS ecosystem a
Original PR Author: kevmoo

Reviewed By: {yjbanov}

This change reverts the following previous change:
We moved to dart:core Object functions a while ago
2024-07-10 03:16:48 +00:00
skia-flutter-autoroll
3731cb0d3d Manual roll Dart SDK from ffc8bb004a64 to dba0dfbd06eb (23 revisions) (flutter/engine#53791)
Manual roll requested by asiva@google.com

https://dart.googlesource.com/sdk.git/+log/ffc8bb004a64..dba0dfbd06eb

2024-07-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-22.0.dev
2024-07-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-21.0.dev
2024-07-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-20.0.dev
2024-07-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-19.0.dev
2024-07-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-18.0.dev
2024-07-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-17.0.dev
2024-07-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-16.0.dev
2024-07-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-15.0.dev
2024-07-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-14.0.dev
2024-07-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-13.0.dev
2024-07-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-12.0.dev
2024-07-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-11.0.dev
2024-07-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-10.0.dev
2024-07-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-9.0.dev
2024-07-04 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-8.0.dev
2024-07-04 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-7.0.dev
2024-07-04 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-6.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-5.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-4.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-3.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-2.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-1.0.dev
2024-07-02 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-0.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 asiva@google.com,bdero@google.com,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-10 02:00:22 +00:00
John McDole
ea09bae632 Impeller really wants premultiplied alpha (flutter/engine#53770)
Fixes flutter/flutter#151210 by premultiplying alpha in the rare case we
get straight alpha.
2024-07-09 17:07:31 -07:00
Kevin Moore
3ac0cca053 dart:ui - drop deprecated hash functions (flutter/engine#53787)
These were deprecated a LONG time ago
2024-07-09 23:50:06 +00:00
Chinmay Garde
e4f189806b [Impeller] Validation errors in tests cause GTest failures. (flutter/engine#53786)
Earlier, this used to take down the entire process. Now, the entire set of failures will be listed instead.
2024-07-09 23:48:19 +00:00
Chinmay Garde
8d233c3b90 [Impeller] Update docs that specify how to select the Impeller backend. (flutter/engine#53788) 2024-07-09 23:48:16 +00:00
Chinmay Garde
f3db22d5d9 [Impeller] Validation logs indicate where in code the validation error happened. (flutter/engine#53784)
Earlier, all validation logs originated from validation.cc which was not
useful at all since you had to find the string in the source.
2024-07-09 15:09:28 -07:00
skia-flutter-autoroll
b556342b28 Roll Fuchsia Linux SDK from yYs6rINJxWJ8J2vxo... to SrAow18WmBW8IDjza... (flutter/engine#53785)
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 bdero@google.com,rmistry@google.com,zra@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-09 21:57:21 +00:00
Kevin Moore
7c90831f07 web_ui: drop internal hash code library (flutter/engine#53783)
We moved to dart:core Object functions a while ago
2024-07-09 21:52:28 +00:00
Chinmay Garde
f2165798f7 Avoid using a private GTest macro to skip tests. (flutter/engine#53782)
I admit to using this private macro initially without realizing that the documented way to do this is to use the stream the other macro returns. The non-private variant is actually more powerful since it allows for easier customization of the reason for the skip.

No change in functionality. Just removes the use of the private macros.
2024-07-09 20:34:51 +00:00
Jonah Williams
aafe60d894 [Impeller] Use downsample shader for blur instead of mip levels. (flutter/engine#53760)
Fixes https://github.com/flutter/flutter/issues/150973

On a Pixel 7 pro, this speeds up the repeated blur macrobenchmark by 20ms (~65 -> ~45). The mip computation for backdrop filters is especially wasteful, as most of the contents are unused. RIght now, we also need to continually re-generate mips every time we do a texture flip, even if there is only a single blur. This is because the mip level is a property of the texture, which gets reused in the entity pass backdrop.
2024-07-09 19:58:19 +00:00
Jonah Williams
d11db4f8c9 [engine] support combined UI/Platform thread for iOS/Android. (flutter/engine#53656)
Experimentally support merging UI and platform thread on Android/iOS. This works by changing the shell holder to set the UI thread to the platform thread. Several shell APIs that post messages from the platform to ui thread were changed to use RunNowOrPostTask to immediately call the UI task if the threads are the same.

Experimentally, this seems to work reasonably well if there are no platform views. On Android with TLHC it works fine either way, while iOS currently takes a big performance hit.

This can be opted into via a Plist:

```
	<key>FLTEnableMergedPlatformUIThread</key>
	<true/>
```

Or via AndroidManifest.xml:

```
 <meta-data
            android:name="io.flutter.embedding.android.EnableMergedPlatformUIThread"
            android:value="true" />
```

https://github.com/flutter/flutter/issues/150525
2024-07-09 19:32:20 +00:00
Chinmay Garde
0ad423aaea [Impeller] Enable framebuffer fetch tests disabled on OpenGL ES. (flutter/engine#53766)
The texel fetch fallback used in place of framebuffer fetch isn't supported on ES 100. And this test is explicitly about framebuffer fetch.

Fixes https://github.com/flutter/flutter/issues/144181

<img width="1050" alt="Screenshot 2024-07-08 at 3 21 30 PM" src="https://github.com/flutter/engine/assets/44085/b7468a2d-c385-457c-adf4-2ddb2cbae4a2">
2024-07-09 19:24:03 +00:00
Jonah Williams
ef889f9d05 [Impeller] implement experimental canvas in snapshot controller. (flutter/engine#53750)
Fixes https://github.com/flutter/flutter/issues/150994

This ensures that the dart:ui API toImage and toImageSync use the experimental canvas API when the define is set. No other changes.
2024-07-09 19:19:57 +00:00
Chinmay Garde
64463f4556 [Impeller] Disable OpenGL dithering by default. (flutter/engine#53768)
My expectation was that all toggles were disabled with OpenGL. But the specification states: "The initial value for each capability with the exception of GL_DITHER is GL_FALSE. The initial value for GL_DITHER is GL_TRUE."

The kind of dithering is implementation dependent and our layered OpenGL implementations choose to do nothing when this is enabled (unless extensions like VK_EXT_legacy_dithering are supported). Since, again, per the spec: "As far as OpenGL layering is concerned, no dithering is technically an acceptable algorithm".

But it does have a cost of older hardware where dithering is supported.

This sets the default to match our other backends and get some performance on hardware that does do dithering.
2024-07-09 18:03:18 +00:00
Brandon DeRosier
c78799b576 Revert 4 Dart rolls (726cb2467 -> ffc8bb004) to recover engine roll (flutter/engine#53778)
Tracking bug: https://github.com/flutter/flutter/issues/151473
To resolve engine roll failures starting on roll:
https://github.com/flutter/flutter/pull/151434

Reverts 4 Dart rolls:
- Roll Dart SDK from ffc8bb004a64 to 1679aba20a03 (16 revisions)
(#53761) 998d1fa85578e719607105125169e5a55b9e6f6b
- Roll Dart SDK from 1679aba20a03 to 0ecada960645 (1 revision) (#53767)
0585cb610e02b4831edf3d9a850a3eae21c4b75e
- Roll Dart SDK from 0ecada960645 to 33b65d2fe034 (2 revisions) (#53772)
5bbc45ba606adb1ec5227b52b5fe16c65ce389ff
- Roll Dart SDK from 33b65d2fe034 to 726cb2467f27 (1 revision) (#53776)
4ff005801023f2d70256f69411ead0e550fbf749
2024-07-09 10:29:47 -07:00
skia-flutter-autoroll
4ff0058010 Roll Dart SDK from 33b65d2fe034 to 726cb2467f27 (1 revision) (flutter/engine#53776)
https://dart.googlesource.com/sdk.git/+log/33b65d2fe034..726cb2467f27

2024-07-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-19.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 file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-09 13:58:24 +00:00
skia-flutter-autoroll
b4172d92d6 Roll Skia from 9a6f8dfb9102 to 46e5bf98158a (1 revision) (flutter/engine#53775)
https://skia.googlesource.com/skia.git/+log/9a6f8dfb9102..46e5bf98158a

2024-07-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 56239a1e581e to 3ab5644b59e3 (4 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 aaclarke@google.com,brianosman@google.com,fmalita@google.com,rmistry@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-09 06:59:35 +00:00
dependabot[bot]
02a7e2536d Bump actions/upload-artifact from 4.3.3 to 4.3.4 (flutter/engine#53774)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p>
<blockquote>
<h2>v4.3.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Update <code>@​actions/artifact</code> version, bump dependencies by <a href="https://github.com/robherley"><code>@​robherley</code></a> in <a href="https://redirect.github.com/actions/upload-artifact/pull/584">actions/upload-artifact#584</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/actions/upload-artifact/compare/v4.3.3...v4.3.4">https://github.com/actions/upload-artifact/compare/v4.3.3...v4.3.4</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0b2256b8c0"><code>0b2256b</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/584">#584</a> from actions/robherley/bump-pkgs</li>
<li><a href="488dcefb9b"><code>488dcef</code></a> licensed cache</li>
<li><a href="04c51f5766"><code>04c51f5</code></a> ncc</li>
<li><a href="32a9e276a8"><code>32a9e27</code></a> bump <code>@​actions/artifact</code> and npm audit</li>
<li><a href="552bf3722c"><code>552bf37</code></a> new version</li>
<li><a href="79616d2ded"><code>79616d2</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/565">#565</a> from actions/eggyhead/use-artifact-v2.1.6</li>
<li>See full diff in <a href="65462800fd...0b2256b8c0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=4.3.3&new-version=4.3.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2024-07-09 06:49:27 +00:00
skia-flutter-autoroll
5bbc45ba60 Roll Dart SDK from 0ecada960645 to 33b65d2fe034 (2 revisions) (flutter/engine#53772)
https://dart.googlesource.com/sdk.git/+log/0ecada960645..33b65d2fe034

2024-07-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-18.0.dev
2024-07-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-17.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 aaclarke@google.com,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-09 05:49:34 +00:00
skia-flutter-autoroll
24dba5994f Roll Skia from 9edafde22cb3 to ced941fdddc4 (2 revisions) (flutter/engine#53769)
https://skia.googlesource.com/skia.git/+log/9edafde22cb3..ced941fdddc4

2024-07-08 kjlubick@google.com Remove exports_files_legacy
2024-07-08 johnstiles@google.com Use powr(x, y) in Metal instead of pow(x, y).

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 aaclarke@google.com,brianosman@google.com,fmalita@google.com,rmistry@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-09 00:15:17 +00:00
skia-flutter-autoroll
0585cb610e Roll Dart SDK from 1679aba20a03 to 0ecada960645 (1 revision) (flutter/engine#53767)
https://dart.googlesource.com/sdk.git/+log/1679aba20a03..0ecada960645

2024-07-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-16.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 aaclarke@google.com,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-08 23:23:29 +00:00
Dustin Green
6d2812b3fe [fuchsia][sysmem2] move to sysmem2 protocols (flutter/engine#53138)
Switch flutter from sysmem(1) protocols to sysmem2 protocols.

This is part of the overall sysmem(1) to sysmem2 migration.

fixes flutter/flutter#151154
2024-07-08 16:22:16 -07:00
Chinmay Garde
580d14040d [Impeller] Exploit dynamic state in OpenGL for fewer program links. (flutter/engine#53764)
Fixes https://github.com/flutter/flutter/issues/145125
2024-07-08 22:54:55 +00:00
Jonah Williams
6ba3e46d9a [Impeller] fix incorrect padding/translation in drawVertices with texture coordinates. (flutter/engine#53746)
Fixes https://github.com/flutter/flutter/issues/151355

The coverage pad introduced by renderToSnapshot is being picked up by drawVertices with texture coordinates. The pad is showing up in the final results, which can appear to be a gap between elements.

Additionally: if the coverage computed from the texture coordinates does not include the origin, then make sure the coverage used for the snapshot is translated onscreen.
2024-07-08 20:12:49 +00:00
skia-flutter-autoroll
02b5e9bbc3 Roll Skia from c65710d00047 to 9edafde22cb3 (3 revisions) (flutter/engine#53762)
https://skia.googlesource.com/skia.git/+log/c65710d00047..9edafde22cb3

2024-07-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 3ce1fd54c58a to 14b58abf4d15 (2 revisions)
2024-07-08 kjlubick@google.com Change anonymous enums to constexpr or enum classes where appropriate
2024-07-08 johnstiles@google.com Update SkSL docs to point to named Fiddles.

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 aaclarke@google.com,brianosman@google.com,fmalita@google.com,rmistry@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-08 20:11:05 +00:00
Jonah Williams
8c0ef89160 [Impeller] implement clear color opt for experimental canvas. (flutter/engine#53749)
Fixes https://github.com/flutter/flutter/issues/150995

Rather than using a separate state bit, we can use whether the current render pass is active as an indicator for whether or not it is safe to apply the clear color optimization.
2024-07-08 20:09:22 +00:00
Jonah Williams
c4258c8457 [Impeller] add experimental canvas support to screenshotter. (flutter/engine#53751)
Fixes https://github.com/flutter/flutter/issues/150993

This change allows testing the experimental canvas dispatcher in the playgrounds, which is important for golden testing. The plan to enable requires demonstrating that the goldens are the same.
2024-07-08 20:05:08 +00:00
Chinmay Garde
609d5e2bcb Add a host_debug_unopt local engine config for Windows. (flutter/engine#53734)
We have these configs for Linux & macOS.
2024-07-08 19:10:06 +00:00
skia-flutter-autoroll
998d1fa855 Roll Dart SDK from ffc8bb004a64 to 1679aba20a03 (16 revisions) (flutter/engine#53761)
https://dart.googlesource.com/sdk.git/+log/ffc8bb004a64..1679aba20a03

2024-07-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-15.0.dev
2024-07-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-14.0.dev
2024-07-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-13.0.dev
2024-07-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-12.0.dev
2024-07-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-11.0.dev
2024-07-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-10.0.dev
2024-07-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-9.0.dev
2024-07-04 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-8.0.dev
2024-07-04 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-7.0.dev
2024-07-04 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-6.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-5.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-4.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-3.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-2.0.dev
2024-07-03 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-1.0.dev
2024-07-02 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-0.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 aaclarke@google.com,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-08 19:10:04 +00:00
skia-flutter-autoroll
502fe2211c Roll Skia from 38b17b22312d to c65710d00047 (2 revisions) (flutter/engine#53758)
https://skia.googlesource.com/skia.git/+log/38b17b22312d..c65710d00047

2024-07-08 michaelludwig@google.com [graphite] Simplify FragSkSLInfo based on what's actually used
2024-07-08 johnstiles@google.com Replace hash-map with array in SkRP builder.

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 aaclarke@google.com,brianosman@google.com,fmalita@google.com,rmistry@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-08 18:07:10 +00:00
skia-flutter-autoroll
d5f02e5155 Roll Skia from 1f85fb9238aa to b2c51b2fe15f (3 revisions) (flutter/engine#53756)
https://skia.googlesource.com/skia.git/+log/1f85fb9238aa..b2c51b2fe15f

2024-07-08 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll vulkan-deps from e01ce27481d2 to 3ce1fd54c58a (11 revisions)
2024-07-08 kjlubick@google.com Enforce IWYU across src/gpu/ganesh subfolders
2024-07-08 johnstiles@google.com Move `}  // END FIDDLE` onto a separate line.

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 aaclarke@google.com,brianosman@google.com,fmalita@google.com,rmistry@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-08 14:22:35 +00:00
skia-flutter-autoroll
a5d815e8e9 Roll Skia from f1d06de0ae87 to 1f85fb9238aa (2 revisions) (flutter/engine#53753)
https://skia.googlesource.com/skia.git/+log/f1d06de0ae87..1f85fb9238aa

2024-07-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 56239a1e581e to c8809f07361f
2024-07-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 6c155414a139 to 56239a1e581e (4 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 aaclarke@google.com,brianosman@google.com,fmalita@google.com,rmistry@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-08 07:40:20 +00:00
skia-flutter-autoroll
d5835792df Roll Fuchsia Linux SDK from unavXf_l4lhu23MGg... to RSMFdOFyLxulsvY4_... (flutter/engine#53743)
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 aaclarke@google.com,rmistry@google.com,zra@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-06 15:01:25 +00:00
Yegor
b75d1ddcac [web] use semantic tags for headings (h1, h2, etc), and fix missing secondary roles (flutter/engine#53703)
Switch to using semantic heading tags (h1, h2, etc).

Fix missing secondary roles: focus, live region, route name, and label.
Improves indexability (https://github.com/flutter/flutter/issues/46789)
2024-07-05 17:59:22 +00:00
skia-flutter-autoroll
690f6f8331 Roll Fuchsia Linux SDK from 5WGhpr75y_pb6u2OO... to unavXf_l4lhu23MGg... (flutter/engine#53739)
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 aaclarke@google.com,rmistry@google.com,zra@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-05 13:49:23 +00:00
skia-flutter-autoroll
064d49d547 Roll Skia from 92861012bcc1 to 4a27ce0f92d4 (4 revisions) (flutter/engine#53738)
https://skia.googlesource.com/skia.git/+log/92861012bcc1..4a27ce0f92d4

2024-07-05 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 6c155414a139 to aed65f2e3de8
2024-07-05 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from d35ababad9bf to 6c155414a139 (2 revisions)
2024-07-05 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from a0ec371d8331 to f23c77132e0b (1 revision)
2024-07-05 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from b29e25b27eda to bbac3636580e (28 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 aaclarke@google.com,brianosman@google.com,rmistry@google.com,robertphillips@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-05 07:03:05 +00:00
skia-flutter-autoroll
12d1eba7d7 Roll Fuchsia Linux SDK from -VgqOfoW5sf04SuJh... to 5WGhpr75y_pb6u2OO... (flutter/engine#53728)
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 aaclarke@google.com,rmistry@google.com,zra@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-04 12:40:08 +00:00
skia-flutter-autoroll
45ee56c602 Roll Skia from 28ba3b1b0951 to a2d00a28c563 (2 revisions) (flutter/engine#53726)
https://skia.googlesource.com/skia.git/+log/28ba3b1b0951..a2d00a28c563

2024-07-04 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 3a6c4fed7cdc to 6c155414a139
2024-07-04 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 20c36c70094f to d35ababad9bf (2 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 aaclarke@google.com,brianosman@google.com,rmistry@google.com,robertphillips@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-04 09:49:22 +00:00
auto-submit[bot]
a918c608b8 Reverts "fix: mask disappeared when having nested mask filter on Flutter web HTML (#45166)" (flutter/engine#53725)
Reverts: flutter/engine#45166
Initiated by: jiahaog
Reason for reverting: This commit seems to cause the debug banner of a material app to be unnecessarily blurred. For example, one of the tests runs the following flutter app:

<details>

<summary>Code</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Materia
Original PR Author: Kingtous

Reviewed By: {yjbanov, harryterkelsen}

This change reverts the following previous change:
Hi from [Dora team](https://www.dora.run/), which powers web developers to build their 3d websites in just a few seconds.

This PR fixes: https://github.com/flutter/flutter/issues/133443, related: https://github.com/flutter/flutter/issues/58546

The original codes attempts to cache the css string but it causes bugs when encountering nested the same mask filter blur. We should also set `filter` properties when currentFilter == incoming mask filter using the cached css string, not just ignore it. 

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-07-04 07:04:25 +00:00
Jonah Williams
efbf7ddc57 [Impeller] mark the end of a frame boundary for system compositor interop. (flutter/engine#53722)
Fixes https://github.com/flutter/flutter/issues/151274

This is only an issue on iOS (so far) because of the platform view rendering strategy that involves submitting multiple impeller frames per compositor frame.

FYI @bdero
2024-07-04 03:48:17 +00:00
Jim Graham
b4a744f468 [Impeller] Re-enable fast blur path for elliptical rrects (flutter/engine#53704)
Fixes https://github.com/flutter/flutter/issues/151034

Fast round rects were recently restricted to circular corners, but elliptical round rects can also go through the fast path.
2024-07-04 00:01:24 +00:00
skia-flutter-autoroll
ae3d8a7529 Roll Skia from 9fd1dc779589 to d5f8dde714e4 (2 revisions) (flutter/engine#53721)
https://skia.googlesource.com/skia.git/+log/9fd1dc779589..d5f8dde714e4

2024-07-03 johnstiles@google.com Add reserve() API to THashSet/Map.
2024-07-03 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll Dawn from acaa69d72c2d to e0bb763d4c49 (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 aaclarke@google.com,brianosman@google.com,rmistry@google.com,robertphillips@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-07-03 22:24:22 +00:00
Yegor
a314952184 [web] ignore pointer events on plain text spans (flutter/engine#53694)
A semantic node may be tappable without having a more concrete role set on it, such as "button". It will just have a tap handler. This could lead to the sized span to be chosen as the label representation. However, when pointer events land on the span the DOM `target` becomes the span rather than the tappable element, and that breaks the debouncing logic in `pointer_binding.dart`.

This PR removes pointer event handling from inert text spans. This fixes the click debounce logic.

Fixes https://github.com/flutter/flutter/issues/151265
2024-07-03 22:00:05 +00:00
Mouad Debbar
5fb88851d5 Add Semantics Property linkUrl (flutter/engine#53507)
The new property allows the user to specify a URI for their semantics link node. It's plumbed through for both web and non-web engines, but it's only used in the web engine currently. It sets the `href` of the anchor element associated with semantics node.

This is going to unlock better semantics support in the Link widget on web ([PR](https://github.com/flutter/packages/pull/6711)).

Framework counterpart: https://github.com/flutter/flutter/pull/150639

Part of https://github.com/flutter/flutter/issues/150263
2024-07-03 21:12:26 +00:00
Chinmay Garde
f20ab5e458 [Embedder] Document incorrectly named field in FlutterOpenGLFramebuffer. (flutter/engine#53720)
Doesn't rename the field to maintain API compatibility. But adds a bug annotation.

Fixes https://github.com/flutter/flutter/issues/148637
2024-07-03 20:38:09 +00:00
Chinmay Garde
b6fbffe976 [Impeller] Make storage sizes typed. (flutter/engine#53700)
This is similar to our handling of degrees and radians or really any of the stuff in chrono.

Storage is always in bytes. Before being displayed, it can be converted into any of unit that makes the most sense. Conversions are non-truncating and everything is constexpr safe.
2024-07-03 19:47:10 +00:00
Matan Lurey
0e6a951a57 Convert run_ios_tests.sh to run_ios_tests.dart. (flutter/engine#53645)
Part of https://github.com/flutter/flutter/issues/143953.

Because there are so many boundary cases, i.e. tests failed uploading artifacts to LUCI, I  was _not_ planning on atomically deleting and replacing `run_ios_tests.sh`, and want to give a chance for the iOS team to try the converted code and verify it works the way they expect.

I'm also happy to just slam it on, but defer to y'all. _It works on my machine_.

---

```sh
dart run testing/scenario_app/bin/run_ios_tests.dart
```
2024-07-03 19:01:31 +00:00
Matan Lurey
ee6b0f1b2d Move //third_party/android_embedding_dependencies to //flutter/third_party. (flutter/engine#53587)
... as part of the buildmoot effort.

I'll rebase after @gmackall's definitely-will-work-this-time bump of the dependencies.
2024-07-03 18:40:23 +00:00
Chinmay Garde
68ae17c64b [Impeller] Document how to debug/profile OpenGL ES on macOS. (flutter/engine#53671)
This was the workflow that worked best as I was bringing up the backend. Though, the bit about Angle is new since the OpenGL stuff is no longer shipped with Xcode. I've tried to recreate those workflows as best I could.

Fixes https://github.com/flutter/flutter/issues/136760
2024-07-03 18:29:11 +00:00