[Impeller] enable ahb swapchain on emulators. (flutter/engine#54019)
Fixes https://github.com/flutter/flutter/issues/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.
This commit is contained in:
parent
0e9b328fc2
commit
dd16661b5c
@ -55,11 +55,8 @@ std::shared_ptr<SwapchainVK> SwapchainVK::Create(
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// TODO(147533): AHB swapchains on emulators are not functional.
|
||||
const auto emulator = ContextVK::Cast(*context).GetDriverInfo()->IsEmulator();
|
||||
|
||||
// Try AHB swapchains first.
|
||||
if (!emulator && AHBSwapchainVK::IsAvailableOnPlatform()) {
|
||||
if (AHBSwapchainVK::IsAvailableOnPlatform()) {
|
||||
auto ahb_swapchain = std::shared_ptr<AHBSwapchainVK>(new AHBSwapchainVK(
|
||||
context, //
|
||||
window.GetHandle(), //
|
||||
|
Loading…
x
Reference in New Issue
Block a user