diff options
| author | 2019-11-29 17:59:55 -0800 | |
|---|---|---|
| committer | 2019-11-29 18:03:34 -0800 | |
| commit | 702beb4d24a7f0f0ea9f0c98e67fdb6ef8551274 (patch) | |
| tree | 3393d0b6694fe0ae56f355072eb2c7710e86a3ac /libs/gui/BufferQueueThreadState.cpp | |
| parent | 042d728d1d53408053d58069f7f6a401cbad788a (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
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions