83702 Commits

Author SHA1 Message Date
stuartmorgan
e8254b2024 Update Android plugin templates for newer AGP (#156533)
Now that Flutter requires AGP 7+, we can use Java 11 as the compatibility version in the plugin template rather than 1.8, avoiding warnings with newer toolchains, and we can remove the check for 'namespace' existing that was only necessary to support AGP 4.1.

See also https://github.com/flutter/packages/pull/7795 which made this change in Flutter-team-owned plugins.

Part of https://github.com/flutter/flutter/issues/156111
2024-10-10 17:18:50 +00:00
Daco Harkes
225e4aabb5 Flutter templates example app Gradle memory settings (#156201)
Adding even more memory to see if it addresses flakes:

* https://github.com/flutter/flutter/issues/156063#issuecomment-2388949557
2024-10-10 16:02:11 +00:00
engine-flutter-autoroll
7efa6f0bc5 Roll Flutter Engine from 3a95d6e1ddbf to 590babc1581b (1 revision) (#156498)
3a95d6e1dd...590babc158

2024-10-09 chinmaygarde@google.com [Impeller] libImpeller: Allow creating image color sources. (flutter/engine#55754)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@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-10-10 15:51:39 +00:00
Harry Terkelsen
810c87a2e3 [canvaskit] Unskip cupertino datepicker tests (#156499)
Unskips Cupertino Datepicker tests on CanvasKit.

Addresses https://github.com/flutter/flutter/issues/110785 for CanvasKit. But the tests are still failing for Skwasm.
2024-10-10 15:50:19 +00:00
Valentin Vignal
96c761c1a6 Add test for animated list example (#156452)
Contributes to https://github.com/flutter/flutter/issues/130459

It adds a test for
- `examples/api/lib/widgets/animated_list/animated_list.0.dart`
2024-10-10 15:48:17 +00:00
skia-flutter-autoroll
ce933dae9a Roll Skia from 0a9bfc90496e to 1e269594df9d (1 revision) (flutter/engine#55801)
https://skia.googlesource.com/skia.git/+log/0a9bfc90496e..1e269594df9d

2024-10-10 qjw@chromium.org ssci: canonicalize / backfill dependencies managed by DEPS

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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-10 14:57:19 +00:00
skia-flutter-autoroll
1dcf56dc4b Roll Skia from 6e4a2f266a17 to 0a9bfc90496e (2 revisions) (flutter/engine#55799)
https://skia.googlesource.com/skia.git/+log/6e4a2f266a17..0a9bfc90496e

2024-10-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from d0e2141a997c to ae5c3b969e66 (10 revisions)
2024-10-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 09baf58309a3 to bf6353777f11 (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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-10 08:26:35 +00:00
skia-flutter-autoroll
43e15ff3ec Roll Skia from 3a9e6b6a4721 to 6e4a2f266a17 (1 revision) (flutter/engine#55797)
https://skia.googlesource.com/skia.git/+log/3a9e6b6a4721..6e4a2f266a17

2024-10-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 458c840c3ccf to 4480c8e9e59c (6 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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-10 04:50:32 +00:00
Alexander Aprelev
2fd5e6cc09 Roll buildroot to pick up change to --time executions (flutter/engine#55792)
Pick up the change that repeats failed gn_run_binary.py execution
2024-10-10 03:06:35 +00:00
skia-flutter-autoroll
0ef69389f0 Roll Skia from 8c95b719bf05 to 3a9e6b6a4721 (1 revision) (flutter/engine#55793)
https://skia.googlesource.com/skia.git/+log/8c95b719bf05..3a9e6b6a4721

2024-10-10 michaelludwig@google.com [graphite] Clean up legacy dstCopy from KeyContext

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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-10 02:31:23 +00:00
Matan Lurey
4f6d8c462d Move some et tests around and delete unused files. (flutter/engine#55764)
Just general cleanup with no behavioral changes.
2024-10-09 23:03:14 +00:00
Yegor
e478ea9bad [web:a11y] make header a proper <header> (flutter/engine#55747)
Now that we have [proper headings](https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/semantics/heading.dart), headers should become proper headers.

Fixes https://github.com/flutter/flutter/issues/152268
2024-10-09 22:21:51 +00:00
skia-flutter-autoroll
2295cc1053 Roll Skia from cf9a558b3abb to 8c95b719bf05 (1 revision) (flutter/engine#55788)
https://skia.googlesource.com/skia.git/+log/cf9a558b3abb..8c95b719bf05

2024-10-09 vigneshv@google.com Reland "Enable CrabbyAvif for Android framework"

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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-09 22:20:19 +00:00
auto-submit[bot]
eae94cf3df Reverts "Reverts "Run gen_snapshot under /usr/bin/time (#55777)" (#55787)" (flutter/engine#55789)
Reverts: flutter/engine#55787
Initiated by: matanlurey
Reason for reverting: We determined this was an expected failure.
Original PR Author: auto-submit[bot]

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:
Reverts: flutter/engine#55777
Initiated by: matanlurey
Reason for reverting: Breaks CI postsubmit (https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20Production%20Engine%20Drone/485517/overview).
Original PR Author: aam

Reviewed By: {matanlurey}

This change reverts the following previous change:
This should help further troubleshoot https://github.com/flutter/flutter/issues/154437
2024-10-09 21:31:46 +00:00
auto-submit[bot]
93d9a4e1ed Reverts "Run gen_snapshot under /usr/bin/time (#55777)" (flutter/engine#55787)
Reverts: flutter/engine#55777
Initiated by: matanlurey
Reason for reverting: Breaks CI postsubmit (https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20Production%20Engine%20Drone/485517/overview).
Original PR Author: aam

Reviewed By: {matanlurey}

This change reverts the following previous change:
This should help further troubleshoot https://github.com/flutter/flutter/issues/154437
2024-10-09 21:18:46 +00:00
skia-flutter-autoroll
180e57bf6f Roll Skia from 1349ddc074ad to cf9a558b3abb (2 revisions) (flutter/engine#55785)
https://skia.googlesource.com/skia.git/+log/1349ddc074ad..cf9a558b3abb

2024-10-09 jlavrova@google.com Revert "Adding Fontations to FontConfig manager"
2024-10-09 jlavrova@google.com Adding Fontations to FontConfig manager

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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-09 20:53:38 +00:00
Alexander Aprelev
de3410f8f4 Run gen_snapshot under /usr/bin/time (flutter/engine#55777)
This should help further troubleshoot https://github.com/flutter/flutter/issues/154437
2024-10-09 20:47:36 +00:00
Chinmay Garde
9910c947f6 [Impeller] libImpeller: Publish SDK artifacts. (flutter/engine#55783)
Fixes https://github.com/flutter/flutter/issues/156358
2024-10-09 20:35:28 +00:00
engine-flutter-autoroll
c78c166e3e Roll Flutter Engine from fb0b59d9438b to 3a95d6e1ddbf (1 revision) (#156492)
fb0b59d943...3a95d6e1dd

2024-10-09 skia-flutter-autoroll@skia.org Roll Skia from 80191e69c97a to 1349ddc074ad (4 revisions) (flutter/engine#55779)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@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-10-09 20:15:22 +00:00
Chinmay Garde
57e4161fd8 [Impeller] libImpeller: Allow creating image color sources. (flutter/engine#55754)
Fixes https://github.com/flutter/flutter/issues/156360

This was missed in the earlier bringup.

cc @lyceel I did not expose the solid color source since (as @jonahwilliams [pointed out](https://github.com/flutter/flutter/issues/156360#issuecomment-2398005436)) all it does it [clear the current color source and set the color on the paint](a01daf5555/display_list/dl_builder.cc (L206)).
2024-10-09 20:11:49 +00:00
skia-flutter-autoroll
5c2733f600 Roll Skia from 80191e69c97a to 1349ddc074ad (4 revisions) (flutter/engine#55779)
https://skia.googlesource.com/skia.git/+log/80191e69c97a..1349ddc074ad

2024-10-09 michaelludwig@google.com [graphite] Reset fDstCopy in resetCommandBuffer()
2024-10-09 egdaniel@google.com [Ganesh] Add support for VK_EXT_frame_boundary.
2024-10-09 nscobie@google.com Punt CTS enforcement of VkProtectedContext_Xyz_Graphite tests to API 36
2024-10-09 egdaniel@google.com [Ganesh] Add GrSubmitInfo struct to GrDirectContext::submit

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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-09 18:38:23 +00:00
engine-flutter-autoroll
2d45fb396d Roll Flutter Engine from 4a97943e0556 to fb0b59d9438b (3 revisions) (#156487)
4a97943e05...fb0b59d943

2024-10-09 skia-flutter-autoroll@skia.org Roll Skia from e0bb55353b27 to 80191e69c97a (4 revisions) (flutter/engine#55775)
2024-10-09 skia-flutter-autoroll@skia.org Manual roll Dart SDK to 3.6.0-334.2.beta (flutter/engine#55772)
2024-10-09 matanlurey@users.noreply.github.com Rename `GetTargetRenderPassDescriptor` to `GetRenderTarget`. (flutter/engine#55765)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@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-10-09 18:09:31 +00:00
engine-flutter-autoroll
97de58520e Roll Flutter Engine from db0c0b7ca428 to 4a97943e0556 (9 revisions) (#156478)
db0c0b7ca4...4a97943e05

2024-10-09 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
TlU-It6X_ZLrNqMjW... to xGr5ZkxX3CajAY1xu... (flutter/engine#55770)
2024-10-09 skia-flutter-autoroll@skia.org Roll Skia from a077e78e531f to
e0bb55353b27 (3 revisions) (flutter/engine#55768)
2024-10-09 chinmaygarde@google.com [Impeller] libImpeller: Allow
fetching OpenGL texture handle. (flutter/engine#55753)
2024-10-09 skia-flutter-autoroll@skia.org Roll Fuchsia Test Scripts from
jCde9sMKJ3YAdG2DH... to _fkA2GjLQH4bc_n2p... (flutter/engine#55762)
2024-10-09 skia-flutter-autoroll@skia.org Roll Skia from 701b6e4b4bc4 to
a077e78e531f (3 revisions) (flutter/engine#55761)
2024-10-09 matanlurey@users.noreply.github.com
Release`onTrimMemoryListener` after `ImageReaderSurfaceProducer`
released. (flutter/engine#55760)
2024-10-09 bdero@google.com [Flutter GPU] Get the GLES backend/Windows
working. (flutter/engine#55694)
2024-10-08 1961493+harryterkelsen@users.noreply.github.com [canvaskit]
Fix incorrect clipping with Opacity scene layer (flutter/engine#55751)
2024-10-08 matanlurey@users.noreply.github.com Refactor multi-file build
parsing into a single `BuildPlan` class. (flutter/engine#55720)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from TlU-It6X_ZLr to xGr5ZkxX3Caj

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@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-10-09 10:17:15 -07:00
skia-flutter-autoroll
7d44c0e306 Roll Skia from e0bb55353b27 to 80191e69c97a (4 revisions) (flutter/engine#55775)
https://skia.googlesource.com/skia.git/+log/e0bb55353b27..80191e69c97a

2024-10-09 bungeman@google.com [pdf] Emit `/Tabs /S` on each page
2024-10-09 cwallez@chromium.org DawnErrorChecker: Prepare for Dawn StringView callback change.
2024-10-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from dbcb4e8a0f0c to 458c840c3ccf (1 revision)
2024-10-09 fmalita@google.com [skjson] Non-recursive Json writer impl

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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-09 16:28:08 +00:00
skia-flutter-autoroll
131f9896ae Manual roll Dart SDK to 3.6.0-334.2.beta (flutter/engine#55772)
Manual roll requested by zra@google.com

This is a Dart roll for branch alignment to the 3.6.0-334.2.beta version
of Dart. It includes the two dev versions below in addition to two CPs
listed at the top of
https://dart.googlesource.com/sdk/+log/d916a5f69a486de98316900f19ef0ff46834b03d.

https://dart.googlesource.com/sdk.git/+log/85a7e014bea8..115a3c609bf2

2024-10-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.6.0-334.0.dev
2024-10-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.6.0-333.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,jacksongardner@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

---------

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2024-10-09 09:17:48 -07:00
engine-flutter-autoroll
91df6ab930 Roll Packages from 8fbf4cda12e7 to 9d00fb1a8e50 (9 revisions) (#156477)
8fbf4cda12...9d00fb1a8e

2024-10-09 10687576+bparrishMines@users.noreply.github.com [interactive_media_ads] Adds internal wrapper for Android native `CompanionAd` (flutter/packages#7823)
2024-10-08 matanlurey@users.noreply.github.com Disable `SurfaceProducer.Callback` when the surface is disposed manually. (flutter/packages#7827)
2024-10-08 matanlurey@users.noreply.github.com Dispose the `ExoPlayer` before `SurfaceProducer`. (flutter/packages#7824)
2024-10-08 stuartmorgan@google.com [pigeon] Use non-nullable generics in example app (flutter/packages#7817)
2024-10-08 43054281+camsim99@users.noreply.github.com Manually Roll Flutter (stable) from 4cf269e36de2 to 2663184aa790 (5 revisions) (flutter/packages#7819)
2024-10-08 stuartmorgan@google.com [camera] Update iOS Pigeon for non-nullable generics (flutter/packages#7787)
2024-10-08 stuartmorgan@google.com [in_app_purchase] Update Android Pigeon for non-nullable generics (flutter/packages#7788)
2024-10-08 jessiewong401@gmail.com [WIP] Updated applying gradle plugin for flutter_plugin_android_lifecycles (flutter/packages#7786)
2024-10-08 engine-flutter-autoroll@skia.org Manual roll Flutter from ec2e12ba50 to 0917e9dfdc (29 revisions) (flutter/packages#7816)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@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-10-09 15:51:53 +00:00
Matan Lurey
d62fed45f7 Rename GetTargetRenderPassDescriptor to GetRenderTarget. (flutter/engine#55765)
Closes https://github.com/flutter/flutter/issues/154799.
2024-10-09 15:44:41 +00:00
gaaclarke
5c6e3f03c0 Started handling duplicate validation layer messages (#156375)
fixes https://github.com/flutter/flutter/issues/151528

Those tests were failing because the validation layers messages were
printing out twice. This now only starts failing if a backend is
reported that is not vulkan with validation layers. See
https://github.com/flutter/flutter/issues/151528#issuecomment-2398189205

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
2024-10-09 08:40:04 -07:00
engine-flutter-autoroll
0baf7a5904 Roll Flutter Engine from 0e7344ae240d to db0c0b7ca428 (4 revisions) (#156443)
0e7344ae24...db0c0b7ca4

2024-10-08 30870216+gaaclarke@users.noreply.github.com fixes mask blurs on stoked gradient geometry (flutter/engine#55717)
2024-10-08 jason-simmons@users.noreply.github.com [Impeller] Do not scale the miter limit applied to stroked text (flutter/engine#55745)
2024-10-08 55750689+AthulJoseph27@users.noreply.github.com Added support to set primitive type (flutter/engine#55514)
2024-10-08 skia-flutter-autoroll@skia.org Roll Skia from 8a2fe88d31e3 to 701b6e4b4bc4 (1 revision) (flutter/engine#55752)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@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-10-09 14:55:26 +00:00
auto-submit[bot]
0403c1cb8f Reverts "Roll pub packages (#156440)" (#156473)
Reverts: flutter/flutter#156440
Initiated by: zanderso
Reason for reverting: Failing in post submit with
```
[2024-10-08 18:00:22.743647] [STDOUT] stdout:                [!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
[2024-10-08 18:00:22.743695] [STDOUT] stdout:                  In Podfile:
[2024-10-08 18:00:22.743718] [STDOUT] stdout:                    google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved t
Original PR Author: flutter-pub-roller-bot

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:
This PR was generated by `flutter update-packages --force-upgrade`.
2024-10-09 13:45:47 +00:00
skia-flutter-autoroll
9123b89cc0 Roll Fuchsia Linux SDK from TlU-It6X_ZLrNqMjW... to xGr5ZkxX3CajAY1xu... (flutter/engine#55770)
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 jacksongardner@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-10-09 10:57:30 +00:00
skia-flutter-autoroll
b6b1210f99 Roll Skia from a077e78e531f to e0bb55353b27 (3 revisions) (flutter/engine#55768)
https://skia.googlesource.com/skia.git/+log/a077e78e531f..e0bb55353b27

2024-10-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 878e1c92af0b to d0e2141a997c (1 revision)
2024-10-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from f00ae00fd775 to 09baf58309a3 (10 revisions)
2024-10-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 2574827cf13b to 68d8508758f2 (8 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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-09 08:40:26 +00:00
Chinmay Garde
511ee36f3f [Impeller] libImpeller: Allow fetching OpenGL texture handle. (flutter/engine#55753)
Fixes https://github.com/flutter/flutter/issues/156359

cc @lyceel
2024-10-09 07:44:37 +00:00
skia-flutter-autoroll
b1c6343be2 Roll Fuchsia Test Scripts from jCde9sMKJ3YAdG2DH... to _fkA2GjLQH4bc_n2p... (flutter/engine#55762)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-test-scripts-flutter-engine
Please CC chrome-fuchsia-engprod@google.com,jacksongardner@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-10-09 03:01:19 +00:00
skia-flutter-autoroll
93d88f899d Roll Skia from 701b6e4b4bc4 to a077e78e531f (3 revisions) (flutter/engine#55761)
https://skia.googlesource.com/skia.git/+log/701b6e4b4bc4..a077e78e531f

2024-10-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 657296f55449 to dbcb4e8a0f0c (2 revisions)
2024-10-09 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll ANGLE from 0f7371ae347d to 878e1c92af0b (7 revisions)
2024-10-08 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll Dawn from 4103ee393de2 to 2574827cf13b (10 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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-09 02:18:14 +00:00
Matan Lurey
8e3b58f166 ReleaseonTrimMemoryListener after ImageReaderSurfaceProducer released. (flutter/engine#55760)
Fixes https://github.com/flutter/flutter/issues/156434.

A better fix for the workaround in https://github.com/flutter/flutter/issues/156158.

This should likely be cherrypicked, as it's a memory leak, safe, and avoids workaround code in plugins.
2024-10-09 01:35:17 +00:00
Brandon DeRosier
e118869e40 [Flutter GPU] Get the GLES backend/Windows working. (flutter/engine#55694)
Resolves https://github.com/flutter/flutter/issues/156305.

* Resolve pipelines and submit command buffers on the raster thread.
* Don't use desktop GL shader variation on Windows.
* Fix interpretation of `array_elements`.
* Fix texture binding metadata.

Gets Flutter GPU working on Windows!
![image](https://github.com/user-attachments/assets/9eecb67f-a980-4556-8060-b0c947713534)
![image](https://github.com/user-attachments/assets/c8e2071f-e7c0-411c-8f37-e1f3037916f4)
2024-10-09 00:04:39 +00:00
engine-flutter-autoroll
c077b8c61a Roll Flutter Engine from ea4a00f1c123 to 0e7344ae240d (4 revisions) (#156435)
ea4a00f1c1...0e7344ae24

2024-10-08 chinmaygarde@google.com [Impeller] libImpeller: Fix typo in public API. (flutter/engine#55750)
2024-10-08 chinmaygarde@google.com [Impeller] libImpeller: Allow wrapping external texture handles. (flutter/engine#55664)
2024-10-08 30870216+gaaclarke@users.noreply.github.com Added mutex to the pending gpu tasks deque. (flutter/engine#55748)
2024-10-08 skia-flutter-autoroll@skia.org Roll Skia from 857248fe0a9a to 8a2fe88d31e3 (7 revisions) (flutter/engine#55749)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@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-10-08 23:51:19 +00:00
Harry Terkelsen
0ed39374df [canvaskit] Fix incorrect clipping with Opacity scene layer (flutter/engine#55751)
Fixes opacity layer incorrectly clipping its children when there are complex transforms applied to them. Since the opacity saveLayer only applies to children which actually draw, it doesn't need to have tight bounds anyways.

Pre-requisite for re-enabling tests here: https://github.com/flutter/flutter/issues/110785

BEFORE:
![Screenshot 2024-10-08 at 11 00 14 AM](https://github.com/user-attachments/assets/cf4c6296-7730-4db6-96f6-e22f32e28d94)

AFTER:
![Screenshot 2024-10-08 at 11 06 22 AM](https://github.com/user-attachments/assets/6a680e2c-23d0-41e2-9de5-1c9667a785ab)

BEFORE:
![failing_opacity](https://github.com/user-attachments/assets/d8acf075-c92d-4f8a-aa1a-476f46f1c931)

AFTER:
![working_opacity](https://github.com/user-attachments/assets/3e589deb-d8b6-4466-9e19-95daff870bfb)

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-10-08 23:49:09 +00:00
Matan Lurey
173af3d95f Refactor multi-file build parsing into a single BuildPlan class. (flutter/engine#55720)
Closes https://github.com/flutter/flutter/issues/148444 (code de-duplicated).
Closes https://github.com/flutter/flutter/issues/150877 (`--build-strategy=local`).
Closes https://github.com/flutter/flutter/issues/150884 (`--build-strategy=remote`).

Replaces duplicate code across ~3 commands (query, test, build) with a class called `BuildPlan`, which encapsulates (a) concurrency, (b) build configuration, (c) RBE, (d) LTO, and (e) build strategy. I also moved all of the validation of the build plan into `build_plan_test`, which gives us better coverage at a lower cost (less things to think about in that suite of tests).

I know the diff looks scary, but 1K of the 1.4K is tests.

/cc @gaaclarke @flar
2024-10-08 23:45:20 +00:00
flutter-pub-roller-bot
f96d1618c4 Roll pub packages (#156440)
This PR was generated by `flutter update-packages --force-upgrade`.
2024-10-08 23:28:01 +00:00
gaaclarke
90cea20d09 fixes mask blurs on stoked gradient geometry (flutter/engine#55717)
fixes https://github.com/flutter/flutter/issues/155930

This starts taking into account the translation of the entity that is
snapshotted when performing the gaussian blur. I'm uncertain under what
conditions, but sometimes the snapshot logic would need this offset. The
linked issue and added tests demonstrate those cases.

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide] and the [C++,
Objective-C, Java style guides].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I added new tests to check the change I am making or feature I am
adding, or the PR is [test-exempt]. See [testing the engine] for
instructions on writing and running engine tests.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I signed the [CLA].
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[C++, Objective-C, Java style guides]:
https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
[testing the engine]:
https://github.com/flutter/flutter/wiki/Testing-the-engine
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
2024-10-08 15:20:50 -07:00
Jason Simmons
d8d3d6ac4b [Impeller] Do not scale the miter limit applied to stroked text (flutter/engine#55745)
Fixes https://github.com/flutter/flutter/issues/156224
2024-10-08 22:07:19 +00:00
flutter-pub-roller-bot
b9e71f7d12 Roll pub packages (#156284)
This PR was generated by `flutter update-packages --force-upgrade`.
2024-10-08 22:01:03 +00:00
AthulJoseph
a01daf5555 Added support to set primitive type (flutter/engine#55514)
Added a way to specify the PrimitiveType when encoding commands in the RenderPass.

This partially fixes the issue #142732
2024-10-08 21:57:10 +00:00
skia-flutter-autoroll
f15530a2e9 Roll Skia from 8a2fe88d31e3 to 701b6e4b4bc4 (1 revision) (flutter/engine#55752)
https://skia.googlesource.com/skia.git/+log/8a2fe88d31e3..701b6e4b4bc4

2024-10-08 robertphillips@google.com [ganesh] Disable stencilBuffers and MSAA for Protected GL Contexts

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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-08 21:51:23 +00:00
Kevin Moore
a80c3823f5 [tool] Update description of where to install platforms in XCode (#156432)
Fixes https://github.com/flutter/flutter/issues/156431
2024-10-08 21:34:22 +00:00
engine-flutter-autoroll
078077742b Roll Flutter Engine from 167a42e50fa2 to ea4a00f1c123 (1 revision) (#156433)
167a42e50f...ea4a00f1c1

2024-10-08 jonahwilliams@google.com [Impeller] remove heap allocation of most geometry objects. (flutter/engine#55677)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@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-10-08 21:32:24 +00:00
Chinmay Garde
50366d309d [Impeller] libImpeller: Fix typo in public API. (flutter/engine#55750)
cc @lyceel
2024-10-08 20:50:13 +00:00
Chinmay Garde
7af6ae84e6 [Impeller] libImpeller: Allow wrapping external texture handles. (flutter/engine#55664)
Fixes https://github.com/flutter/flutter/issues/156013
2024-10-08 20:33:26 +00:00