We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b6df7 commit 3bd4051Copy full SHA for 3bd4051
shell/platform/fuchsia/flutter/vulkan_surface_pool.cc
@@ -129,7 +129,11 @@ void VulkanSurfacePool::SubmitSurface(
129
const flutter::LayerRasterCacheKey& retained_key =
130
vulkan_surface->GetRetainedKey();
131
132
- if (retained_key.id() != 0) {
+ // TODO(https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=44141): Re-enable
133
+ // retained surfaces after we find out why textures are being prematurely
134
+ // recycled.
135
+ const bool kUseRetainedSurfaces = false;
136
+ if (kUseRetainedSurfaces && retained_key.id() != 0) {
137
// Add the surface to |retained_surfaces_| if its retained key has a valid
138
// layer id (|retained_key.id()|).
139
//
0 commit comments