summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Tim Van Patten <timvp@google.com> 2021-03-02 19:24:29 -0700
committer Tim Van Patten <timvp@google.com> 2021-03-04 10:43:29 -0700
commit0222871bc87d9e844315d8a40df4a84f36665ca2 (patch)
treef7460e935a221cf5a77d523fd7d83acd685c1f61 /vulkan/libvulkan/api.cpp
parent7a2cfcbcb48f8d2115a9695e5f492b873daa288f (diff)
Read ro.hardware.egl for ANGLE's filename
The ANGLE shared object filename is currently hardcoded to libGLESv2_angle.so, which prevents OEMs from specifying their own filename when using ANGLE as the default OpenGL ES driver. This CL updates initializeAnglePlatform() to build the ANGLE library filename using the suffix specified by ro.hardware.egl when loading ANGLE as the default OpenGL ES driver. The filename when loading ANGLE from an APK will remain libGLESv2_angle.so, for compatibilty reasons. This enforces naming conventions when loading ANGLE APKs on to the device, regardless of the name of the built-in version of ANGLE. Bug: 178871212 Test: Build and launch CF Change-Id: I462e076fc500d84fa2a27abfa491f82db4a9df80
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions