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

Commit ee306fd

Browse files
author
Jonah Williams
authored
[Impeller] enable ahb swapchain on emulators. (#54019)
Fixes flutter/flutter#147533 This works now that the backpressure issue is fixed. Maybe the wait semaphore didn't work, but the CPU wait on the fence does.
1 parent 207f088 commit ee306fd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

impeller/renderer/backend/vulkan/swapchain/swapchain_vk.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,8 @@ std::shared_ptr<SwapchainVK> SwapchainVK::Create(
5555
return nullptr;
5656
}
5757

58-
// TODO(147533): AHB swapchains on emulators are not functional.
59-
const auto emulator = ContextVK::Cast(*context).GetDriverInfo()->IsEmulator();
60-
6158
// Try AHB swapchains first.
62-
if (!emulator && AHBSwapchainVK::IsAvailableOnPlatform()) {
59+
if (AHBSwapchainVK::IsAvailableOnPlatform()) {
6360
auto ahb_swapchain = std::shared_ptr<AHBSwapchainVK>(new AHBSwapchainVK(
6461
context, //
6562
window.GetHandle(), //

0 commit comments

Comments
 (0)