Dan Field
4681274469
[Impeller] Vulkan runtime effects/fragment program API ( flutter/engine#49543 )
...
Fixes https://github.com/flutter/flutter/issues/122823
Fixes https://github.com/flutter/flutter/issues/129659
Fixes https://github.com/flutter/flutter/issues/123741
This patch makes runtime stage/fragment program stuff work on Vulkan for Android.
It will need flutter/flutter#140976 for that to become a reality for flutter_tools users.
Compiling with relaxed Vulkan semantics still has an issue: shaders that use `sampler2D` with an explicitly set `location` on the `layout` will fail to compile with an error documented in https://github.com/flutter/flutter/issues/141219 .
I think there might still be some issues with fragment programs on Vulkan, but this should at least be a good starting point and unblocks ink_sparkle.frag usage in the framework.
I've deleted some runtime_stage related code that would never get used - for example, enum related code that indicates we might support a bunch of data types that we do not and probably never will support in this API.
2024-01-11 02:25:05 +00:00
skia-flutter-autoroll
c975e9b627
Roll Dart SDK from 9f5a6a2ccace to 3245b92a5930 (1 revision) ( flutter/engine#49700 )
...
https://dart.googlesource.com/sdk.git/+log/9f5a6a2ccace..3245b92a5930
2024-01-11 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-16.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC bdero@google.com ,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-11 02:09:22 +00:00
skia-flutter-autoroll
eabf9d9cdb
Roll Skia from d1fbb9177115 to 596053dde5f0 (1 revision) ( flutter/engine#49694 )
...
https://skia.googlesource.com/skia.git/+log/d1fbb9177115..596053dde5f0
2024-01-10 herb@google.com Implement Myers' Sweep-Line algorithm
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 armansito@google.com ,bdero@google.com,brianosman@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-10 23:37:49 +00:00
skia-flutter-autoroll
5874720d60
Roll Skia from 2f254f5d41f2 to d1fbb9177115 (1 revision) ( flutter/engine#49692 )
...
https://skia.googlesource.com/skia.git/+log/2f254f5d41f2..d1fbb9177115
2024-01-10 jvanverth@google.com Revert "[graphite] Have Device submit parent uploads prior to its own."
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 armansito@google.com ,bdero@google.com,brianosman@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-10 22:35:05 +00:00
Jonah Williams
c18d6e3a08
[Impeller] reland: write directly to device buffer. ( flutter/engine#49691 )
...
Reland of https://github.com/flutter/engine/pull/49505
---
part of https://github.com/flutter/flutter/issues/140804
We can't use the existing host buffer abstraction as that requires us to collect all allocations up front. By itself, this isn't sufficient for #140804 , because we'll need a way to mark ranges as dirty and/or flush if we don't have host coherent memory. But by itself this change should be beneficial as we'll create fewer device buffers and should do less allocation in general.
The size of the device buffers is 1024 Kb, somewhat arbitrarily chosen.
2024-01-10 22:10:03 +00:00
skia-flutter-autoroll
577ac81725
Roll Dart SDK from c2862d44e108 to 9f5a6a2ccace (1 revision) ( flutter/engine#49689 )
...
https://dart.googlesource.com/sdk.git/+log/c2862d44e108..9f5a6a2ccace
2024-01-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.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-engine
Please CC bdero@google.com ,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-10 22:08:04 +00:00
auto-submit[bot]
6236178dac
Reverts "[Impeller] have Hostbuffer write directly to block allocated device buffers." ( flutter/engine#49688 )
...
Reverts flutter/engine#49505
Initiated by: jonahwilliams
This change reverts the following previous change:
Original Description:
part of https://github.com/flutter/flutter/issues/140804
We can't use the existing host buffer abstraction as that requires us to collect all allocations up front. By itself, this isn't sufficient for #140804 , because we'll need a way to mark ranges as dirty and/or flush if we don't have host coherent memory. But by itself this change should be beneficial as we'll create fewer device buffers and should do less allocation in general.
The size of the device buffers is 1024 Kb, somewhat arbitrarily chosen.
2024-01-10 21:09:18 +00:00
skia-flutter-autoroll
9ec6040596
Roll Skia from 0443e02cdfd3 to 2f254f5d41f2 (1 revision) ( flutter/engine#49685 )
...
https://skia.googlesource.com/skia.git/+log/0443e02cdfd3..2f254f5d41f2
2024-01-10 brianosman@google.com Ensure that sk_unaligned_[load|store] and sk_bit_cast are safe on x86
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 armansito@google.com ,bdero@google.com,brianosman@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-10 21:01:11 +00:00
Jason Simmons
42b65dc4a5
[Impeller] Make the shaders loaded by the GLES playground consistent with other playgrounds ( flutter/engine#49684 )
2024-01-10 20:30:38 +00:00
skia-flutter-autoroll
bd168b26ba
Roll Fuchsia Linux SDK from pUQrgMfXgU8RmLuL4... to gJuGKaWsKazIrvQeO... ( flutter/engine#49682 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-10 20:21:49 +00:00
skia-flutter-autoroll
6bfd10a0ab
Roll Skia from 334160c0eede to 0443e02cdfd3 (2 revisions) ( flutter/engine#49681 )
...
https://skia.googlesource.com/skia.git/+log/334160c0eede..0443e02cdfd3
2024-01-10 drott@chromium.org Revert^2 "[Fontations-backend] Add COLRv0/v1 support to Fontations backend"
2024-01-10 fmalita@chromium.org [skottie] Fix font fallback in viewer and skottie_tool
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 armansito@google.com ,bdero@google.com,brianosman@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-10 19:47:13 +00:00
Jonah Williams
eaae4c5d1a
[Impeller] have Hostbuffer write directly to block allocated device buffers. ( flutter/engine#49505 )
...
part of https://github.com/flutter/flutter/issues/140804
We can't use the existing host buffer abstraction as that requires us to collect all allocations up front. By itself, this isn't sufficient for #140804 , because we'll need a way to mark ranges as dirty and/or flush if we don't have host coherent memory. But by itself this change should be beneficial as we'll create fewer device buffers and should do less allocation in general.
The size of the device buffers is 1024 Kb, somewhat arbitrarily chosen.
2024-01-10 17:18:07 +00:00
skia-flutter-autoroll
fe4befbda6
Roll Skia from 9271dcdade42 to 334160c0eede (1 revision) ( flutter/engine#49675 )
...
https://skia.googlesource.com/skia.git/+log/9271dcdade42..334160c0eede
2024-01-10 herb@google.com Add brute force crossing detection
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 armansito@google.com ,bdero@google.com,brianosman@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-10 16:52:22 +00:00
Matan Lurey
670e54688a
Follow various best practices in FlutterRenderer ( flutter/engine#49651 )
...
All of these are non-semantics changing and all were auto-applied by
IntelliJ:
- Make always `final` stuff final
- Avoid unnecessary casts
- Annotate `@NonNull` overrides
- Avoid initializing callbacks outside of the constructor, and use Java
lambdas when applicable
- Avoid cases where something is known to be non-null or non-false
- Use `<>` when applicable
2024-01-09 22:12:12 -08:00
skia-flutter-autoroll
04ef8e4123
Roll Skia from 0e8023dc0a1a to 2a77dffd384f (1 revision) ( flutter/engine#49662 )
...
https://skia.googlesource.com/skia.git/+log/0e8023dc0a1a..2a77dffd384f
2024-01-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 4e98f42e5643 to 939506789cfa (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 armansito@google.com ,bdero@google.com,brianosman@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-10 05:46:33 +00:00
skia-flutter-autoroll
d939abcf80
Roll Dart SDK from 727ea68c62d8 to d4b1939dffa6 (1 revision) ( flutter/engine#49657 )
...
https://dart.googlesource.com/sdk.git/+log/727ea68c62d8..d4b1939dffa6
2024-01-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-11.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 bdero@google.com ,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-10 01:39:26 +00:00
Jackson Gardner
e9e609ee85
Refactor flutter.js to do dart2wasm bootstrapping and CanvasKit/Skwasm preloading. ( flutter/engine#49037 )
...
This PR makes some major revisions to our flutter.js bootstrapper.
* Modularize flutter.js into multiple files to make it a little simpler to manage from source code. They are still bundled into a single .js file by esbuild.
* Added a `types.d.ts` file which contains declarations of the types of some of the objects used in the flutter.js API
* Deprecated the old `FlutterLoader.loadEntrypoint` API and added a new function simply called `FlutterLoader.load`, which has a few more capabilities:
- A build tool can inject a build config, that may describe multiple builds that `FlutterLoader.load` can attempt to use. It will use the first one that is compatible with the browser environment and the user's configuration.
- It can also load wasm flutter apps.
- It also pre-loads and instantiates CanvasKit (and Skwasm) as necessary depending on the build configuration.
- `FlutterLoader.load` also immediately takes a flutter configuration object. If an `onEntrypointLoaded` callback is not provided by the user, it just does the expected thing and initializes the engine and immediately starts the app, passing the configuration along as needed.
* `flutter.js` has the engine hash built into it now, which allows it to ascertain the correct CDN URLs for both CanvasKit and Skwasm.
2024-01-10 00:17:32 +00:00
gaaclarke
defc0f3137
[Impeller] made sure to scale the blur radius by the effect transform ( flutter/engine#49645 )
...
fixes https://github.com/flutter/flutter/issues/141204
## screenshot after pr
<img width="1023" alt="Screenshot 2024-01-09 at 2 31 10 PM"
src="https://github.com/flutter/engine/assets/30870216/46fc2a63-67dc-4723-b394-2b2a6958f7ba ">
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide] and the [C++,
Objective-C, Java style guides].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I added new tests to check the change I am making or feature I am
adding, or the PR is [test-exempt]. See [testing the engine] for
instructions on writing and running engine tests.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I signed the [CLA].
- [x] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[C++, Objective-C, Java style guides]:
https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
[testing the engine]:
https://github.com/flutter/flutter/wiki/Testing-the-engine
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
2024-01-09 15:45:50 -08:00
auto-submit[bot]
956b0034c5
Reverts "Refactors RBE support" ( flutter/engine#49654 )
...
Reverts flutter/engine#49416
Initiated by: zanderso
This change reverts the following previous change:
Original Description:
This PR refactors the RBE build and adds support for mac-hosted builds to use RBE. In particular, configurations files are downloaded from flutter-internal CIPD instead of being included in the repo. The download from CIPD is triggered by the presence of the `use_rbe` flag as a custom var in the `.gclient` file.
This PR also turns on RBE for Linux and macOS builds that do not produce artifacts.
https://github.com/flutter/buildroot/pull/807
2024-01-09 23:34:24 +00:00
Zachary Anderson
8684cf418a
Refactors RBE support ( flutter/engine#49416 )
...
This PR refactors the RBE build and adds support for mac-hosted builds
to use RBE. In particular, configurations files are downloaded from
flutter-internal CIPD instead of being included in the repo. The
download from CIPD is triggered by the presence of the `use_rbe` flag as
a custom var in the `.gclient` file.
This PR also turns on RBE for Linux and macOS builds that do not produce
artifacts.
https://github.com/flutter/buildroot/pull/807
2024-01-09 14:38:57 -08:00
LongCatIsLooong
c1458c9efd
Fix macOS text composing ( flutter/engine#49314 )
...
Fixes https://github.com/flutter/flutter/issues/68547 (almost, this requires an oneliner framework patch to work).
The selection wasn't being updated correctly before this so there were no highlights. Now the selection is properly highlighted (although it seems the styling has been updated in sonoma but it's better than offering no visual feedback):
https://github.com/flutter/engine/assets/31859944/ab8557f4-7215-46de-8a9d-c2e3982695eb
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-01-09 22:37:49 +00:00
Matan Lurey
f0ed60a2a5
Make shell/platform/android IDE-friendly, and add documentation ( flutter/engine#49612 )
...
Closes https://github.com/flutter/flutter/issues/141043 .
Nothing in this change should impact:
- End-user apps
- Testing and/or CI
I've added what I believe is the minimum required to get a reasonable
Android Studio experience with the `shell/platform/android` folder. More
could definitely be done, but this unblocks me (i.e.
https://github.com/flutter/flutter/issues/139702 ) and adds instructions
for the next person.
_I'm open to suggestions on how to improve this further, but unless they
are critical, I'd rather land this as-is and review your PRs tweaking my
documentation further (I have limited time to work exclusively on
docs)._
---
Example after this:

2024-01-09 14:01:04 -08:00
skia-flutter-autoroll
d91d7c6572
Roll Dart SDK from 721fccffc708 to 727ea68c62d8 (1 revision) ( flutter/engine#49647 )
...
https://dart.googlesource.com/sdk.git/+log/721fccffc708..727ea68c62d8
2024-01-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.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-engine
Please CC bdero@google.com ,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-09 21:33:20 +00:00
skia-flutter-autoroll
aee963dbb2
Roll Skia from 8c8be76a62c0 to 77534b672363 (1 revision) ( flutter/engine#49641 )
...
https://skia.googlesource.com/skia.git/+log/8c8be76a62c0..77534b672363
2024-01-09 herb@google.com Fix tuple to struct transcription errors
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 armansito@google.com ,bdero@google.com,brianosman@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-09 19:11:05 +00:00
skia-flutter-autoroll
d85c1e985b
Roll Fuchsia Linux SDK from 6z4cZ6HUidtgmhvdk... to pUQrgMfXgU8RmLuL4... ( flutter/engine#49640 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-09 18:59:10 +00:00
Brandon DeRosier
5b0cee27ad
[Flutter GPU] Track HostBuffer emplacements by offset. ( flutter/engine#49618 )
...
Make the wrapped HostBuffer wrapper track/look up emplacements using a
fake byte offset.
This is a trick to keep Flutter GPU working after
https://github.com/flutter/engine/pull/49505 lands. I'll likely swing
around and change how `BufferView` works later on. We can simplify a lot
by making Flutter GPU `BufferView`s just take `DeviceBuffer` handles.
2024-01-09 10:32:51 -08:00
John McCutchan
53769525bd
Simplify PlatformViewRenderTarget interface ( flutter/engine#49639 )
...
- Enable ImageReader/SurfaceProducer backends for Android >= 29.
- This removes the need for a weird Android 29-specific fix in
SurfaceTexturePlatformViewRenderTarget.
- Now that we don't need the weird fix we can simplify the
PlatformViewRenderTarget interface.
2024-01-09 10:30:39 -08:00
skia-flutter-autoroll
7e5be21b65
Roll Skia from 05039d6ed8d8 to 8c8be76a62c0 (3 revisions) ( flutter/engine#49638 )
...
https://skia.googlesource.com/skia.git/+log/05039d6ed8d8..8c8be76a62c0
2024-01-09 robertphillips@google.com Reland "[graphite] Add Graphite version of WrapAndroidHardwareBuffer"
2024-01-09 robertphillips@google.com Have SkMipmap::Build return nullptr on mipmap allocation failure
2024-01-09 brianosman@google.com Allow overriding raster pipeline's CPU level via #define
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 armansito@google.com ,bdero@google.com,brianosman@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-09 18:15:14 +00:00
Zachary Anderson
96ff752fd7
Skip flaky test on mac in http_disallow_http_connections_test.dart ( flutter/engine#49635 )
...
Related https://github.com/flutter/flutter/issues/141149
2024-01-09 09:10:32 -08:00
John McCutchan
47f9722185
Resize the RenderTarget before creating and passing its Surface to the VirtualDisplay ( flutter/engine#49619 )
...
This change ensures that we first set the default buffer size on the
underlying SurfaceTexture before creating the Surface for it.
This fixes a bug that only occurs on Android devices running 28 or
older: see https://github.com/flutter/flutter/issues/141068 .
This also removes some unnecessary init code and cleans up tests.
2024-01-09 09:00:16 -08:00
skia-flutter-autoroll
222901e9e7
Roll Skia from ee263c34e03d to 05039d6ed8d8 (2 revisions) ( flutter/engine#49636 )
...
https://skia.googlesource.com/skia.git/+log/ee263c34e03d..05039d6ed8d8
2024-01-09 robertphillips@google.com Fixup unit tests for Protected Vulkan
2024-01-09 johnstiles@google.com Simplify SkRP pop-condition-mask followed by a matching push.
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 armansito@google.com ,bdero@google.com,brianosman@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-09 16:47:00 +00:00
skia-flutter-autoroll
2446ef50e9
Roll Skia from f9f73082740e to ee263c34e03d (3 revisions) ( flutter/engine#49631 )
...
https://skia.googlesource.com/skia.git/+log/f9f73082740e..ee263c34e03d
2024-01-09 49699333+dependabot[bot]@users.noreply.github.com Bump follow-redirects from 1.14.8 to 1.15.4 in /modules/canvaskit
2024-01-09 49699333+dependabot[bot]@users.noreply.github.com Bump follow-redirects from 1.14.9 to 1.15.4 in /modules/pathkit
2024-01-09 robertphillips@google.com Revert "[graphite] Add Graphite version of WrapAndroidHardwareBuffer"
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 armansito@google.com ,bdero@google.com,brianosman@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-09 15:34:09 +00:00
skia-flutter-autoroll
4cee399ff4
Roll Skia from 665f7d51ef25 to f9f73082740e (1 revision) ( flutter/engine#49630 )
...
https://skia.googlesource.com/skia.git/+log/665f7d51ef25..f9f73082740e
2024-01-09 robertphillips@google.com [graphite] Add Graphite version of WrapAndroidHardwareBuffer
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 armansito@google.com ,bdero@google.com,brianosman@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-09 14:39:59 +00:00
skia-flutter-autoroll
0394372216
Roll Skia from 06404ed554e7 to 92b84715ba73 (1 revision) ( flutter/engine#49620 )
...
https://skia.googlesource.com/skia.git/+log/06404ed554e7..92b84715ba73
2024-01-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 6517725fff65 to 4e98f42e5643 (11 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 armansito@google.com ,brianosman@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 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-09 05:40:22 +00:00
skia-flutter-autoroll
071e8914b5
Roll Dart SDK from e8aa66f435ae to 721fccffc708 (5 revisions) ( flutter/engine#49616 )
...
https://dart.googlesource.com/sdk.git/+log/e8aa66f435ae..721fccffc708
2024-01-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-9.0.dev
2024-01-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-8.0.dev
2024-01-06 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-7.0.dev
2024-01-06 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-6.0.dev
2024-01-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-5.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-09 03:51:18 +00:00
skia-flutter-autoroll
d953542372
Roll Skia from cb8e8fa79132 to f4626a2e3293 (3 revisions) ( flutter/engine#49610 )
...
https://skia.googlesource.com/skia.git/+log/cb8e8fa79132..f4626a2e3293
2024-01-08 johnstiles@google.com Eliminate ThreadContext class entirely.
2024-01-08 johnstiles@google.com Avoid calling into Compiler from ThreadContext.
2024-01-08 johnstiles@google.com Remove ThreadContext::DefaultErrorReporter.
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 armansito@google.com ,brianosman@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 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-09 00:19:23 +00:00
Brandon DeRosier
a2e41fc8af
[Impeller] Document mip bias. ( flutter/engine#49602 )
...
Add doc strings explaining what the mip bias does and where it came
from.
2024-01-08 16:05:15 -08:00
skia-flutter-autoroll
3a1f05defb
Roll Skia from 5497d5a53ae2 to cb8e8fa79132 (5 revisions) ( flutter/engine#49608 )
...
https://skia.googlesource.com/skia.git/+log/5497d5a53ae2..cb8e8fa79132
2024-01-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll debugger-app-base from 58437ac01d4f to c6059a8c0ee3
2024-01-08 johnstiles@google.com Remove ThreadContext::GetErrorReporter/SetErrorReporter/Context.
2024-01-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll skottie-base from d538e836e0dc to 1f9ed551198c
2024-01-08 johnstiles@google.com Add a PipelineUtils flag to print post-compilation SkSL.
2024-01-08 brianosman@google.com Revert "Reland "Add GCC support to Raster Pipeline""
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 armansito@google.com ,brianosman@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 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-08 23:21:24 +00:00
skia-flutter-autoroll
5825991993
Manual roll Dart SDK from 7f2523c2fa9a to e8aa66f435ae (5 revisions) ( flutter/engine#49604 )
...
Manual roll requested by zra@google.com
https://dart.googlesource.com/sdk.git/+log/7f2523c2fa9a..e8aa66f435ae
2024-01-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-4.0.dev
2024-01-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-3.0.dev
2024-01-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-2.0.dev
2024-01-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-1.0.dev
2024-01-04 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.4.0-0.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-08 23:17:49 +00:00
Jason Simmons
923436da87
When building clang-tidy commands, filter out the sed command that may be appended to each compile command ( flutter/engine#49605 )
...
See https://github.com/flutter/engine/pull/49542
2024-01-08 22:41:45 +00:00
skia-flutter-autoroll
bf24ae2448
Roll Skia from af845097acae to 5497d5a53ae2 (6 revisions) ( flutter/engine#49606 )
...
https://skia.googlesource.com/skia.git/+log/af845097acae..5497d5a53ae2
2024-01-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll jsfiddle-base from 9ee081a25fa1 to eb442b364123
2024-01-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll debugger-app-base from 37b4856a8bac to 58437ac01d4f
2024-01-08 herb@google.com CrossingAccumulator - collect and filter crossings
2024-01-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll skottie-base from 5ee3c9349cd8 to d538e836e0dc
2024-01-08 lovisolo@google.com [bazel] Fix Go 1.21 compilation issues on Linux and macOS.
2024-01-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from eeaf035ba3a5 to 917acb02c84f (1 revision)
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 armansito@google.com ,brianosman@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 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-08 22:17:06 +00:00
skia-flutter-autoroll
221fc419fd
Roll Skia from a0aba842460c to af845097acae (3 revisions) ( flutter/engine#49601 )
...
https://skia.googlesource.com/skia.git/+log/a0aba842460c..af845097acae
2024-01-08 herb@google.com Convert tuple to struct
2024-01-08 johnstiles@google.com Remove ThreadContext::ReportError.
2024-01-08 brianosman@google.com Add better version of SK_ASSUME for GCC >= 13
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 armansito@google.com ,brianosman@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 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-08 20:37:05 +00:00
Jason Simmons
dd45c95e49
Fix memory leaks in some embedder unit tests that send key events ( flutter/engine#49548 )
...
FlutterEngineSendKeyEvent sends a platform message. The test's embedder configuration must have a platform message callback that calls FlutterEngineSendPlatformMessageResponse to free the message's response handle.
2024-01-08 19:58:52 +00:00
Jason Simmons
69f6a034c2
[Impeller] Start and end a frame in the RenderTargetCache for each rendering of an entity in the playgrounds ( flutter/engine#49576 )
...
This fixes the memory leak in the GaussianBlurFilter playground described in https://github.com/flutter/engine/pull/48472
2024-01-08 19:57:21 +00:00
Brandon DeRosier
fa43ada615
[Flutter GPU] Shader bundle improvements: Uniform structs & member offset reflection, GLES metadata, separate from runtime stage. ( flutter/engine#49485 )
...
* Switch from legacy uniform semantics to uniform structs.
* Completely separate shader bundle from runtime stage.
* Packing multiple backends per shader.
* Pack struct and member fields into the shader bundle flatbuffer.
* Bind uniforms with correct metadata for GLES.
* Add uniform struct size and member offset reflection.
2024-01-08 11:44:20 -08:00
gaaclarke
37a0efbee7
[Impeller] new blur: chop off blur extremities ( flutter/engine#49574 )
...
This is an optimization where we chop off samples at the end since they
contribute < 1.56% of the solution.
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide] and the [C++,
Objective-C, Java style guides].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [x] I added new tests to check the change I am making or feature I am
adding, or the PR is [test-exempt]. See [testing the engine] for
instructions on writing and running engine tests.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I signed the [CLA].
- [x] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[C++, Objective-C, Java style guides]:
https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
[testing the engine]:
https://github.com/flutter/flutter/wiki/Testing-the-engine
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
2024-01-08 10:17:14 -08:00
skia-flutter-autoroll
db090079a2
Roll Skia from 4b7cab157b50 to 88b7612add02 (2 revisions) ( flutter/engine#49595 )
...
https://skia.googlesource.com/skia.git/+log/4b7cab157b50..88b7612add02
2024-01-08 herb@google.com Myers EventQueue implementation
2024-01-08 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll vulkan-deps from eb5fcf15ff7f to eeaf035ba3a5 (3 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 armansito@google.com ,brianosman@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 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-08 16:22:06 +00:00
skia-flutter-autoroll
edfe48b00a
Roll Skia from 272281e56cdc to 4b7cab157b50 (1 revision) ( flutter/engine#49594 )
...
https://skia.googlesource.com/skia.git/+log/272281e56cdc..4b7cab157b50
2024-01-08 brianosman@google.com Reland "Add GCC support to Raster Pipeline"
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 armansito@google.com ,brianosman@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 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-08 15:24:17 +00:00
skia-flutter-autoroll
989c696b08
Roll Fuchsia Linux SDK from I-3hiLjX2DDy6mu22... to 6z4cZ6HUidtgmhvdk... ( flutter/engine#49592 )
...
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 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-08 14:44:22 +00:00
Matej Knopp
6818b23a15
Enforce consistent stack size for Flutter threads ( flutter/engine#49111 )
...
Fixes https://github.com/flutter/flutter/issues/72156
*If you had to change anything in the [flutter/tests] repo, include a
link to the migration guide as per the [breaking change policy].*
## Pre-launch Checklist
- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [X] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [X] I read and followed the [Flutter Style Guide] and the [C++,
Objective-C, Java style guides].
- [X] I listed at least one issue that this PR fixes in the description
above.
- [X] I added new tests to check the change I am making or feature I am
adding, or the PR is [test-exempt]. See [testing the engine] for
instructions on writing and running engine tests.
- [X] I updated/added relevant documentation (doc comments with `///`).
- [X] I signed the [CLA].
- [X] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[C++, Objective-C, Java style guides]:
https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
[testing the engine]:
https://github.com/flutter/flutter/wiki/Testing-the-engine
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
2024-01-08 10:31:02 +01:00