Jason Simmons
3645fa8b52
Manual Dart roll to 7173b4dd0163 ( flutter/engine#52425 )
...
Updates test expectations for a change to the expect.dart library
2024-04-28 00:55:24 +00:00
skia-flutter-autoroll
52c218b71f
Roll Fuchsia Linux SDK from Rc4K-_-ym7vwUzXyo... to SVcynyah0BO4d5mRM... ( flutter/engine#52413 )
...
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 jimgraham@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-04-27 01:46:56 +00:00
skia-flutter-autoroll
49c1cbaa6d
Roll Skia from 3401ef9641cc to a819e9fa3016 (17 revisions) ( flutter/engine#52412 )
...
https://skia.googlesource.com/skia.git/+log/3401ef9641cc..a819e9fa3016
2024-04-26 johnstiles@google.com Allow pre/post-increment on vectors and matrices.
2024-04-26 johnstiles@google.com Add support for non-scalar pre/postincrement in SPIR-V.
2024-04-26 kjlubick@google.com Make module for mock ganesh backend
2024-04-26 jvanverth@google.com [graphite] Compute largest valid UV inset rectangle for subsets.
2024-04-26 johnstiles@google.com Add support for matrix pre/postincrement in Metal.
2024-04-26 brianosman@google.com Properly pre-size path storage in addOval and addRRect
2024-04-26 johnstiles@google.com Add SPIR-V `writeBinaryOperationComponentwiseIfMatrix`.
2024-04-26 johnstiles@google.com Fix signedness of format string.
2024-04-26 jvanverth@google.com [graphite] Remove unnecessary checks in UV inset setup.
2024-04-26 michaelludwig@google.com [graphite] Dst copy tasks stored in DrawTask not root Recorder task list
2024-04-26 scroggo@google.com Revert "Use a VMA block size of only 64k"
2024-04-26 brianosman@google.com Improve SkArc ergonomics, use it everywhere but SkCanvas
2024-04-26 michaelludwig@google.com [graphite] Assume sources are already instantiated in copies
2024-04-26 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e65031c8b1d6 to 736920240f0b (1 revision)
2024-04-26 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from e6a1f0f0732a to 07bdf2c05272 (10 revisions)
2024-04-26 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from e6a1f0f0732a to 07bdf2c05272
2024-04-25 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from c771d4aa9a32 to e65031c8b1d6 (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 brianosman@google.com ,jimgraham@google.com,jvanverth@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-04-27 00:41:59 +00:00
Tong Mu
94448fc97f
Move PointerDataPacketConverter from PlatformView to RuntimeController ( flutter/engine#51952 )
...
This is a refactor that moves the `PointerDataPacketConverter` from `PlatformView` to `RuntimeController`.
This change is made for the following reasons:
- Currently, the pointer data conversion contains no platform specific logic (because the current converter's only responsibility is to make the event sequence conform Flutter's protocol). Therefore these logics should reside in a platform-independent place.
- The converter typically converts one event to many. It's better to have this conversion later than earlier.
- It removes a member from `PlatformView`, making it closer to a pure virtual class.
The reason to choose `RuntimeController` as the destination is because `RuntimeController` manages a map for views, which is required for the converter to implement a later patch https://github.com/flutter/engine/pull/51925 .
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-04-26 23:45:21 +00:00
skia-flutter-autoroll
dc5d935340
Roll Dart SDK from 9936bafe5eb1 to 919c7cab870b (1 revision) ( flutter/engine#52407 )
...
https://dart.googlesource.com/sdk.git/+log/9936bafe5eb1..919c7cab870b
2024-04-26 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.5.0-105.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 ,jimgraham@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-04-26 21:02:05 +00:00
gabeschine
6b3f0f17dc
Delete errant back-tick in CONTRIBUTING.md ( flutter/engine#52324 )
...
Delete an extra "`" in `CONTRIBUTING.md` in a code block.
No issues associated with this change.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-04-26 20:06:47 +00:00
Dustin Green
1bdc2a83c6
[fuchsia] route fuchsia.sysmem2.Allocator ( flutter/engine#52187 )
...
Fuchsia's fake-display will be migrating to sysmem2, which requires fuchsia.sysmem2.Allocator to be routed in a few places.
fixes flutter/flutter#146858
- [y] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [y] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
- [na] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides].
- [y] I listed at least one issue that this PR fixes in the description above.
- [fixes to existing tests] 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.
- [na] I updated/added relevant documentation (doc comments with `///`).
- [na / googler] I signed the [CLA].
- [y] All existing and new tests are passing.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-04-26 20:05:09 +00:00
Jonah Williams
3cae3c9f7b
[Impeller] clamp maximum glyph scale. ( flutter/engine#52403 )
...
Workaround for https://github.com/flutter/flutter/issues/136112
If the glyph scale is too large, say in the hundreds or thousands, then glyph itself will likely be too big to fit in the atlas. Instead of failing to render - clamp the scale (not the size, which is bounds * scale) to a much lower scaling parameter.
2024-04-26 17:06:13 +00:00
Zachary Anderson
2015604d7a
Add markdown docs about RBE ( flutter/engine#52394 )
2024-04-26 09:34:10 -07:00
skia-flutter-autoroll
02d2b5218e
Roll Skia from 52083c205016 to 3401ef9641cc (5 revisions) ( flutter/engine#52402 )
...
https://skia.googlesource.com/skia.git/+log/52083c205016..3401ef9641cc
2024-04-25 jamesgk@google.com Move some Ganesh rrect blur code to gpu/
2024-04-25 michaelludwig@google.com [graphite] Remove 'k' from op labels
2024-04-25 michaelludwig@google.com Fix protected setting in unit test
2024-04-25 fmalita@google.com [svg] Add new private header to public.bzl
2024-04-25 kjlubick@google.com Apply fixes to coretext Bazel targets
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 ,jimgraham@google.com,jvanverth@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-04-26 15:32:12 +00:00
Jason Simmons
bef76e554e
Fix function type cast warnings for macOS embedder callbacks ( flutter/engine#52377 )
...
The latest version of Clang is reporting warnings from the -Wcast-function-type-mismatch check when a function taking a __strong pointer parameter is converted to a void* parameter.
2024-04-26 15:28:11 +00:00
Brandon DeRosier
410b3e7ed3
[Flutter GPU] Add support for drawing Flutter GPU textures in the playground. ( flutter/engine#52352 )
2024-04-25 20:43:43 -07:00
skia-flutter-autoroll
28e549398b
Roll Fuchsia Linux SDK from PJBX8xxRnd5vCFnQM... to Rc4K-_-ym7vwUzXyo... ( flutter/engine#52404 )
...
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 jimgraham@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-04-26 00:33:03 +00:00
Jenn Magder
59cd6af303
Remove "gclient sync" warning call during pre-rebase ( flutter/engine#52342 )
...
Remove `pre-rebase` check from `gclient sync` warning, and instead remove the warning call from `pre_rebase_command`
Follow-up to https://github.com/flutter/engine/pull/52133#discussion_r1575447161
2024-04-25 23:12:03 +00:00
Jonah Williams
5935f48862
[Impeller] while we still have benchmarks, see if we're efficient enough for this to be faster. ( flutter/engine#52398 )
...
We don't need to decode images to a malloc'd buffer, but this benchmarked as faster because we did so much allocation during the frame. Maybe this is better now? Lets run the benchmarks
2024-04-25 21:12:10 +00:00
Jonah Williams
45d5af365f
[Impeller] Vulkan validation off by default. ( flutter/engine#52397 )
...
Fixes https://github.com/flutter/flutter/issues/142659
can be turned on via --enable-vulkan-validation cmd line flag.
2024-04-25 21:04:04 +00:00
skia-flutter-autoroll
67c113eb55
Roll Skia from cb32ad619678 to 52083c205016 (1 revision) ( flutter/engine#52396 )
...
https://skia.googlesource.com/skia.git/+log/cb32ad619678..52083c205016
2024-04-25 michaelludwig@google.com [graphite] Instantiate non-budgeted TextureProxies in Make()
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 ,jimgraham@google.com,jvanverth@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-04-25 20:52:22 +00:00
Jonah Williams
9dbe934a9b
[Impeller] kick off registration and initial PSO compilation of runtime effect earlier. ( flutter/engine#52381 )
...
I thought about changing this API so that it blocks on compilation, but I think that isn't necesasary as the workload can happen while the UI thread is building. Plus, even blocking on shader completion does not guarantee that we won't need to compile a variant anyway.
While I was at it I moved the descriptor sets computation to the runtime effect constructor.
With this change the pipleine variant used during the frame is produced much faster than the initial 12ms compilation.

Fixes https://github.com/flutter/flutter/issues/113719
Fixes https://github.com/flutter/flutter/issues/141222
2024-04-25 20:23:56 +00:00
Jonah Williams
b14463a57b
[Impeller] combine text shaders. ( flutter/engine#52392 )
...
Combine both text shaders into one. One more down!
https://github.com/flutter/flutter/issues/143540
2024-04-25 20:18:13 +00:00
skia-flutter-autoroll
8e9dd76646
Roll Skia from 67bba57bfe80 to cb32ad619678 (2 revisions) ( flutter/engine#52395 )
...
https://skia.googlesource.com/skia.git/+log/67bba57bfe80..cb32ad619678
2024-04-25 jvanverth@google.com [graphite] Fix edges of YUV images.
2024-04-25 fmalita@google.com [svg] Optional ellipse radii
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 ,jimgraham@google.com,jvanverth@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-04-25 18:42:05 +00:00
skia-flutter-autoroll
a36407757b
Roll Dart SDK from b5f51d886819 to f9c9894a2500 (1 revision) ( flutter/engine#52393 )
...
https://dart.googlesource.com/sdk.git/+log/b5f51d886819..f9c9894a2500
2024-04-25 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.5.0-101.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 ,jimgraham@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-04-25 17:58:26 +00:00
skia-flutter-autoroll
3a3e735e23
Roll Skia from b440433e2df5 to 67bba57bfe80 (1 revision) ( flutter/engine#52391 )
...
https://skia.googlesource.com/skia.git/+log/b440433e2df5..67bba57bfe80
2024-04-25 robertphillips@google.com [graphite] Swap the PrecompileShaders and Priv LocalMatrix factories
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 ,jimgraham@google.com,jvanverth@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-04-25 17:13:06 +00:00
Zachary Anderson
c04e13ac47
Remove goma support from impeller-cmake-example ( flutter/engine#52390 )
2024-04-25 10:05:23 -07:00
Jonah Williams
dc65cc62c1
[Impeller] delete specific vertices shader. ( flutter/engine#52360 )
...
Once https://github.com/flutter/engine/pull/52348 and https://github.com/flutter/engine/pull/52345 land we can delete this shader
Part of https://github.com/flutter/flutter/issues/143540
2024-04-25 16:48:13 +00:00
skia-flutter-autoroll
f9f053e8df
Roll Skia from 283d3e4e8e35 to b440433e2df5 (3 revisions) ( flutter/engine#52389 )
...
https://skia.googlesource.com/skia.git/+log/283d3e4e8e35..b440433e2df5
2024-04-25 michaelludwig@google.com [graphite] Add RenderPassDesc to pipeline labels and traces
2024-04-25 robertphillips@google.com Preserve presence/absence of optional matrices in CanvasKit
2024-04-25 brianosman@google.com Increase RescaleWithTransform tolerance slightly more for Pixel 4a
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 ,jimgraham@google.com,jvanverth@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-04-25 16:05:06 +00:00
skia-flutter-autoroll
8ef8dc0c10
Roll Dart SDK from 386cac001e2b to b5f51d886819 (1 revision) ( flutter/engine#52388 )
...
https://dart.googlesource.com/sdk.git/+log/386cac001e2b..b5f51d886819
2024-04-25 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.5.0-100.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 ,jimgraham@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-04-25 13:48:27 +00:00
skia-flutter-autoroll
34ae8325a3
Roll Skia from 864f6d868ec0 to e1fbdd02b79b (1 revision) ( flutter/engine#52383 )
...
https://skia.googlesource.com/skia.git/+log/864f6d868ec0..e1fbdd02b79b
2024-04-25 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from b24132ef5cdf to e6a1f0f0732a (21 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 ,jimgraham@google.com,jvanverth@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-04-25 05:52:15 +00:00
Ian Hickson
b7117adf38
Document the new binding hooks for SceneBuilder, PictureRecorder, Canvas ( flutter/engine#52374 )
...
See https://github.com/flutter/flutter/pull/147271 for context.
Do not land until https://github.com/flutter/flutter/pull/147271 has landed.
2024-04-25 03:05:20 +00:00
Tong Mu
43fed272aa
[macOS] Remove extra setViewController and extra import ( flutter/engine#52255 )
...
This stub PR removes and extra `setViewController`, which is unnecessary because the view controller's initializer already attaches itself to the engine.
This PR also removes an extra import since `FlutterCompositor` is not used in the engine's definition. As a result, `FlutterEngineTest.mm` needs to import it explicitly.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-04-25 00:26:12 +00:00
Jonah Williams
3385d10982
[Impeller] only use porter duff or vertices.uber for drawVertices. ( flutter/engine#52345 )
...
Simplifcation that will allow us to remove the special case position_color.vert and vertices.frag shaders, not done here because drawAtlas also needs to be updated. This also fixes sparkle-party like rendering bugs where we incorrectly relied on a color filter.
The problem with doing advanced blends between the vertices with a color filters was three fold:
1. We would render incorrectly when vertices overlapped.
2. We had to disable MSAA to remove artifacts
3. The sub render pass was slow.
Below is an example of the incorrect rendering caused by overlapping vertices on the sparkle party app.
## Skia (Advanced blend)

## Impeller (ToT)

## Impeller w/ patch

Fixes https://github.com/flutter/flutter/issues/131345
2024-04-24 23:45:49 +00:00
skia-flutter-autoroll
b26ff455f5
Roll Fuchsia Linux SDK from le_-uFgRD5DjvvqgL... to PJBX8xxRnd5vCFnQM... ( flutter/engine#52376 )
...
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 jimgraham@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-04-24 23:21:29 +00:00
Jonah Williams
a9414aa74e
[Impeller] Remove additional shader bootstrap. ( flutter/engine#52368 )
...
Because these shaders must first acquire the prototype shader, it causes ContentContext creation to block. We can re-explore dealing with PSO generation in a different manner that isn't on the startup fast path.
https://github.com/flutter/flutter/issues/143540
2024-04-24 23:06:02 +00:00
Matan Lurey
b81845d228
Remove TODO I will never do: runIfNot is deprecated. ( flutter/engine#52308 )
...
🖖🏼
2024-04-24 15:40:57 -07:00
skia-flutter-autoroll
c9b48b4619
Roll Dart SDK from 38c43a01a51e to 9a0f141e9a67 (1 revision) ( flutter/engine#52373 )
...
https://dart.googlesource.com/sdk.git/+log/38c43a01a51e..9a0f141e9a67
2024-04-24 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.5.0-97.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 ,jimgraham@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-04-24 22:22:05 +00:00
Brandon DeRosier
524fc9e31b
[Impeller] Cleanup legacy StencilModes and document overdraw prevention. ( flutter/engine#52372 )
...
We don't need `kLegacyClipDecrement` or `kLegacyClipCompare` anymore, but we still need `kLegacyClipRestore` and `kLegacyClipIncrement`. So I renamed these to `kOverdrawPreventionRestore` and `kOverdrawPreventionIncrement` respectively and documented how they're used.
2024-04-24 21:58:59 +00:00
Jason Simmons
97993d97a3
Move zlib to //flutter/third_party ( flutter/engine#52366 )
...
Fixes https://github.com/flutter/flutter/issues/146598
2024-04-24 21:07:47 +00:00
Victoria Ashworth
f2c245f93e
Remove UIAccessibilityTraitKeyboardKey to fix touch typing ( flutter/engine#52333 )
...
`UIAccessibilityTraitKeyboardKey` was added in https://github.com/flutter/engine/pull/4575 so that `TextInputSemanticsObject` supported VoiceOver gestures for text editing features, such as pinch to select text, and up/down fling to move cursor. After experimenting with it, I found that those features were still available even after removing `UIAccessibilityTraitKeyboardKey`.
Fixes https://github.com/flutter/flutter/issues/94465 .
In Touch Typing Mode:
https://github.com/flutter/engine/assets/15619084/ccfe90ff-d3bc-427b-b1aa-9ec1242c0c89
In Standard Typing Mode:
https://github.com/flutter/engine/assets/15619084/c78b1fb0-0816-41fb-9dd5-ed8b8a4cda2d
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-04-24 21:05:13 +00:00
Brandon DeRosier
e8db04338d
[Impeller] Remove libtess2 from libflutter. ( flutter/engine#52357 )
...
- Move libtess-powered functionality into an `impeller::Tessellator` subclass called `impeller::TessellatorLibtess`.
- `impeller::Tessellator` now only contains `Tessellator::TessellateConvex` and utilities for fast circles/ellipses.
- Use `impeller::TessellatorLibtess` in geometry_benchmarks, renderer_unittests, and the C tessellator API implementation.
- Continue using `impeller::Tessellator` in Impeller, but without the libtess2 dependency.
2024-04-24 20:52:23 +00:00
skia-flutter-autoroll
5ec2bd8b2b
Roll Skia from 510b6766d907 to afcc1db27593 (2 revisions) ( flutter/engine#52367 )
...
https://skia.googlesource.com/skia.git/+log/510b6766d907..afcc1db27593
2024-04-24 egdaniel@google.com [Graphite] Add labels for buffer resources.
2024-04-24 robertphillips@google.com [graphite] Reduce shader variation due to LocalMatrixShaders
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 ,jimgraham@google.com,jvanverth@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-04-24 20:46:04 +00:00
Yegor
20e2de3a37
[web:tests] switch to new HTML DOM matcher ( flutter/engine#52354 )
...
Remove the over-architected and under-utilized `canonicalizeHtml` and `HtmlComparisonMode`. Replace with a new `hasHtml` matcher.
The new matcher produces considerably better error messages when matching fails (see `matchers_test.dart` for multiple examples). It also allows focusing on particular parts of the DOM rather than looking for a full match. This way a test can test just the functionality it cares about, and it can skip specifying what unrelated parts should look like (i.e. it prevents over-testing). For example, let's say you want to test that an `<flt-semantics>` element has an `aria-label` attribute. You can use a DOM pattern that specified just that:
```
expect(
element,
hasHtml('<flt-semantics aria-label="hello"></flt-semantics>'),
)
```
This will check for the existence of `<flt-semantics>` and `aria-label="hello"`. It will ignore everything else that's unrelated to ARIA labels. For example, the element may have its geometry specified in the `style` attribute, an `id` attribute, and many other things, but if the test doesn't care, it doesn't need to specify those things (it can, if needs to though). This also applies to `style` properties. See more examples in the `matchers_test.dart` file.
2024-04-24 20:40:06 +00:00
Jonah Williams
5360ab3084
[Impeller] use spec constant for gaussian shader, rename, and reuse vertex sources. ( flutter/engine#52361 )
...
Reduces shader count slightly, and reduces duplication of source code for vertex stages that are identical.
Part of https://github.com/flutter/flutter/issues/143540
2024-04-24 19:31:46 +00:00
Jonah Williams
6dca56fb0e
[Impeller] delete points compute shader. ( flutter/engine#52346 )
...
We only use this for drawPoints, a rarely used API. On local tests, this is just as fast with the CPU backend implementations.
While this was intended to be the first in a series of compute based rendering experiments, it hasn't really been worth the carrying cost. So lets shrink the complexity and and remove another shader to boot.
Fixes https://github.com/flutter/flutter/issues/147184
2024-04-24 18:24:06 +00:00
Byoungchan Lee
011c50a4c5
[darwin] Update pixel format handling in FlutterTexture ( flutter/engine#52326 )
...
CVPixelBuffers from the application can have arbitrary pixel formats. However, current implementation doesn't support all pixel formats. To address this, add a comment to the FlutterTexture class to clarify which pixel formats are supported. Also, reject unsupported pixel formats so that the application can handle them properly.
Fixes [#147242 ](https://github.com/flutter/flutter/issues/147242 ).
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-04-24 18:10:17 +00:00
Jonah Williams
15e063537f
[Impeller] make drawAtlas always use porterduff or vertices_uber shader ( flutter/engine#52348 )
...
The drawAtlas component of https://github.com/flutter/engine/pull/52345 . DrawAtlas did not have the same advanced blend/overlapping issues as draw vertices because of the sorting and generation of the sub-atlas, but given that the vertices uber shader exists we can just use that instead.
Will eventually allow deleting the other drawVertices special case shaders.
2024-04-24 17:58:08 +00:00
Jenn Magder
382620c0ef
Migrate ios_surface files to ARC ( flutter/engine#52139 )
...
Smart pointers support ARC as of https://github.com/flutter/engine/pull/47612 , and the unit tests were migrated in https://github.com/flutter/engine/pull/48162 .
Migrate `ios_surface` classes from MRC to ARC.
Decorate C functions that take or return Objective-C objects or structs containing Objective-C objects with [`cf_audited_transfer`](https://clang.llvm.org/docs/AutomaticReferenceCounting.html#auditing-of-c-retainable-pointer-interfaces ).
Part of https://github.com/flutter/flutter/issues/137801 .
2024-04-24 17:54:09 +00:00
skia-flutter-autoroll
79e3ae8c6f
Roll Skia from b5dd23bd29df to 510b6766d907 (16 revisions) ( flutter/engine#52364 )
...
https://skia.googlesource.com/skia.git/+log/b5dd23bd29df..510b6766d907
2024-04-24 michaelludwig@google.com [graphite] Move YUVATextureProxies logic into Image_YUVA
2024-04-24 jamesgk@google.com [graphite][cleanup] Remove unused kIgnoreMaskFilter flag
2024-04-24 jcgregorio@google.com Remove Pixel3 and Intel BayTrail devices.
2024-04-24 brianosman@google.com Reland "Reland "Restore affine bitmap procs""
2024-04-24 kjlubick@google.com Add define to signal Android FontMgr is available
2024-04-24 jamesgk@google.com [graphite] Precalculation for analytic circle blur
2024-04-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll shaders-base from cbf986e97789 to edc6a51fe9de
2024-04-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll debugger-app-base from 24edbde4082b to e9508b902e1a
2024-04-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll skottie-base from 822c202b73bc to b0e42fbd5e63
2024-04-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll jsfiddle-base from 453d00b44c6b to c9b24124977b
2024-04-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from f231db78374b to 8ff7d8bf1899 (3 revisions)
2024-04-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from b24132ef5cdf to 26741f478094
2024-04-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from eb81b28b0318 to b24132ef5cdf (11 revisions)
2024-04-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 9aec4b969291 to 76f7f8cfea80 (1 revision)
2024-04-24 armansito@google.com [graphite] compute-msaa8 atlas path rendering mode
2024-04-24 armansito@google.com [graphite][dawn] Ensure r8unorm storage usage is not advertised in WASM
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 ,jimgraham@google.com,jvanverth@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-04-24 17:48:05 +00:00
Jason Simmons
b84c057bfb
Fix some warnings reported by recent versions of clang-tidy ( flutter/engine#52349 )
...
* Invalid enum values in the embedder library
* Disable a check that warns about standard usage of GTK macros in the Linux embedder
2024-04-24 17:46:19 +00:00
skia-flutter-autoroll
608dcf5739
Roll Skia from e15464e6e982 to b5dd23bd29df (1 revision) ( flutter/engine#52353 )
...
https://skia.googlesource.com/skia.git/+log/e15464e6e982..b5dd23bd29df
2024-04-24 michaelludwig@google.com [graphite] Support one-time-only tasks in Recordings
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 ,jimgraham@google.com,jvanverth@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-04-24 15:50:21 +00:00
skia-flutter-autoroll
d0326c9d7d
Roll Dart SDK from 5227dc5103f6 to f470eaaf6e6d (1 revision) ( flutter/engine#52359 )
...
https://dart.googlesource.com/sdk.git/+log/5227dc5103f6..f470eaaf6e6d
2024-04-24 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.5.0-95.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 ,jimgraham@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-04-24 14:04:22 +00:00
skia-flutter-autoroll
83a95410b8
Roll Dart SDK from cf9144942ca1 to 60cb97ab64e6 (1 revision) ( flutter/engine#52351 )
...
https://dart.googlesource.com/sdk.git/+log/cf9144942ca1..60cb97ab64e6
2024-04-24 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.5.0-93.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 ,jimgraham@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-04-24 02:37:13 +00:00