diff options
author | 2016-12-20 15:24:28 -0800 | |
---|---|---|
committer | 2017-01-17 09:34:12 -0800 | |
commit | a91f64cbe1bc057a466a865446767ffd48133a8f (patch) | |
tree | cbb734b4cbe5c2d11c8f284007b8156ad2d79939 /cmds/cmd/cmd.cpp | |
parent | afd02885b98d85df0ae516bf8d89b90f9c6f6d00 (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
Change-Id: If6eb7dbbc37f219c999e20a983569d4c4e73bda1
Merged-In: Ibfbb275629b0c6cf9c51314aea1361e81ff72d4b
Diffstat (limited to 'cmds/cmd/cmd.cpp')
0 files changed, 0 insertions, 0 deletions