commit | 6a7dc402d5fb831f57d01af3b8f06e37475d179b | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Fri Jul 31 14:13:02 2020 -0700 |
committer | Yiwei Zhang <zzyiwei@google.com> | Fri Jul 31 14:24:52 2020 -0700 |
tree | 00f3297412ddcb641383eb87af02befd5de6fd18 | |
parent | 43f44ad7e339de1c449d621e35be8d2d1ef1d60c [diff] |
Zygote: preload Vulkan driver if hwui renders with Vulkan In Android 12, vkEnumerateInstanceVersion is made to trigger driver loading and the api itself neither has extra overhead nor talk to the driver. So this change uses vkEnumerateInstanceVersion to preload Vulkan driver in Zygote. Bug: 135536511 Test: atest CtsUiRenderingTestCases all pass on GL backend Test: atest CtsUiRenderingTestCases no regression on VK backend Change-Id: I5017b922843aadc2c4a4237711b8011857703129