summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2017-06-21 12:26:51 +0900
committer Steven Moreland <smoreland@google.com> 2017-09-06 11:02:01 -0700
commit5309d7d25fb1192e2303671aebb008541e32c407 (patch)
tree58f062cce03cb876a55080627f67b1074aa75d4f /libs/gui/ConsumerBase.cpp
parentd11172e384f273fe9c159d8a21b680c5d45b0fc6 (diff)
Mark EGL/GLES libs as vendor_available
EGL/GLES libs are marked as vendor_available, otherwise vendors are not able to use OpenGL. The libs were not simply declared as LL-NDK because doing so causes the dual loading of libui.so in vendor processes; platform version of libui.so is loaded since it is depended by libEGL.so whereas there also is vendor version of libui.so in /system/lib/vndk. When libEGL.so is built for vendors, 1) libgraphicsenv is removed from its dependency list as the lib must not be available to vendors and 2) eglGetNativeClientBufferANDROID is unusable since the function relies on AHardwareBuffer_to_ANativeWindowBuffer which isn't available to vendor. Bug: 37731063 Test: BOARD_VNDK_VERSION=current m -j libEGL.vendor Test: BOARD_VNDK_VERSION=current m -j libGLESv2.vendor Change-Id: I83a128b14a5d852bb0f2cd821a8e3f82c66a313f Merged-In: I83a128b14a5d852bb0f2cd821a8e3f82c66a313f
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions