Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@bdero
Copy link
Member

@bdero bdero commented Apr 11, 2023

Resolves flutter/flutter#124612.

Doing this would also allow us to remove the final blit on iOS when advanced blends/backdrop filters are present (all of the facilities would remain in place for GLES + Vulkan though).

@bdero bdero requested a review from chinmaygarde April 11, 2023 19:39
@bdero bdero self-assigned this Apr 11, 2023
@chinmaygarde
Copy link
Member

If this assumption is changing now, we should make the Vulkan backend do similar things as well. See VkSwapchainCreateInfoKHR::clipped which needs to be flipped too (in a separate patch is fine).

@bdero bdero force-pushed the bdero/layer-read branch from 15bed7d to 64cb52b Compare April 11, 2023 20:29
@bdero bdero merged commit ef089a6 into flutter:main Apr 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 11, 2023
bdero added a commit that referenced this pull request Apr 12, 2023
Removes the "final blit" for Metal because
#41085 allows us to read from the
onscreen texture.

We can't do this trick when running the Vulkan backend right now because
it doesn't have `SupportsReadFromResolve` yet, which means we need to
toggle between two textures.
zhongwuzw pushed a commit to zhongwuzw/engine that referenced this pull request Apr 14, 2023
Resolves flutter/flutter#124612.

Doing this would also allow us to remove the final blit on iOS when
advanced blends/backdrop filters are present (all of the facilities
would remain in place for GLES + Vulkan though).
zhongwuzw pushed a commit to zhongwuzw/engine that referenced this pull request Apr 14, 2023
Removes the "final blit" for Metal because
flutter#41085 allows us to read from the
onscreen texture.

We can't do this trick when running the Vulkan backend right now because
it doesn't have `SupportsReadFromResolve` yet, which means we need to
toggle between two textures.
bdero added a commit to bdero/flutter-engine that referenced this pull request May 25, 2023
Resolves flutter/flutter#124612.

Doing this would also allow us to remove the final blit on iOS when
advanced blends/backdrop filters are present (all of the facilities
would remain in place for GLES + Vulkan though).

(cherry picked from commit ef089a6)
auto-submit bot pushed a commit that referenced this pull request May 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

iOS Impeller-only crash with BackdropFilter+blank PlatformView

2 participants