OSDN Git Service

EGL: Do not look up default namespace when sphal is defined
authorJustin Yun <justinyun@google.com>
Mon, 22 May 2017 06:13:40 +0000 (15:13 +0900)
committerJustin Yun <justinyun@google.com>
Wed, 24 May 2017 04:49:14 +0000 (13:49 +0900)
commitb732030e847e74f00ecd37ff15a36b103efd97b9
tree92a0b3537a975553383b908803b05c95254fc428
parent9b8c084f7c2ed18330ef38e5f42bc8e5cf505fe3
EGL: Do not look up default namespace when sphal is defined

If sphal name space exists, try to load drivers from sphal.
This patch stops loading the driver if it fails to find the driver
from sphal, instead of falling back to the default namespace.

Bug: 38435840
Test: sailfish builds and boots
Change-Id: Ib8ba73f57aa25431c4a2efe7c61a3699237cc3d2
opengl/libs/Android.bp
opengl/libs/EGL/Loader.cpp