commit | 257223a176702c1b408d1530cba3f9a10c978c95 | [log] [tgz] |
---|---|---|
author | Yang Ni <yangni@google.com> | Thu Jan 12 14:18:53 2017 -0800 |
committer | Yang Ni <yangni@google.com> | Tue Jan 17 15:32:45 2017 -0800 |
tree | 1fc94398c51a6e903c891cc880ad4e5d0ea09a19 | |
parent | 92a65c7e3719f40468c3dff656a7c4034a5b7683 [diff] |
Fail gracefully than assert on RSoV context Bug: 30964317 Fail RSoV context creation without assertion if Vulkan initialization fails, e.g., if the GPU does not support Vulkan or if a GPU does not exist at all. Also avoided memory leak in Hal initialization code on failures to create CPU referenence or RSoV context. Test: RSoV on Volantis Change-Id: I49320607bb211e568008193fee1cca299fd4a80e