maRci002
e0a9cc7ce0
[web] add support for AppLifecycleState changes ( flutter/engine#44720 )
...
closes flutter/flutter#53107
This PR introduces support for `AppLifecycleState` on Web, aligning the web's lifecycle events with those of the mobile platforms. This ensures a more consistent developer experience and better lifecycle management across all platforms.
**PR includes:**
- Page Visibility Handling: Integrated the `visibilitychange` DOM event to determine if the app is in a `resumed` or `paused` state based on the visibility state of the document.
- Page Transition Handling: Used `beforeunload` events to better manage the `detached` state.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-01-25 16:31:12 +00:00
skia-flutter-autoroll
75bd18f4b2
Roll Skia from 416d7b0e5ba1 to 56c06ee7a252 (1 revision) ( flutter/engine#50040 )
...
https://skia.googlesource.com/skia.git/+log/416d7b0e5ba1..56c06ee7a252
2024-01-25 penghuang@chromium.org Replace push_back() in `DrawList::recordDraw()` with emplace_back()
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-25 16:19:25 +00:00
skia-flutter-autoroll
3a3b5667b9
Roll Skia from 699ee2b7cf34 to 416d7b0e5ba1 (2 revisions) ( flutter/engine#50039 )
...
https://skia.googlesource.com/skia.git/+log/699ee2b7cf34..416d7b0e5ba1
2024-01-25 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4784bfd700e3 to 601d5676bb98 (3 revisions)
2024-01-25 drott@chromium.org [Fontations-backend] Keep outline collection object alive
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-25 14:37:05 +00:00
skia-flutter-autoroll
d832cd08b2
Roll Dart SDK from beb003009a4d to 2fb950853f06 (1 revision) ( flutter/engine#50037 )
...
https://dart.googlesource.com/sdk.git/+log/beb003009a4d..2fb950853f06
2024-01-25 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-71.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-01-25 13:50:22 +00:00
zijiehe@
538d967f7c
[Fuchsia] Redo - Use chromium test-scripts to download images and execute tests ( flutter/engine#49940 )
...
This change is a redo of https://github.com/flutter/engine/pull/49847 .
https://github.com/zijiehe-google-com/engine/compare/4530942..main
should show the diff between this and the original change; mainly fixes
the https://github.com/flutter/flutter/issues/141907 .
Following paragraph is copied from the original change.
This change can be executed from buildroot by
```
python3 flutter/tools/fuchsia/with_envs.py flutter/testing/fuchsia/run_tests.py
```
Bug: https://github.com/flutter/flutter/issues/140179
- [V] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [V] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [V] I read and followed the [Flutter Style Guide] and the [C++,
Objective-C, Java style guides].
- [V] I listed at least one issue that this PR fixes in the description
above.
- [V] 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.
- [V] I updated/added relevant documentation (doc comments with `///`).
- [V] I signed the [CLA].
- [V] All existing and new tests are passing.
2024-01-25 11:58:03 +00:00
John Stiles
cd6d342e31
Use top-level GN arg for Skottie instead of CanvasKit-specific arg. ( flutter/engine#50019 )
...
The GN flag `skia_canvaskit_enable_skottie` is being retired at http://review.skia.org/805336
2024-01-25 03:43:05 +00:00
Jonah Williams
05e3314f30
[Impeller] round up subpass coverage when it is close to (and smaller) than root pass size. ( flutter/engine#49925 )
...
Work towards https://github.com/flutter/flutter/issues/136510
generally speaking, we try to size subpasses as small as we possibly can as an optimization for memory usage and fragment load. Though with specific blend modes and/or filters we are required us to flood to a larger size. However in some cases, this optimization is counter productive - as we can only recycle textures that are exactly the same size.
In scenario where a large subpass slightly changes sizes every frame (such as for the android zoom page transition), the tight sizing is maximally inefficient as we discard and recreate large textures each frame.
This PR adds a heuristic which (at least locally) improves this by rounding up subpass size that is within 10% of the root pass size.
2024-01-25 01:21:41 +00:00
MarkZ
6d345a5475
Adding DDC module system targets to web SDK artifacts. ( flutter/engine#47783 )
...
This is part of an ongoing effort to replace DDC's module system in Flutter Web (for hot reload support).
Side effects of this change include doubling the code generated by DDC whenever this build pathway is hit (until the full module system transition lands), but this shouldn't affect debug performance. We may be able to lock this behind a build flag if this is an issue.
See related issue: https://github.com/dart-lang/sdk/issues/52361
2024-01-25 00:52:16 +00:00
Hasan Mohsin
eb072d8928
[Windows] Set cursor immediately when framework requests update ( flutter/engine#49784 )
...
On Windows, when using a `MouseRegion` widget to change the cursor it is not actually updated until the cursor is moved. This is because the Windows embedder only updates the `current_cursor_` field but does not actually set the cursor until the window receives the `WM_SETCURSOR` message when the mouse moves. This change makes it set the cursor immediately.
Fixes flutter/flutter#76622
2024-01-25 00:48:23 +00:00
Loïc Sharma
7aecd394de
[Windows] Introduce egl::Surface and egl::WindowSurface ( flutter/engine#49983 )
...
This introduces the `egl::Surface` and `egl::WindowSurface` types to abstract a raw `EGLSurface`. This also removes some - but not all - EGL surface logic out from `EGLManager`.
Subsequent pull requests will be necessary to:
1. Move ownership of the `egl::WindowSurface` from `egl::Manager` to `FlutterWindowsView`
2. Refactor external texture's off-screen EGL surface to use `egl::Surface`
Part of https://github.com/flutter/flutter/issues/141996
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-01-25 00:30:53 +00:00
skia-flutter-autoroll
3c8c5690fd
Roll Dart SDK from e0bf6a261895 to 6211fedca10c (1 revision) ( flutter/engine#50021 )
...
https://dart.googlesource.com/sdk.git/+log/e0bf6a261895..6211fedca10c
2024-01-24 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-69.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-01-24 23:23:43 +00:00
skia-flutter-autoroll
3fb1af7d31
Roll Skia from 247a61a5496d to 588caf1ceddd (2 revisions) ( flutter/engine#50020 )
...
https://skia.googlesource.com/skia.git/+log/247a61a5496d..588caf1ceddd
2024-01-24 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll Dawn from bc789bb959cd to 18030a03d509 (10 revisions)
2024-01-24 drott@chromium.org [Fontations-backend] Implement optimized fillPath() drawing operation
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-24 23:16:48 +00:00
skia-flutter-autoroll
a82ee888c2
Roll Skia from 643160445720 to 7d69d275afd8 (3 revisions) ( flutter/engine#50016 )
...
https://skia.googlesource.com/skia.git/+log/643160445720..7d69d275afd8
2024-01-24 armansito@google.com [graphite] ReadOnlyStorageBuffer ComputeStep resource type
2024-01-24 armansito@google.com [graphite][vello] BUFFER_BINDING macro
2024-01-24 kjlubick@google.com Fix includes in SkDebug_win to be base-friendly
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-24 21:24:33 +00:00
skia-flutter-autoroll
c24d1fc56b
Roll Fuchsia Linux SDK from kYC2-fFgjbb36mukB... to Igt2rE-R6rgfmTRaF... ( flutter/engine#50015 )
...
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 ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-24 21:04:53 +00:00
skia-flutter-autoroll
056ba5359c
Roll Skia from 9ea7cb490804 to 643160445720 (6 revisions) ( flutter/engine#50014 )
...
https://skia.googlesource.com/skia.git/+log/9ea7cb490804..643160445720
2024-01-24 johnstiles@google.com Revert "Allow Skia to build properly when is_component_build is set."
2024-01-24 johnstiles@google.com Improve $colorize_grad_tex logic slightly.
2024-01-24 armansito@google.com [graphite][compute] Support for indirect dispatch
2024-01-24 nicolettep@google.com [graphite] Minor Vulkan graphics pipeline key improvements
2024-01-24 johnstiles@google.com Allow Skia to build properly when is_component_build is set.
2024-01-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 39ee283518bd to a7ae764f6888
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-24 20:35:40 +00:00
Robert Ancell
7efa9951c2
Add custom FlValue types and support their en/decoding via FlStandardMessageCodec ( flutter/engine#49162 )
...
Add Linux support for custom data types in Flutter channels.
Fixes https://github.com/flutter/flutter/issues/140299
2024-01-25 09:29:54 +13:00
Matan Lurey
43599a528a
Do not double-increment nextId when using createSurfaceProducer with SurfaceTextures ( flutter/engine#50011 )
...
The change is _very_ tiny, but I added some documentation as well.
After this PR, it appears we're "ready" to start using this API once it lands in stable. Hoorah!
Here are local tests using `video_player_android/example`:
## Skia

## Impeller

2024-01-24 20:15:11 +00:00
Jim Graham
e61777cf89
[Impeller] allow non-square corner radii for fast blurs ( flutter/engine#49994 )
...
Upgrades the fast blur shader to work with round rects and ovals that have different radii in X and Y.
Fixes https://github.com/flutter/flutter/issues/141850
Obsoletes https://github.com/flutter/engine/pull/49989
2024-01-24 19:57:03 +00:00
skia-flutter-autoroll
12c6d2d504
Roll Dart SDK from 0f7c49da26da to e0bf6a261895 (1 revision) ( flutter/engine#50009 )
...
https://dart.googlesource.com/sdk.git/+log/0f7c49da26da..e0bf6a261895
2024-01-24 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-68.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-01-24 19:29:13 +00:00
Tong Mu
d8b736ec94
[macOS] Fix: Memory sanitizer violated when encoding indirect strings ( flutter/engine#49995 )
...
Fixes https://github.com/flutter/flutter/issues/142101
@cbracken However, this unit test requires the unit tests to be compiled
with `--asan` to work. Can we add this flag to CI?
## 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] and the [C++,
Objective-C, Java style guides].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] 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.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I signed the [CLA].
- [ ] 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-01-24 11:18:07 -08:00
gaaclarke
029ae124b5
[Impeller] Share vulkan playground across goldens ( flutter/engine#49981 )
...
fixes https://github.com/flutter/flutter/issues/142052
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-01-24 19:08:21 +00:00
Jonah Williams
31a5d5d5c9
[Impeller] use const std::unique_ptr ref for Sampler type. ( flutter/engine#49974 )
...
The backend specific sampler libraries hold a strong reference to the native sampler objects and never clear this cache. As a result of this, we don't theoretically need rendering commands to increment a shared_ptr ref count - instead the sampler library can provide the Sampler object as a const ref and guarantee that it continues to be valid.
This allows us to reduce the amount of refcount ops for commands that use samplers.
Additionally, the sampler library uses nullptr as a sentinel for failing to construct a sampler object. Since sampler already has an isValid member that is checked - we can replace this with a specific invalid object subtype.
2024-01-24 18:14:42 +00:00
skia-flutter-autoroll
f37eeba0cd
Roll Skia from c353c00a4dcb to 9ea7cb490804 (1 revision) ( flutter/engine#50005 )
...
https://skia.googlesource.com/skia.git/+log/c353c00a4dcb..9ea7cb490804
2024-01-24 johnstiles@google.com Add SK_API to SkString free functions.
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-24 17:50:48 +00:00
Michael Brase
254f0f9829
Replace Fuchsia logging macros (FX_LOG*) with FML logging ( flutter/engine#49970 )
...
This change updates all of the Fuchsia specific logging macros (e.g.
FX_LOG*) to use the logging macros provided by the FML library
(FML_LOG(...)). This will allow us to migrate to Fuchsia structured
logging backend in a future commit.
flutter/flutter#141924
2024-01-24 11:42:15 -06:00
skia-flutter-autoroll
f9aaf3f990
Roll Skia from 26ac196b95c4 to c353c00a4dcb (1 revision) ( flutter/engine#50004 )
...
https://skia.googlesource.com/skia.git/+log/26ac196b95c4..c353c00a4dcb
2024-01-24 brianosman@google.com Fix use of uninitialized memory in AVX512 stages
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-24 17:00:23 +00:00
skia-flutter-autoroll
b5d2581d60
Roll Dart SDK from 8307fb417cb9 to 0f7c49da26da (1 revision) ( flutter/engine#50001 )
...
https://dart.googlesource.com/sdk.git/+log/8307fb417cb9..0f7c49da26da
2024-01-24 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-67.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-01-24 15:31:13 +00:00
skia-flutter-autoroll
dbd873dd86
Roll Dart SDK from 69af2ca8332f to 8115d045c95d (1 revision) ( flutter/engine#49998 )
...
https://dart.googlesource.com/sdk.git/+log/69af2ca8332f..8115d045c95d
2024-01-24 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-65.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-01-24 08:08:16 +00:00
Matan Lurey
3fd9bd213f
Fix a typo in geometry.cc#ComputeUVGeometryForRect. ( flutter/engine#49986 )
...
Follow up to https://github.com/flutter/engine/pull/49910#pullrequestreview-1840067150 .
2024-01-24 05:44:24 +00:00
skia-flutter-autoroll
d655cb3d38
Roll Dart SDK from 838cd732e56a to 69af2ca8332f (1 revision) ( flutter/engine#49990 )
...
https://dart.googlesource.com/sdk.git/+log/838cd732e56a..69af2ca8332f
2024-01-24 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-64.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-01-24 04:08:05 +00:00
skia-flutter-autoroll
ac3fa2f552
Roll Skia from c396b2171b16 to be4b398b4f2e (2 revisions) ( flutter/engine#49988 )
...
https://skia.googlesource.com/skia.git/+log/c396b2171b16..be4b398b4f2e
2024-01-23 nicolettep@google.com [graphite] Fix an int value typo
2024-01-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from ba9b221d297c to 53c4c636ae4c (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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-24 00:47:50 +00:00
skia-flutter-autoroll
58e05b0e65
Roll Dart SDK from 5646ac9669f8 to 838cd732e56a (3 revisions) ( flutter/engine#49982 )
...
https://dart.googlesource.com/sdk.git/+log/5646ac9669f8..838cd732e56a
2024-01-23 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-63.0.dev
2024-01-23 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-62.0.dev
2024-01-23 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-61.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-01-24 00:15:53 +00:00
Jonah Williams
6f0249a062
[ui] hold a strong reference to fragment program objects. ( flutter/engine#49868 )
...
The native engine needs to hold a strong reference to fragment programs. So the dart side holding a weak ref is more or less pointless
2024-01-24 00:08:24 +00:00
skia-flutter-autoroll
db041900f3
Roll Skia from 4e42423c7f6f to c396b2171b16 (1 revision) ( flutter/engine#49987 )
...
https://skia.googlesource.com/skia.git/+log/4e42423c7f6f..c396b2171b16
2024-01-23 bungeman@google.com [pdf] Set DisplayDocTitle when title is set
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-23 23:58:17 +00:00
skia-flutter-autoroll
3dbc8dc62e
Roll Skia from e7d10257ffb5 to 4e42423c7f6f (4 revisions) ( flutter/engine#49985 )
...
https://skia.googlesource.com/skia.git/+log/e7d10257ffb5..4e42423c7f6f
2024-01-23 herb@google.com Fix IWYU problems
2024-01-23 herb@google.com Add Contours
2024-01-23 sharaks@google.com Merge 10 release notes into RELEASE_NOTES.md
2024-01-23 sharaks@google.com Update Skia milestone to 123
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-23 23:12:48 +00:00
Matan Lurey
b9e3df7659
Geometry Wars: Documentation Edition ( flutter/engine#49910 )
...
Document some confusing bits of `geometry` for the next bub.
Originally this PR was to add a test and fix a bug, but that's being handled here: https://github.com/flutter/engine/pull/49938 .
2024-01-23 21:55:36 +00:00
Jason Simmons
e870bf885a
Exclude the Dart SDK sdk/lib/svg/dart2js directory from the license crawl ( flutter/engine#49977 )
...
This directory contains a file that is generated from other sources.
It is causing problems for the license script because it contains multiple copyright messages and one of the messages is partially included in the header region parsed by the script.
2024-01-23 21:25:47 +00:00
skia-flutter-autoroll
401e11e2e0
Roll Skia from 59a70a1efc39 to e7d10257ffb5 (3 revisions) ( flutter/engine#49978 )
...
https://skia.googlesource.com/skia.git/+log/59a70a1efc39..e7d10257ffb5
2024-01-23 nicolettep@google.com [graphite] Check if loading from MSAA when setting up Vulkan RenderPasses, pipeline keys
2024-01-23 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll Dawn from a62b04845e6d to 02262d895ff3 (10 revisions)
2024-01-23 kjlubick@google.com Enforce IWYU on more src/core files
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-23 21:04:23 +00:00
Bruno Leroux
2538fd2edb
[Web] Fix an assertion error due to synthesized keyboard events ( flutter/engine#49087 )
...
## Description
On Web, browsers can emit key events with a logical key sets to `Process` during compostion.
It is usually not a problem, but in some edge cases (for instance when the browser window lost focus and some keys events were missed), the Flutter web engine might synthesize an up event with a logical key value different that the one used for the down event and this will lead to an assertion message on the framework side.
## Related Issue
Fixes https://github.com/flutter/flutter/issues/126247 .
## Tests
Adds 1 test.
2024-01-23 20:26:12 +00:00
Loïc Sharma
7509954809
[Windows] Introduce egl::Context ( flutter/engine#49954 )
...
This introduces a new `egl::Context` type that abstracts a raw `EGLContext`. This also removes the EGL context logic out from `EGLManager`.
Part of https://github.com/flutter/flutter/issues/141996
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-01-23 20:17:02 +00:00
skia-flutter-autoroll
e0862d3a04
Roll Fuchsia Linux SDK from uQK4l0QeH_PlZO6cF... to kYC2-fFgjbb36mukB... ( flutter/engine#49976 )
...
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 ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-23 20:10:07 +00:00
skia-flutter-autoroll
7576e76619
Roll Skia from 58973cca0edd to 59a70a1efc39 (17 revisions) ( flutter/engine#49975 )
...
https://skia.googlesource.com/skia.git/+log/58973cca0edd..59a70a1efc39
2024-01-23 kjlubick@google.com Expose all public Vulkan headers in gpu.gni
2024-01-23 jvanverth@google.com [graphite] Add viewer command line option to set path rendering strategy
2024-01-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from e7ebebe5934b to 234df898a5a7
2024-01-23 jamesgk@google.com [graphite] Don't register mipmap scratch device with recorder
2024-01-23 nicolettep@google.com Disable VK_EXT_shader_object to silence warnings on Windows when using Vulkan 1.3
2024-01-23 drott@chromium.org [Fontations] Roll Fontations libraries
2024-01-23 michaelludwig@google.com [graphite] Expand on comment from review
2024-01-23 kjlubick@google.com Update MutableTextureSurface use in Vulkan+Graphite
2024-01-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4307b0183c9e to ba9b221d297c (6 revisions)
2024-01-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from c6fbf93decba to 341906d568d2 (4 revisions)
2024-01-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 328e794f0c8b to 3bc9ccd923da (2 revisions)
2024-01-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 5b45794c2c24 to a62b04845e6d (4 revisions)
2024-01-22 bungeman@google.com [pdf] Allow setting the document language
2024-01-22 brianosman@google.com git-sync-deps: Switch shallow/deep to be command-line arg, flip default
2024-01-22 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll Dawn from 9fbef511d79e to 5b45794c2c24 (303 revisions)
2024-01-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 167fd9d49add to 4307b0183c9e (2 revisions)
2024-01-22 kjlubick@google.com Remove deprecated uses of Vulkan MutableTextureState constructor
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,lovisolo@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-23 20:02:32 +00:00
Jonah Williams
89bdfba3d7
[Impeller] fix validation error for playground texture upload. ( flutter/engine#49957 )
...
Buffer to image is missing barriers. We don't really need to use this for playgrounds though, as set contents does the right thing more or less.
Fixes https://github.com/flutter/flutter/issues/142024
2024-01-23 19:17:05 +00:00
Brandon DeRosier
20e12c94dd
[Impeller] Fix runtime effect pipeline depth/stencil. ( flutter/engine#49953 )
...
- Setup depth and stencil attachments for RuntimeEffect.
- Add validation check in `EntityPass` to force backends to set things
up the root pass correctly.
- Add checks in `ContentContextOptions::ApplyToPipelineDescriptor` to
validate that callers are holding it right.
2024-01-23 10:57:52 -08:00
Zachary Anderson
bf70dc87fb
Exclude prebuilts/Library from Mac builder_cache ( flutter/engine#49971 )
...
Related https://github.com/flutter/flutter/issues/141688
2024-01-23 18:42:10 +00:00
gaaclarke
867d175c2d
[Impeller] turned on validation errors for one golden image test ( flutter/engine#49955 )
...
issue https://github.com/flutter/flutter/issues/142017
This just turns on the validations for one test since not everything passes yet with them turned on across the board.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-01-23 18:16:55 +00:00
skia-flutter-autoroll
4562f67000
Roll Dart SDK from 5bd0742466d2 to 5646ac9669f8 (3 revisions) ( flutter/engine#49965 )
...
https://dart.googlesource.com/sdk.git/+log/5bd0742466d2..5646ac9669f8
2024-01-23 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-60.0.dev
2024-01-23 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-59.0.dev
2024-01-23 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-58.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-01-23 12:31:29 +00:00
auto-submit[bot]
16f151f920
Reverts "Add Mac cache_builder back into Prod" ( flutter/engine#49961 )
...
Reverts flutter/engine#49936
Initiated by: zanderso
This change reverts the following previous change:
Original Description:
Add the Mac cache_builder target back to prod.
*List which issues are fixed by this PR. You must list at least one issue.*
Fixes https://github.com/flutter/flutter/issues/141688
*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-01-23 05:39:16 +00:00
Matan Lurey
549738f77f
Change how OpenGL textures are flipped in the Android embedder. ( flutter/engine#49938 )
...
h/t @bdero for [writing the actual
code](https://github.com/flutter/flutter/issues/141636#issuecomment-1903677360 )
(I just wrote comments).
Manual test[^1] of `cd
packages/packages/video_player/video_player/example && flutter run`:
## Skia

## Impeller + OpenGL

```xml
<meta-data
android:name="io.flutter.embedding.android.EnableImpeller"
android:value="true" />
<meta-data
android:name="io.flutter.embedding.android.ImpellerBackend"
android:value="opengles" />
```
Closes https://github.com/flutter/flutter/issues/141636 .
[^1]: I can't write a test worth writing at the same time of this PR, so
I've filed https://github.com/flutter/flutter/issues/141973 to do it
after.
2024-01-22 16:52:32 -08:00
skia-flutter-autoroll
f72693e774
Roll Dart SDK from 9470ea6b00a5 to 5bd0742466d2 (1 revision) ( flutter/engine#49951 )
...
https://dart.googlesource.com/sdk.git/+log/9470ea6b00a5..5bd0742466d2
2024-01-22 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-57.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-01-23 00:28:17 +00:00
Jonah Williams
2c02357c95
[Impeller] dont emulate command buffers for compute on Metal/Vulkan. ( flutter/engine#49922 )
...
Part of the work for: https://github.com/flutter/flutter/issues/140804
Removes ComputeCommand and has both ComputePassMTL and ComputePassVK immediately record to their respective comand buffers. This combines the commits for Metal/Vulkan as they are both fairly small. After this, I can add barriers to fix compute for Vulkan.
2024-01-22 22:45:05 +00:00