summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Anders Frostad Pedersen <anders.pedersen@arm.corp-partner.google.com> 2019-11-28 12:46:30 +0100
committer Yiwei Zhang <zzyiwei@google.com> 2019-11-29 18:06:46 -0800
commit9bb4db752dec48b5f608b0f3d6078258f38777d3 (patch)
tree6b82258b62bb0390ef3d1093242d9b08dc6ddcae /libs/gui/BufferQueueThreadState.cpp
parent6cea68f9a126090f4c291b1c59a7858a02fc0c56 (diff)
Vulkan: Improve error translation in CreateSwapChainKHR
Set VK_ERROR_OUT_OF_DEVICE_MEMORY in case the cause of the failure from dequeueBuffer is an actual ENOMEM situation. Otherwise set VK_ERROR_SURFACE_LOST_KHR as catch-all. Bug: 145331195 Test: dEQP-VK.wsi.android.swapchain.create.image_extent Change-Id: I8e7b4af3133e2a851beeda3618e24ca86279d317 Merged-In: I8e7b4af3133e2a851beeda3618e24ca86279d317
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions