summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Jesse Hall <jessehall@google.com> 2016-12-20 15:24:28 -0800
committer Jesse Hall <jessehall@google.com> 2017-01-17 11:45:41 -0800
commit1966cf622baabcb5e496bb9c9ce4a2f9c438b124 (patch)
treea20d4aa457cda970a255abe1ab3790e9ae1132ab /vulkan/libvulkan/api.cpp
parentb2401203c6a7c57a7f36efe02bdbd85bf2f64d1a (diff)
EGL: Load updated EGL/GLES drivers
Because the driver namespace is stored in libgui, and libgui depends on libEGL, this required a hack for libEGL to access the namespace. See the comment added in GraphicsEnv.h for details; the summary is that the libgui->libEGL dependency should go away, and then libEGL can depend on libgui directly. For system drivers, the loader would happily load anything named lib{GLES,EGL,GLESv2,GLESv1_CM}_*.so in /vendor/lib[64]/egl, for backward-compatibility with the old and no-longer-supported egl.cfg system. However, it preferred unsuffixed names. That's not actually a good idea, since the DT_SONAME would clash with the system libraries. For updated drivers, we only look for suffixes from the ro.hardware.egl and ro.board.platform system properties, similar to the Vulkan and HAL library search. A future change (tied to a future release) will do the same for system drivers. Bug: 33531483 Test: Launch GLES apps w/ and w/o updated driver package Change-Id: Ibfbb275629b0c6cf9c51314aea1361e81ff72d4b
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions