30884 Commits

Author SHA1 Message Date
Mouad Debbar
c1c38adec6
[web] Fix empty first frame in multiview mode (#172493)
The issue was caused by a stale `EngineFlutterView.physicalSize` that
happened to be `Size(0, 0)` making rendering a no-op in the first frame.

Fixes https://github.com/flutter/flutter/issues/172397
2025-07-25 15:41:54 +00:00
engine-flutter-autoroll
c91b374df8
Roll Fuchsia Linux SDK from a_55b5hqpRnigzuNC... to 4IewCwqcEm7r4QsXd... (#172742)
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
Please CC jsimmons@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
2025-07-25 03:35:13 +00:00
engine-flutter-autoroll
101eb2c39a
Roll Skia from 094ac350125f to 768ace3fd144 (18 revisions) (#172735)
https://skia.googlesource.com/skia.git/+log/094ac350125f..768ace3fd144

2025-07-24 syoussefi@google.com [vulkan] Enable use of
VK_EXT_rgba10x6_formats
2025-07-24 kjlubick@google.com Fix memcpy warning in Ganesh Tessellator
2025-07-24 michaelludwig@google.com [graphite] Remove float
discard->clear op fallback
2025-07-24 mike@reedtribe.org Helpers to return corners of SkRect
2025-07-24 bwils@google.com Revert "[vulkan] Re-enable use of
VK_EXT_rgba10x6_formats"
2025-07-24 mike@reedtribe.org remove unused field
2025-07-24 bwils@google.com Revert "Add defaults for path enums, declare
as 8-bit"
2025-07-24 bungeman@google.com [pdf] Avoid inverse in drawPaint
2025-07-24 michaelludwig@google.com [graphite] Add option to avoid clear
load op conversion
2025-07-24 syoussefi@google.com [vulkan] Re-enable use of
VK_EXT_rgba10x6_formats
2025-07-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from 7e2ecd4bfc93 to b7374531e4a2 (3 revisions)
2025-07-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE
from 1c245d908ff3 to f94510ab8d9e (5 revisions)
2025-07-24
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
SwiftShader from b347398f5e86 to a84d1801cf7b (1 revision)
2025-07-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia
Infra from 25c0effab214 to 2fdfa81e82dc (9 revisions)
2025-07-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn
from 6ac8346974d5 to b6b32cb6d1a1 (9 revisions)
2025-07-24 michaelludwig@google.com Reland "[graphite] Snap scissor
rects to 4px boundaries"
2025-07-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from 0b8bda098b9a to 7e2ecd4bfc93 (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 bwils@google.com,jsimmons@google.com,kjlubick@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
2025-07-25 01:15:37 +00:00
Siva
525fb219b6
Manual roll of Dart from 26dece893751 to 5ede85aff798 (#172731)
https://dart.googlesource.com/sdk.git/+log/26dece893751..5ede85aff798

2025-07-24
[dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com](mailto:dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com)
Version 3.10.0-28.0.dev
2025-07-24
[dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com](mailto:dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com)
Version 3.10.0-27.0.dev
2025-07-24
[dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com](mailto:dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com)
Version 3.10.0-26.0.dev
2025-07-24 23:36:05 +00:00
Matan Lurey
a738ae5c84
Bringup linux_web_engine_tests; failing 4+ times in a row (#172714)
See https://github.com/flutter/flutter/issues/172713.
2025-07-24 19:43:10 +00:00
Kostia Sokolovskyi
79d77a1387
Add missing deprecations to CupertinoDynamicColor. (#171160)
Closes https://github.com/flutter/flutter/issues/171059

### Description
- Adds missing deprecations to `CupertinoDynamicColor`
- Adds dart fixes for some of the deprecations

## 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.
- [ ] 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

---------

Co-authored-by: Kate Lovett <katelovett@google.com>
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2025-07-24 08:24:27 +00:00
engine-flutter-autoroll
0c43fe476c
Roll Dart SDK from a181fe571dc8 to 26dece893751 (2 revisions) (#172683)
https://dart.googlesource.com/sdk.git/+log/a181fe571dc8..26dece893751

2025-07-24 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-25.0.dev
2025-07-23 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-24.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
Please CC dart-vm-team@google.com,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://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
2025-07-24 06:15:14 +00:00
gaaclarke
25e4744237
licenses_cpp: implements extracting regions from matched text (#172655)
fixes https://github.com/flutter/flutter/issues/172570

Matches logic in old license checker:
f277865a8e/engine/src/flutter/tools/licenses/lib/main.dart (L458)

## 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
2025-07-24 00:54:13 +00:00
Jason Simmons
dd302cbe49
Roll Abseil and remove a workaround for a Fuchsia target that was unable to build Abseil (#172665)
Flutter was avoiding dependencies on Abseil's flat_hash_map library on
Fuchsia because it brought in a time zone library that required the
Fuchsia SDK. This PR rolls Abseil to a commit that fixes the path to the
Fuchsia SDK.
2025-07-24 00:02:09 +00:00
engine-flutter-autoroll
2505565964
Roll Skia from eea1c33fbe84 to 094ac350125f (29 revisions) (#172664)
https://skia.googlesource.com/skia.git/+log/eea1c33fbe84..094ac350125f

2025-07-23 michaelludwig@google.com Revert "[graphite] Fix draw/clip
contains priority"
2025-07-23 mike@reedtribe.org Make IsA and Convexity tracking match
SkPath
2025-07-23 mike@reedtribe.org Add defaults for path enums, declare as
8-bit
2025-07-23 nicolettep@google.com [graphite] Check support for
AHardwareBuffer VkFormat when deciding whether to import as external
format
2025-07-23 robertphillips@google.com Fix race condition in
lin_proPhoto_to_XYZ_D50's initialization
2025-07-23 jmbetancourt@google.com [skcapture] add initial plumbing for
getting SkCapture data from clients
2025-07-23 kjlubick@google.com Fix make_image_tag.sh
2025-07-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from 15642e374bb9 to 0b8bda098b9a (1 revision)
2025-07-23
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE
from 239763d96a4b to 1c245d908ff3 (11 revisions)
2025-07-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
SwiftShader from 084f9893520c to b347398f5e86 (1 revision)
2025-07-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia
Infra from a898e8056b2f to 25c0effab214 (12 revisions)
2025-07-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn
from 6492a9924110 to 6ac8346974d5 (12 revisions)
2025-07-23 michaelludwig@google.com [graphite] Visit proxies after
prepareResources
2025-07-22 michaelludwig@google.com [graphite] Remove resource memory
dump debugging code
2025-07-22 michaelludwig@google.com Revert "[graphite] Increase area
required for inner fill"
2025-07-22 kjlubick@google.com Update GN build of CanvasKit
2025-07-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from 0830f159cb89 to 15642e374bb9 (5 revisions)
2025-07-22 faijur.rahman@imagination.corp-partner.google.com Add DDK
version check
2025-07-22 michaelludwig@google.com [graphite] Guard clip/draw
intersections with precision check
2025-07-22 kjlubick@google.com Change tag of Docker images to be
git-[hash]
2025-07-22 mike@reedtribe.org use value_or if we don't check invert()
success
2025-07-22
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE
from faf1bb4b3e72 to 239763d96a4b (8 revisions)
2025-07-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from af70cb4dfd93 to 0830f159cb89 (4 revisions)
2025-07-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
SwiftShader from 65b2c4777e5f to 084f9893520c (3 revisions)
2025-07-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia
Infra from 4a7db687eea1 to a898e8056b2f (11 revisions)
2025-07-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn
from 2502261c4d1a to 6492a9924110 (20 revisions)
2025-07-22
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).

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 bwils@google.com,jsimmons@google.com,kjlubick@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
2025-07-23 23:55:05 +00:00
engine-flutter-autoroll
b6a4fda18b
Roll Dart SDK from a31774a3d049 to a181fe571dc8 (2 revisions) (#172667)
https://dart.googlesource.com/sdk.git/+log/a31774a3d049..a181fe571dc8

2025-07-23 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-23.0.dev
2025-07-23 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-22.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
Please CC dart-vm-team@google.com,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://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
2025-07-23 23:55:04 +00:00
Jason Simmons
8aeaf7247e
Update excluded_files to match the current output of the old license checker (#172670) 2025-07-23 22:33:53 +00:00
Siva
fa80cbcbdb
Manual Roll of Dart SDK from da9e0299c120 to a31774a3d049 (#172616)
https://dart.googlesource.com/sdk.git/+log/da9e0299c120..a31774a3d049

2025-07-22
[dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com](mailto:dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com)
Version 3.10.0-21.0.dev
2025-07-22
[dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com](mailto:dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com)
Version 3.10.0-20.0.dev
2025-07-22
[dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com](mailto:dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com)
Version 3.10.0-19.0.dev
2025-07-22
[dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com](mailto:dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com)
Version 3.10.0-18.0.dev
2025-07-21
[dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com](mailto:dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com)
Version 3.10.0-17.0.dev
2025-07-21
[dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com](mailto:dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com)
Version 3.10.0-16.0.dev
2025-07-23 18:02:59 +00:00
gaaclarke
1dc7352479
revert: Replaces legacy licenses check with licenses_cpp (#172568)
fixes https://github.com/flutter/flutter/issues/172567

There were 2 reasons for this:
1) the above listed issue where g3 wanted a specific long form license,
that needs to be investigated
1) autorollers are relying on the old tooling to autosubmit changes to
the license file

## 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
2025-07-23 17:21:09 +00:00
John "codefu" McDole
f277865a8e
fix: size-exp naming (#172647)
@jason-simmons found the reason the `-size-exp` doesn't build

luci build: https://ci.chromium.org/b/8708539853637018417
2025-07-23 16:56:43 +00:00
Jim Graham
3deedd23cd
[DisplayList] implement shadow bounds without relying on Skia utilities (#172572)
Right now DisplayList defers to Skia to compute the bounds of shadow
operations, but we really need to own this code now that we are doing
our own rendering so I ported it over and simplified it to just deal
with the cases we care about.

Eliminates a bullet item in
https://github.com/flutter/flutter/issues/161456
2025-07-23 15:20:31 +00:00
Robert Ancell
afba7d75b3
Remove GtkGLArea and render directly into GtkDrawingArea (#172343)
This simplifies the OpenGL/software case and allows us more control over
the buffering.
2025-07-23 02:04:50 +00:00
LongCatIsLooong
be9526fbaa
Revert #160653 Fix view removal process for AutofillContextAction.cancel (#172490)
Between #145681 (autofill save prompt shows up for password fields when
you dismiss the keyboard) and #172250 (calling `TextInput.hide` causes
the current active text field to lose its text) the latter seems to be
the worse bug. The framework `EditableText` implementation only calls
`TextInput.hide` when switching input controls, so #172250 typically
does not affect flutter text fields itself, but becomes a problem if the
app wishes to add UI (similar to the iOS down-arrow button that would
show up above the keyboard when you're filling out a form) to dismiss
the keyboard.

This reopens #145681. See
https://github.com/flutter/flutter/issues/145681#issuecomment-3098865633

@koji-1009 does reverting sound ok to you?

## Pre-launch Checklist

- [ ] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [ ] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [ ] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [ ] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] 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
2025-07-22 18:34:11 +00:00
gaaclarke
ee0cc6652b
Licenses cpp ignore whitespace (#172512)
2 big changes:
1) \s+ is assumed for any whitespace in the source matcher
1) trailing space is no longer captured in matched text

I didn't change any of the data files, so that can be done in a more
controlled pr.

## 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
2025-07-22 17:39:19 +00:00
nakanoh
404fb3f14f
fix: correct typo in analysis_options.yaml comment (disabeling -> disabling) (#170206)
This PR fixes a typo in the comment of `analysis_options.yaml`, changing
'disabeling' to 'disabling'. This is a simple typo fix in a comment that
improves code readability.

No issue is required as this is a trivial typo fix in a comment.

## 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].
- [x] I signed the [CLA].
2025-07-22 14:59:28 +00:00
engine-flutter-autoroll
3ceb2e0a48
Roll Skia from 4aba494b8108 to eea1c33fbe84 (11 revisions) (#172515)
https://skia.googlesource.com/skia.git/+log/4aba494b8108..eea1c33fbe84

2025-07-21 kjlubick@google.com Remove IWYU build logic from Bazel
2025-07-21
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-21 michaelludwig@google.com [graphite] Tighter bounds for
stroked [r]rects
2025-07-21 michaelludwig@google.com [graphite] Check for scissor before
converting to clear/discard op
2025-07-21 michaelludwig@google.com [graphite] Fix paint_depends_on_dst
logic
2025-07-21 kjlubick@google.com Remove old Bazel docker files
2025-07-21 michaelludwig@google.com [graphite] Fix draw/clip contains
priority
2025-07-21
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-21 michaelludwig@google.com [graphite] Don't allow clip/draw
intersections to produce subpixel draws
2025-07-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from c8bd17b0ce68 to af70cb4dfd93 (3 revisions)
2025-07-21 lukasza@chromium.org [rust png] Verify `IHDR` dimensions
*before* constructing encoded info.

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 bwils@google.com,jsimmons@google.com,kjlubick@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
2025-07-22 02:25:37 +00:00
gaaclarke
f63b38f275
Replaces legacy licenses check with licenses_cpp (#172486)
Successful run example:
https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20linux_license/35497/overview

The output of licenses_cpp was verified by comparing it's output with
`//flutter/tools/license_file_compare`. All copyrights from the old tool
exist in the new tool.

major differences:
1) runtime - 30s locally
1) macos compatibility
1) there are no more checked-in goldens, instead the log from the run is
used to audit

design doc:
https://docs.google.com/document/d/1TldHod_Ske3llv26l4eIyt64bg8TeDc7Jk7u9L7gnvM/edit?tab=t.0#heading=h.17wg41voij6q

work left:
1) delete old license checker
1) clean up the handling of licenses that exist across multiple comments
(boost license)
1) clean up the data directory so that whitespace between words is
ignored. (remove `\s+` usage)

## 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
2025-07-22 00:43:09 +00:00
Robert Ancell
407c051ec9
Render Flutter in its own EGL context (#172330)
This allows Flutter to render without any GTK windows present (required
for multi-window)
2025-07-21 21:59:37 +00:00
p1318k
b2a6cdb520
fix: macOS Mojave Crash on Flutter Desktop Startup (#172282)
<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->

Overview
This PR fixes a crash that occurs when launching Flutter desktop
applications on macOS Mojave (10.14).

Changes Made
• Added conditional checks to ensure the code using the
`hasUnifiedMemory` API only runs on macOS 10.15 or later, since
`hasUnifiedMemory` is only supported starting from macOS 10.15.
• Ensured that the fix maintains compatibility with newer macOS versions
without affecting existing functionality.

Testing
• Verified that Flutter desktop apps launch and run normally on both
macOS Mojave and later macOS versions.
• Confirmed no side effects by running default Flutter desktop sample
apps.

Additional Notes
•
https://developer.apple.com/documentation/metal/mtldevice/hasunifiedmemory

This PR aims to improve the stability of Flutter desktop applications on
macOS Mojave.
Thank you for your review and consideration.

## 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

Co-authored-by: Kim Ki Cheol <kim.kicheol@sk.com>
2025-07-21 18:18:26 +00:00
engine-flutter-autoroll
1b293a8814
Roll Skia from 9587301e33bc to 4aba494b8108 (41 revisions) (#172471)
Roll Skia from 9587301e33bc to 4aba494b8108 (41 revisions)

https://skia.googlesource.com/skia.git/+log/9587301e33bc..4aba494b8108

2025-07-21 mike@reedtribe.org Change matrix::invert to return optional
2025-07-21 kjlubick@google.com Manually Roll Dawn from 81e90f7fd7f3 to
f286693b70bd
2025-07-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE
from 6a04a50f98ca to faf1bb4b3e72 (3 revisions)
2025-07-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia
Infra from 382fe7d5f3d0 to 4a7db687eea1 (6 revisions)
2025-07-21
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from 827e0dba01ad to c8bd17b0ce68 (3 revisions)
2025-07-21 msta@google.com Fix missing include for atoi call
2025-07-20 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from 62162b8f056a to 827e0dba01ad (1 revision)
2025-07-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from e6d6f02f4e9a to 62162b8f056a (3 revisions)
2025-07-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from 5b38fae98a66 to e6d6f02f4e9a (7 revisions)
2025-07-18
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-18 mike@reedtribe.org add gm to excercise matrix-order
correctness in scalercontext
2025-07-18 vigneshv@google.com SkCrabbyAvifCodec: Compute profile for PQ
and HLG images
2025-07-18 mike@reedtribe.org Return computed matrices by value,
allowing const and temp values
2025-07-18 michaelludwig@google.com [graphite] Unify clear/discard load
op handling inside drawGeometry
2025-07-18 bungeman@google.com [pdf] Fix zero extended glyph to code
point maps
2025-07-18 mike@reedtribe.org Use optional version of
SkPath::ReadFromMemory
2025-07-18 kjlubick@google.com Fix permissions on Docker build scripts
2025-07-18
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from ff48a069ed93 to 5b38fae98a66 (6 revisions)
2025-07-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE
from ed15cbd416d8 to 6a04a50f98ca (6 revisions)
2025-07-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia
Infra from 1198e6ff0d0c to 382fe7d5f3d0 (6 revisions)
2025-07-18
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-18
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-17 thomsmit@google.com [graphite] Update trace to new DenseBiMap
2025-07-17
recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com
Roll recipe dependencies (trivial).
2025-07-17 kjlubick@google.com Build debugger/jsfiddle/shaders directly
with Docker
2025-07-17 jlavrova@google.com Update dependency on abseil (for Dawn)
2025-07-17 thomsmit@google.com [graphite] Dynamic Samplers
2025-07-17 vigneshv@google.com SkCodec: Support RGBA_1010102 in
initializeColorXform
2025-07-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from 286b9f0629a4 to ff48a069ed93 (2 revisions)
2025-07-17 kjlubick@google.com Fix canvaskit build after update to
emscripten 4.0.7
2025-07-17 mike@reedtribe.org Use pathbuilder or path-factories
2025-07-17 thomsmit@google.com Allow fallback to SWPathRenderer for high
verb counts
2025-07-17 michaelludwig@google.com Revert "[graphite] Snap scissor
rects to 4px boundaries"
2025-07-17 kjlubick@google.com Remove code guarded by
SK_DISABLE_LEGACY_NONRECORDER_IMAGE_APIS
2025-07-17 robertphillips@google.com [graphite] Add a stub for Android's
RuntimeEffectManager
2025-07-17 michaelludwig@google.com [graphite] Increase area required
for inner fill
2025-07-17 kjlubick@google.com Remove copy-pasta from make_image_tag.sh
2025-07-17 michaelludwig@google.com [graphite] Only add RenderStep
coverage SkSL if step reports coverage
2025-07-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE
from 890b5d8fa298 to ed15cbd416d8 (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 bwils@google.com,jsimmons@google.com,kjlubick@google.com on
the revert to ensure that a human
...
2025-07-21 17:57:12 +00:00
Rusino
70cdc0c933
WebParagraph initial commit (#167559)
This is the current (initial) state of WebParagraph project which is an
implementation of SkParagraph
on top of TextCluster
(https://github.com/fserb/canvas2D/blob/master/spec/enhanced-textmetrics.md).

Multilined text, mixed LTR/RTL text supported.

---------

Co-authored-by: Mouad Debbar <mdebbar@google.com>
2025-07-21 16:09:22 +00:00
engine-flutter-autoroll
73f5ee844e
Roll Dart SDK from a821b47e7a4d to da9e0299c120 (1 revision) (#172457)
https://dart.googlesource.com/sdk.git/+log/a821b47e7a4d..da9e0299c120

2025-07-21 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-15.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
Please CC dart-vm-team@google.com,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://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
2025-07-21 14:54:33 +00:00
Kaylee Lubick
140b67fbb2
[skia] Update call to SkImage::makeSubset (#172456)
In https://skia-review.googlesource.com/c/skia/+/1021216, Skia removed
some legacy APIs. There was one usage still in Flutter and this fixes
that.

## 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.
- [ ] 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
2025-07-21 14:49:14 +00:00
engine-flutter-autoroll
1cd101d578
Roll Fuchsia Linux SDK from 8MyOdk7FEK-MqkzIF... to a_55b5hqpRnigzuNC... (#172439)
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
Please CC jsimmons@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
2025-07-21 02:06:10 +00:00
engine-flutter-autoroll
fa5d6aac56
Roll Fuchsia Linux SDK from 6agRTm-nf09sDmfQG... to 8MyOdk7FEK-MqkzIF... (#172420)
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
Please CC jsimmons@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
2025-07-20 00:03:36 +00:00
engine-flutter-autoroll
4b5a936761
Roll Dart SDK from ca7224f7dfd7 to a821b47e7a4d (1 revision) (#172407)
https://dart.googlesource.com/sdk.git/+log/ca7224f7dfd7..a821b47e7a4d

2025-07-19 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-14.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
Please CC dart-vm-team@google.com,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://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
2025-07-19 08:19:39 +00:00
engine-flutter-autoroll
9eb13ff1d4
Roll Dart SDK from 9982ab49440a to ca7224f7dfd7 (2 revisions) (#172401)
https://dart.googlesource.com/sdk.git/+log/9982ab49440a..ca7224f7dfd7

2025-07-19 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-13.0.dev
2025-07-18 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-12.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
Please CC dart-vm-team@google.com,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://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
2025-07-19 03:10:33 +00:00
John "codefu" McDole
107997effa
fix: produce pom/jar files with content_hash (#172378)
fixes: #172259

The contents of the files (pom, .jar) produced by android also reference
the artifacts version number (which includes the git-hash). The flutter
recipies are just dumb re-uploaders for the content hash at the moment.
In order to change the contents, we can just update some GN files. This
has some local duplication of files, but is acceptible for now.

I've also added the content-hash as a string in the .so file and its
printed out next to the hash.

"Why is the folder name the git-hash?"

The recipies have a quirk - the logs will have you believe they upload
individual files such that "gsutil cp a.jar b.jar" would produce
"b.jar"; but that's not what's going on. The recipies recurisively
upload from the root of the temporary folder the files are copied to. At
the moment, the "Ensure" step of builder.py updates the URL path, so it
will handling uploading to the correct path, but not the file or its
contents (hence this change).

Plan for the future: at some point we can stop producing git-ref hashes.

E.g.
git-hash: dfd7318efc71019bce1665bc41c0e8c21d1344f9 content-hash:
3bfa6013b7be2b0bbadc22a9c3495d4efa46aba7

```shell
zip_archives
└── download.flutter.io
    └── io
        └── flutter
            ├── arm64_v8a_debug
            │   └── 1.0.0-dfd7318efc71019bce1665bc41c0e8c21d1344f9
            │       ├── arm64_v8a_debug-1.0.0-3bfa6013b7be2b0bbadc22a9c3495d4efa46aba7.jar
            │       ├── arm64_v8a_debug-1.0.0-3bfa6013b7be2b0bbadc22a9c3495d4efa46aba7.pom
            │       ├── arm64_v8a_debug-1.0.0-dfd7318efc71019bce1665bc41c0e8c21d1344f9.jar
            │       └── arm64_v8a_debug-1.0.0-dfd7318efc71019bce1665bc41c0e8c21d1344f9.pom
            └── flutter_embedding_debug
                └── 1.0.0-dfd7318efc71019bce1665bc41c0e8c21d1344f9
                    ├── flutter_embedding_debug-1.0.0-3bfa6013b7be2b0bbadc22a9c3495d4efa46aba7-sources.jar
                    ├── flutter_embedding_debug-1.0.0-3bfa6013b7be2b0bbadc22a9c3495d4efa46aba7.jar
                    ├── flutter_embedding_debug-1.0.0-3bfa6013b7be2b0bbadc22a9c3495d4efa46aba7.pom
                    ├── flutter_embedding_debug-1.0.0-dfd7318efc71019bce1665bc41c0e8c21d1344f9-sources.jar
                    ├── flutter_embedding_debug-1.0.0-dfd7318efc71019bce1665bc41c0e8c21d1344f9.jar
                    └── flutter_embedding_debug-1.0.0-dfd7318efc71019bce1665bc41c0e8c21d1344f9.pom
```
2025-07-19 01:35:59 +00:00
engine-flutter-autoroll
2de480caac
Roll Dart SDK from fe2232bd5b9f to 9982ab49440a (2 revisions) (#172393)
https://dart.googlesource.com/sdk.git/+log/fe2232bd5b9f..9982ab49440a

2025-07-18 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-11.0.dev
2025-07-18 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-10.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
Please CC dart-vm-team@google.com,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://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
2025-07-18 21:57:07 +00:00
engine-flutter-autoroll
ff45dd43b9
Roll Fuchsia Linux SDK from HXdm7P0a4ZJVm_TE-... to 6agRTm-nf09sDmfQG... (#172392)
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
Please CC jsimmons@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
2025-07-18 21:55:08 +00:00
engine-flutter-autoroll
3dc85bf4c3
Roll Dart SDK from 7fcc5f48c335 to fe2232bd5b9f (2 revisions) (#172339)
https://dart.googlesource.com/sdk.git/+log/7fcc5f48c335..fe2232bd5b9f

2025-07-18 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-9.0.dev
2025-07-17 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-8.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
Please CC dart-vm-team@google.com,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://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
2025-07-18 03:40:26 +00:00
Robert Ancell
a5c93c90a1
Refactor handling of frame waiting. (#172277)
Compositing is now done on the Flutter rendering thread and we block the
GTK rendering until the frame is generated. This no longer requires the
task runner to be involved.
2025-07-18 00:55:40 +00:00
Matan Lurey
05845e70b4
Use UTC timezone for stamp_command_test to avoid local TZ flakes (#172319)
Closes https://github.com/flutter/flutter/issues/172318.
2025-07-17 22:59:39 +00:00
Harry Terkelsen
b2d4210b37
[web] Add tests for unified platform view embedding behavior (#172313)
Adds tests for expected behavior of platform view embedding for the
unified renderer frontend.

We currently skip the tests for the renderer which doesn't yet comport
to the expected unified behavior. See [this
doc](https://docs.google.com/document/d/1-BYZO_oAOJkS_spmELqCmnPQIEUibT3Sj2GhIL3luow/edit?tab=t.0)
for an overview of the different behaviors and the expected behavior of
the unified platform view embedder.

This adds tests for https://github.com/flutter/flutter/issues/172308, a
follow-up PR will unify the platform view embedder behavior and unskip
the tests for the misbehaving renderer.

## 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
2025-07-17 21:47:47 +00:00
Ahmed Mohamed Sameh
de0efff82a
Fix Size.isEmpty description (#172021)
Fixes #172004
2025-07-17 20:30:08 +00:00
Jason Simmons
4ce15110c3
[Impeller] Add missing SetPipeline call for the vertices uber pipeline in AtlasContents (#172273)
Fixes https://github.com/flutter/flutter/issues/171719
2025-07-17 17:51:04 +00:00
engine-flutter-autoroll
8703fc33df
Roll Dart SDK from 486f9c0663bc to 7fcc5f48c335 (1 revision) (#172279)
https://dart.googlesource.com/sdk.git/+log/486f9c0663bc..7fcc5f48c335

2025-07-17 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-7.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
Please CC dart-vm-team@google.com,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://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
2025-07-17 17:51:04 +00:00
engine-flutter-autoroll
86f8527025
Roll Skia from 3673a1f26a63 to 9587301e33bc (3 revisions) (#172281)
https://skia.googlesource.com/skia.git/+log/3673a1f26a63..9587301e33bc

2025-07-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia
Infra from 2f5d66e2c14d to 1198e6ff0d0c (6 revisions)
2025-07-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll
vulkan-deps from d28110d62aa4 to 286b9f0629a4 (5 revisions)
2025-07-17 bungeman@google.com [pdf] Don't subset image if subset is
bigger

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,kjlubick@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
2025-07-17 17:47:54 +00:00
Jason Simmons
2309aa3a9d
Fix a race in FlutterEngineTest.CanLogToStdout (#172025)
FlutterEngineTest.CanLogToStdout has been flaking on CI. This fixes a
potential cause of the flakes that could happen if other strings are
logged by the Dart VM after the print statement run by the test.
2025-07-17 17:46:31 +00:00
engine-flutter-autoroll
8d3888c353
Roll Fuchsia Linux SDK from JRFUXSNXExcfjVYvA... to HXdm7P0a4ZJVm_TE-... (#172268)
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
Please CC jsimmons@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
2025-07-17 01:34:26 +00:00
engine-flutter-autoroll
26070a3e68
Roll Dart SDK from d71df90177e4 to 486f9c0663bc (1 revision) (#172269)
https://dart.googlesource.com/sdk.git/+log/d71df90177e4..486f9c0663bc

2025-07-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com
Version 3.10.0-6.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
Please CC dart-vm-team@google.com,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://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
2025-07-17 01:34:26 +00:00
engine-flutter-autoroll
aa4bdc925b
Roll Skia from 3ad1aace3e02 to 5b4afa58289a (3 revisions) (#172264)
https://skia.googlesource.com/skia.git/+log/3ad1aace3e02..5b4afa58289a

2025-07-16 jlavrova@google.com Fixing chrome roll
2025-07-16 kjlubick@google.com Add script to tag docker images built on
Louhi
2025-07-16 robertphillips@google.com [graphite] Move Android-specific
PaintOptions into AndroidPaintOptions.cpp

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,kjlubick@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
2025-07-17 00:48:30 +00:00
Robert Ancell
e983e59620
Perform OpenGL compositing in the Flutter thread and write to a framebuffer. (#172090)
This framebuffer then gets copied into GTK during the draw calls. This
disconnects the Flutter rendering from the GTK rendering which will
allow us to render Flutter using EGL directly and support rendering
without any views present (required for multi-window).

Framebuffers are shared between the Flutter and GTK OpenGL contexts
using EGLImage. When running under X11 GTK uses GLX and this is not
possible - instead the buffers are copied via the CPU in this case.
2025-07-17 00:09:53 +00:00
gaaclarke
c0f1279e77
Licenses cpp 716 (#172261)
Adds more data to licenses_cpp. There are no missing copyrights after
this PR.

There is one workaround for the boost license since it is split across
multiple comments, which isn't yet supported.

## 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
2025-07-17 00:00:31 +00:00
John "codefu" McDole
318a228047
Remove emoji from ci.yaml, because we still live with CP1252 for some silly reason (#172256)
WARNING: codefu's snark level is approaching maximums.
2025-07-16 22:42:28 +00:00