commit | 702beb4d24a7f0f0ea9f0c98e67fdb6ef8551274 | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Fri Nov 29 17:59:55 2019 -0800 |
committer | Yiwei Zhang <zzyiwei@google.com> | Fri Nov 29 18:03:34 2019 -0800 |
tree | 3393d0b6694fe0ae56f355072eb2c7710e86a3ac | |
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