summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorYiwei Zhang <zzyiwei@google.com>2020-07-31 14:13:02 -0700
committerYiwei Zhang <zzyiwei@google.com>2020-07-31 14:24:52 -0700
commit6a7dc402d5fb831f57d01af3b8f06e37475d179b (patch)
tree00f3297412ddcb641383eb87af02befd5de6fd18 /opengl/tests/gl_basic/gl_basic.cpp
parent43f44ad7e339de1c449d621e35be8d2d1ef1d60c (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
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions