29592 Commits

Author SHA1 Message Date
Jonah Williams
5c7d9d01ba
[Impeller] fix device buffer nullptr on Intel macOS. (#160645)
Fixes https://github.com/flutter/flutter/issues/159278

macOS intel devices uses MTLResourceStorageModeManaged which is still
host visible
2024-12-22 18:11:21 +00:00
Jackson Gardner
cb40d94055
Remove dependency on web_tests/artifacts. (#160700)
We no longer pass `web_tests/artifacts` via CAS, so we need to remove it
as a dependency.
2024-12-22 03:20:53 +00:00
Jonah Williams
5e8b6247d2
[Impeller] workarounds for slow Adreno primitive restart performance. (#160683)
Fixes https://github.com/flutter/flutter/issues/160593

Primitive Restart cannot be used on some (All?) Adreno's because it
causes a dramatic performance regression. Opt out and use the GLES
strategy. Refactors the batch submit command buffer capability into
workarounds_vk
2024-12-22 02:35:52 +00:00
Yegor
c3fcb25878
[tech debt] delete unused framework-engine test scripts (#160698)
Fixes https://github.com/flutter/flutter/issues/160405
2024-12-22 02:28:18 +00:00
Michael Goderbauer
d9e5a5c21d
Update README.md (#160677) 2024-12-21 05:21:49 +00:00
Christopher Fujino
6d537a7c04
deprecate engine ci yaml roller (#160682)
This is no longer working after the monorepo merge:
https://github.com/flutter/flutter/issues/160670.

That issue tracks instead teaching the `Linux ci_yaml flutter roller` to
roll both sets of configurations.
2024-12-21 05:19:58 +00:00
Jonah Williams
a17c647ccc
[Impeller] move barrier setting out of render pass builder. (#160693)
Refactoring to make sure that we're always tracking the correct layout
state.
2024-12-21 05:15:21 +00:00
Alexander Aprelev
4431c09f55
Roll to dart 3.7.0-267.0.dev (#160680)
Changes since last roll:
```
fc5db8ea927 Version 3.7.0-267.0.dev
601e85438f3 [tests] Cascade tests for static member and constructor enum shorthands.
4093bdaf5a8 [vm] Change try-catch IL representation.
b3ab7e274c5 Elements. Migrate lib/src/generated/ffi_verifier.dart
6e5fb8baa16 [dart2wasm] Add support for dynamic module options.
7bea7d185d4 [dart2wasm] Add indirection for struct initialization.
```
2024-12-21 04:16:29 +00:00
Jonah Williams
2d811593db
[Impeller] Fix GLES SurfaceTexture rendering. (#160634)
Fixes https://github.com/flutter/flutter/issues/160480

Both The Impeller and Skia variant of the OES texture rendering use the
same shared code path, so the Impeller code must match the weird 1x1
texture behavior of Skia. In addition, we have to add back the
TiledTextureContents support, since we need to render a texture with a
transform. I had previously tested this but neglected to force the
SurfaceTexture path, so I only tested the ImageReader path which does
not use a transform.
2024-12-20 19:44:19 +00:00
Jonah Williams
cec8f1035e
[Impeller] remove unused BliPass::EncodeCommands arg and cleanup. (#160623)
The TransientsAllocator argument to BlitPass::EncodeCommands is
completely unused. Delete it (and add a missing IFDEF around the GLES
debug labels.).
2024-12-20 18:02:17 +00:00
Alexander Aprelev
895f0e291a
Roll dart sdk to 3.7.0-266.0.dev (#160624)
Changes since last roll:

```
85569ab5b39 Version 3.7.0-266.0.dev
8c1fa6d05b8 [tfa,aot,dart2wasm] Allow tree-shaking of extension type members independently of their tear-offs
5078a20a6d5 [cfe] Use OffsetMap for BodyBuilder.finishFields
a6b0fced839 [tfa,aot,dart2wasm] Retain libraries which only have extensions and extension types
4bcb4b10443 (tag: 3.7.0-265.0.dev) Version 3.7.0-265.0.dev
982b9fad444 [vm] Turn on entry point checking in JIT mode.
04530d578ff Roll dart_style 3.0.1 into the SDK.
c2abea31557 [deps] Roll dart-lang/native
3b056e1d500 [dart2wasm] Fix deferred loading tests on optimized configs.
ca668b701c3 (tag: 3.7.0-264.0.dev) Version 3.7.0-264.0.dev
54af9b3a39a (tag: 3.7.0-263.0.dev) Version 3.7.0-263.0.dev
72acd9d0ff3 [dart:svg] Add value->newLength parameter name change to templates
57c4da6911d Make Driver.instrumentationService private and final
f934e392f2d analyzer: Remove unnecessary Driver.httpServer
c5c3544b71f Fix Fuchsia build error.
2f857baba7e [dart2js] Make  an  check.
b3e7e027380 (tag: 3.7.0-262.0.dev) Version 3.7.0-262.0.dev
08252fc9e91 [dartdev] Use VmInteropHandler for invoking sub commands
96c4e4c81f8 [dart2wasm] Use field type instead of global type for static field type.
e3e7ca846a8 [gardening] Fix service/uri_mappings_lookup_test.
580107f8474 Migrate generic_type_alias.test
0a5a8f17af8 [vm] Remove BaseIsolate as it serves no purposes anymore.
9820487a3c4 [analyzer] Support enclosingFragments that are local variables
dbf60082974 DAS: Support monospaced text (eg code snippets) in generated doc comments
59499d362a2 [dart2wasm] Add support for declaring functions as module elements.
a0e1bce4b27 (tag: 3.7.0-261.0.dev) Version 3.7.0-261.0.dev
96fbc264ca1 [dart2wasm] Add indirection for dispatch table calls.
d261ded4c72 Bump tools to febccb92d228e678196aa90c109c708ed7ad6ea8
54d62b478d8 [analysis_server] Move Type Hierarchy off ElementLocation to its own internal uri/name encoding
b67f61a66c3 [tests] Additional tests for ?? with enum shorthands.
e1be04c4704 Implement element and fragment for generic function types
a9c3991a7a6 [analysis_server] Migrate LSP Find References to new element model
11904ed3871 [analyzer] Add LinterContext.currentUnit and use it for content in eol_at_end_of_file
38bce3f507d Elements. Migrate test/generated/simple_resolver_test.dart
34cf29701be Elements. Migrate test/src/dart/analysis/search_test.dart
e70a91d8e38 [analyzer/linter] Simplify implementation of rule State
ee5c4b00840 Roll BoringSSL from 57f525e425a9 to ee0c13ad1808 (22 revisions)
42f0e9aa15b analyzer: Report bad type arg on implicit call
8cc449ac8c1 [dart2wasm] Add utils for pragma reading and updating.
04d70b9fb40 analyzer: Make ResolutionVisitor._libraryElement final
d0f34d918f2 [dynamic_modules] Fix multiple_classes/dynamic_interfaces.yaml for vm.
3fba5fb4633 DAS: Seal TypeDecl for simpler switches
946f3287b46 [dart2wasm] Clean up some dead or unnecessary code.
231b463e8fc Roll Fuchsia SDK from 26.20241210.5.1 to 26.20241211.4.1
4e4fec1830b DAS: Correct some broken comment references
69fef4b123c Elements. Use impl types in a few places to avoid casts.
```
2024-12-20 17:38:31 +00:00
Jim Graham
a513498487
[DisplayList] Migrate DlVertices onto Impeller/DisplayList geometry classes (#160633)
DlVertices was already half migrated onto the DL geometry classes, this
completes the conversion.
2024-12-20 07:01:52 +00:00
Robert Ancell
dd058ffa5b
Remove all remaining use of mock engine (#160635)
Test consistency achieved.
2024-12-20 03:48:39 +00:00
Jonah Williams
8ad15cd81e
[monorepo] mark local engine builds as bringup. (#160627)
These tests are slightly flakey due to the macos cache issue. These
aren't actually tests, instead the prepopulate an RBE cache - so the
failure shouldn't close the tree, because cold caches isn't a failure
state (its just unfortunate).
2024-12-19 23:52:54 +00:00
Jackson Gardner
d363fdc31b
Split build and test builders for web engine (#160550)
This splits the web engine into a build phase and a test phase. This
requires a few changes:
* Modify the `generate_builder_json.dart` command to produce two
separate json builder files, `linux_web_engine_build.json` and
`linux_web_engine_test.json`. The former is left as the existing builder
with `release_build: true` (which will run in the merge queue) and the
latter is added as a new builder that runs in the second CI phase.
* Change the `copy_artifacts_step.dart` to pull built artifacts from the
GCS bucket when on LUCI, instead of relying on the CAS bucket. This is
necessary to do the tests separately from the build.
* Move the `felt test --copy-artifacts` command from the build steps to
the test steps, since the test steps themselves need to pull from GCS
instead of relying on the artifacts being populated by CAS.
2024-12-19 22:58:29 +00:00
Michael Goderbauer
8e0993eda8
Auto-format Dart code in engine (#160576)
This auto-formats all *.dart files in the `engine` subdirectory and
enforces that these files stay formatted with a presubmit check.
2024-12-19 17:13:07 +00:00
Matan Lurey
ba01bab4b8
Change CRLF line endings to LF to match the .gitattributes expectations. (#160557)
Closes https://github.com/flutter/flutter/issues/160529.
2024-12-19 15:03:06 +00:00
Yegor
b79ee9282c
[tech debt] remove web engine windows build (#160573)
It takes 30 minutes while all other bots are done in 10-20 minutes. The
old Windows build used to test in IE11 and old Edge. Since we stopped
testing on those we switched to Chromium, but that doesn't provide any
extra signal in addition to what we get from Linux Chromium already.
2024-12-19 06:56:38 +00:00
John McDole
f0bf495594
Trigger Build Part Deux (#160481)
Hello, Monorepo Part Deux - after adding commit to datastore.
2024-12-18 20:18:06 +00:00
John McDole
721b47e7e6 Merge flutter/engine into framework
Adds files from flutter/flaux which contain modifications for the engine
structure. The history for engine/ has been edited. Please see
flutter/engine for the original PRs.
2024-12-17 14:00:52 -08:00
skia-flutter-autoroll
2a17b75443 Roll Dart SDK from a74650e32880 to 37bbc285d8d2 (1 revision) (flutter/engine#57244)
https://dart.googlesource.com/sdk.git/+log/a74650e32880..37bbc285d8d2

2024-12-17 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-260.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 on the revert to ensure that a human
is aware of the problem.

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

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

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-12-17 18:32:05 +00:00
Hannes Winkler
7f8da94c21 embedder: fix bit-order in software pixel format description (flutter/engine#57156)
The order of the components for packed software pixel formats is incorrectly documented as being the order in the native type, least-significant-bit first. In reality it's the other way around. For example, for `RGB565`, the `R` is the 5 most significant bits in the 2-byte pixel value, rather than the least significant bits. The test even verify it is that way:

https://github.com/flutter/engine/blob/main/shell/platform/embedder/tests/embedder_unittests.cc#L2782-L2785

I assume noone used the software pixel formats until @sodiboo did, that's why it's gone unnoticed for so long.

Also contains some other minor documentation improvements.

- Issue: https://github.com/flutter/flutter/issues/160149

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-12-17 18:09:06 +00:00
Yegor
fe7d6f3917 [monorepo] remove Linux Web Framework tests (flutter/engine#57234)
The motivation is described in https://github.com/flutter/flutter/issues/160405. This is just one step towards cleaning everything up. More PRs to follow.
2024-12-17 17:53:16 +00:00
skia-flutter-autoroll
7db982f38d Roll Skia from dca47129cf2e to f784f78a5669 (3 revisions) (flutter/engine#57242)
https://skia.googlesource.com/skia.git/+log/dca47129cf2e..f784f78a5669

2024-12-17 fmalita@google.com [svg writer] Add support for radial and 2pt conical gradients
2024-12-17 fmalita@google.com [svg writer] Clean up addShaderResources
2024-12-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 8d4040d12fd2 to dbec774c7f68 (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 egdaniel@google.com,jacksongardner@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
2024-12-17 17:24:01 +00:00
Mouad Debbar
d2a5b9dcb1 [web] Reland: (Add crossOrigin property to <img> tag used for decoding)++ (flutter/engine#57228)
Relands https://github.com/flutter/engine/pull/54961 with a few more changes and tests.

Fixes https://github.com/flutter/flutter/issues/160127
2024-12-17 15:35:17 +00:00
skia-flutter-autoroll
9acfa539f8 Roll Dart SDK from 58fb2704f28a to a74650e32880 (1 revision) (flutter/engine#57240)
https://dart.googlesource.com/sdk.git/+log/58fb2704f28a..a74650e32880

2024-12-17 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-259.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 on the revert to ensure that a human
is aware of the problem.

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

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

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-12-17 13:59:35 +00:00
skia-flutter-autoroll
891e5c6f20 Roll Dart SDK from 930f66fab234 to 58fb2704f28a (1 revision) (flutter/engine#57239)
https://dart.googlesource.com/sdk.git/+log/930f66fab234..58fb2704f28a

2024-12-17 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-258.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 on the revert to ensure that a human
is aware of the problem.

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

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

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-12-17 09:43:24 +00:00
skia-flutter-autoroll
d0293d328c Roll Skia from 2422a3fc829a to 804042d75299 (1 revision) (flutter/engine#57238)
https://skia.googlesource.com/skia.git/+log/2422a3fc829a..804042d75299

2024-12-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 43322002e471 to 47e0bdae10c9 (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 egdaniel@google.com,jonahwilliams@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
2024-12-17 07:29:17 +00:00
skia-flutter-autoroll
9bdbf77fc4 Roll Dart SDK from 7ed58b3c462a to 930f66fab234 (1 revision) (flutter/engine#57235)
https://dart.googlesource.com/sdk.git/+log/7ed58b3c462a..930f66fab234

2024-12-17 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-257.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,jonahwilliams@google.com on the revert to ensure that a human
is aware of the problem.

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

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

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-12-17 05:24:23 +00:00
skia-flutter-autoroll
ea85c9e222 Roll Dart SDK from 4bfbad776c1a to 7ed58b3c462a (1 revision) (flutter/engine#57230)
https://dart.googlesource.com/sdk.git/+log/4bfbad776c1a..7ed58b3c462a

2024-12-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-256.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,jonahwilliams@google.com on the revert to ensure that a human
is aware of the problem.

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

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

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-12-17 01:15:16 +00:00
Michael Goderbauer
d00bfbb87a Pre-format licenses script (flutter/engine#57219)
The license script has load-baring formatting: Changing its format makes signature checks fail. To ensure the formatting change goes in smoothly later this week I am taking it off the critical path by pre-formatting it. 

The script itself is fairly stable, so I am not expecting any changes to it between now and when we actually enforce formatting.

Edit: The issue that surfaced with `ci/licenses_golden/licenses_dart` is another reason to take this off the critical path of enforcing formatting.
2024-12-17 00:19:17 +00:00
Michael Goderbauer
93d08f2c1a Properly report dart format errors (flutter/engine#57206)
`dart format` can fail (e.g. if a file contains invalid dart code). Previously, those failures were swallowed. This change adds logic to properly print those failures to the terminal.
2024-12-16 23:36:47 +00:00
skia-flutter-autoroll
220114f83f Roll Skia from 7fc6934b2034 to 2c5159518cf2 (1 revision) (flutter/engine#57229)
https://skia.googlesource.com/skia.git/+log/7fc6934b2034..2c5159518cf2

2024-12-16 fmalita@google.com [viewer] Add support for animated GIF, WEBP

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 egdaniel@google.com,jonahwilliams@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
2024-12-16 23:17:09 +00:00
skia-flutter-autoroll
fb1948d11e Roll Skia from 8054b098b5cd to 7fc6934b2034 (14 revisions) (flutter/engine#57227)
https://skia.googlesource.com/skia.git/+log/8054b098b5cd..7fc6934b2034

2024-12-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll skcms from b2e692629c1f to 03700ab28aad (1 revision)
2024-12-16 jvanverth@google.com [graphite] Remove deprecated DisableCachedGlyphUploads ContextOption.
2024-12-16 kjlubick@google.com Remove unnecessary const qualifiers from function definitions
2024-12-16 jlavrova@google.com SkFontMgr_Android_ndk refactoring
2024-12-16 kjlubick@google.com Remove old, empty SkJpegInfo files
2024-12-16 borenet@google.com Add jobs for new Win11 GTX1660 machines
2024-12-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from c75bd915ec7d to 00d9ef8f182c (12 revisions)
2024-12-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from ae148686458b to 296cdf58b6ec (1 revision)
2024-12-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 9513e7cc4063 to 43322002e471 (12 revisions)
2024-12-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from b8306de17c9a to ad54e957a812 (16 revisions)
2024-12-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from c0fe4d40475b to 23b93c7cfe27 (1 revision)
2024-12-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from dabbabd8a7bf to ae148686458b (1 revision)
2024-12-14 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e1632bb25177 to dabbabd8a7bf (2 revisions)
2024-12-14 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 034518ee55a5 to e1632bb25177 (5 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC egdaniel@google.com,jonahwilliams@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
2024-12-16 21:41:50 +00:00
skia-flutter-autoroll
c837b72d98 Roll Dart SDK from 02aa27c6a075 to 4bfbad776c1a (12 revisions) (flutter/engine#57224)
https://dart.googlesource.com/sdk.git/+log/02aa27c6a075..4bfbad776c1a

2024-12-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-255.0.dev
2024-12-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-254.0.dev
2024-12-15 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-253.0.dev
2024-12-14 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-252.0.dev
2024-12-14 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-251.0.dev
2024-12-13 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-250.0.dev
2024-12-13 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-249.0.dev
2024-12-13 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-248.0.dev
2024-12-13 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-247.0.dev
2024-12-13 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-246.0.dev
2024-12-13 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-245.0.dev
2024-12-12 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-244.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,jonahwilliams@google.com on the revert to ensure that a human
is aware of the problem.

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

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

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-12-16 20:54:04 +00:00
skia-flutter-autoroll
1c5ac8c185 Roll Fuchsia Linux SDK from iYz_WkWk1uPr8BLSZ... to zvsXvTuk-Z1Mgtn34... (flutter/engine#57222)
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 jonahwilliams@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-12-16 20:48:14 +00:00
Robert Ancell
90c1f8ca69 Migrate FlBinaryMessenger using embedder API instead of mock engine. (flutter/engine#57214)
This allows us to remove most of the remaining mock engine code.
2024-12-16 20:02:45 +00:00
Brett Morgan
00ea54f1fd Flutter-GPU.md: Fix spelling (flutter/engine#57216)
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-12-16 19:26:19 +00:00
Mouad Debbar
262b472592 [web] Don't close image source too early (flutter/engine#57200)
A `CkImage` instance holds a reference to `ImageSource?`. When that `CkImage` gets cloned, the `ImageSource` instance becomes shared between the original `CkImage` and its new clone. Then when one of the `CkImage`s gets disposed of, it closes the shared `ImageSource` leaving other live `CkImage`s holding on to a closed `ImageSource`.

The quick solution to this is to have a ref count on the `ImageSource` to count how many `CkImage`s are referencing it. The `ImageSource` will only be closed if its ref count reaches 0.

Fixes https://github.com/flutter/flutter/issues/160199
Fixes https://github.com/flutter/flutter/issues/158093
2024-12-16 19:10:17 +00:00
skia-flutter-autoroll
26aec9b3ec Roll Skia from 8c1e2bf9492c to 8054b098b5cd (5 revisions) (flutter/engine#57197)
https://skia.googlesource.com/skia.git/+log/8c1e2bf9492c..8054b098b5cd

2024-12-13 kjlubick@google.com Update delaunator to read from GoB mirror
2024-12-13 kjlubick@google.com Remove unnecessary const qualifiers from single char params
2024-12-13 egdaniel@google.com [Graphite] Add public APIs for setting cache limits.
2024-12-13 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from e9b33f04020e to c75bd915ec7d (4 revisions)
2024-12-13 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from b56cde80dd49 to 034518ee55a5 (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 jonahwilliams@google.com,kjlubick@google.com,maxhudnell@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-12-16 19:04:37 +00:00
Michael Goderbauer
24708c00d4 Reland 'Delete stale package_config.json in gclient sync hook' (flutter/engine#57218)
https://github.com/flutter/engine/pull/57195 was reverted because it tried to delete non-existing files. This adds a check to only attempt to delete the file if it exists.
2024-12-16 18:48:07 +00:00
MyriadSoft
475d981108 docs: Fix RGB565 format documentation and bit masks (flutter/engine#57210)
The RGB565 format documentation in embedder.h incorrectly stated that the red component uses the least significant bits. Unit tests in embedder/testdefs/embedder_unittests.cc demonstrate this is incorrect, showing:

- Red test (0xF800): Uses bits [15:11]
- Green test (0x07E0): Uses bits [10:5]
- Blue test (0x001F): Uses bits [4:0]

This commit fixes the documentation to correctly reflect the actual bit layout:
- Red uses 5 MSBs [15:11]
- Green uses 6 middle bits [10:5]
- Blue uses 5 LSBs [4:0]

Also fixes the example bit extraction code to use correct masks, matching the test expectations.

Impact: This change helps prevent potential developer confusion about RGB565 bit ordering and ensures the documentation matches the actual implementation as verified by the test suite.
2024-12-16 18:48:04 +00:00
Jonah Williams
481ee0e64f [Impeller] disable AHB swapchains on all platforms. (flutter/engine#57213)
Disabling until we figure out if we can even use this.
2024-12-16 17:27:56 +00:00
Jonah Williams
0bc174d87a [Impeller] fix Adreno precision issue in gaussian downsample. (flutter/engine#57212)
Fixes observed sampling problems on the adreno series where slightly different mediump/lowp behavior, resulting in the downsample shader showing "chunky" rendeering.
2024-12-16 17:27:53 +00:00
Jason Simmons
bb38935b9a Disable RBE in the GN flags for wasm_release builds in the linux_web_engine builder (flutter/engine#57204)
RBE is not supported for this build.  Starting the RBE proxy adds unnecessary overhead, and the attempt to use RBE will cause the build recipe to request too many parallel jobs in Ninja.
2024-12-16 15:40:20 +00:00
Robert Ancell
eb4af9071e Migrate FlEventChannel tests to FlMockBinaryMessenger (flutter/engine#57150)
Use FlMockBinaryMessenger instead of mocking the whole engine.
2024-12-16 11:45:17 +13:00
Robert Ancell
dcd093fad7 Migrate FlMethodChannel tests to FlMockBinaryMessenger (flutter/engine#57146)
Use FlMockBinaryMessenger instead of mocking the whole engine.
2024-12-16 10:34:14 +13:00
Michael Goderbauer
b38bf972ae Adjust some ignores for 'dart format' (flutter/engine#57208)
When running `dart format` over these lines the `// ignore` ended up on a line where it wasn't properly ignoring the lint. This adjusts the placement of `// ignore`s so they will continue to ignore the right thing even after the code is auto formatted.

I am hoping that if we do this now the large PR that formats the entire repo will go in smoother without manual intervention.
2024-12-14 02:09:06 +00:00
Michael Goderbauer
a0eb1bc42c Fix include path in fuchsia's analysis_options.yaml files (flutter/engine#57203)
The old path doesn't exist.

`dart format` stumbles over this non-existent include.

`analysis_options.yaml` files that just imported something non-existent were deleted.

I am surprised that this never caused any other issues. Is this all dead code that isn't actually analyzed?
2024-12-14 00:51:47 +00:00
Michael Goderbauer
ee512e0442 Delete stale package_config.json in gclient sync hook (flutter/engine#57195)
On the bots there were old and stale `package_config.json` files hanging around that confuse the `dart format` command. This PR adds a step to the `pub_get_offline.py` glcient sync hook to delete all of these files that are not under version control.
2024-12-13 23:58:07 +00:00