summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.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-05 21:23:14 +0000
commit5384962519bd277ea3a57b939525ac235fe0ba61 (patch)
tree2f8d356bb3cc0e1918cc026f27a2858458e4bff0 /libs/gui/LayerDebugInfo.cpp
parent9a8bd42d5890e9ddaba0abda17294000db0ee001 (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 Merged-In: I462e076fc500d84fa2a27abfa491f82db4a9df80 Change-Id: I59805445fd101707bda867d29c23a25e24f173d8
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions