OSDN Git Service

Default to libGLESv2 for EGL surface buffer creation.
authorNicolas Capens <capn@google.com>
Mon, 30 Oct 2017 14:46:56 +0000 (10:46 -0400)
committerNicolas Capens <nicolascapens@google.com>
Tue, 7 Nov 2017 21:31:09 +0000 (21:31 +0000)
commit3911efd7cb89f2f02dddf7ca3fdec492930ee0f1
treecfb7e9930e9fc52738acf8dab840f69f09fd1c37
parent2a3932cb7442a307b80ead23c88684ceb19785f4
Default to libGLESv2 for EGL surface buffer creation.

If both libGLES_CM and libGLESv2 are available, we were using the
former for creating the buffers of an EGL surface. The choice is
arbitrary, but it causes confusing issues when an interface changes
and one of the libraries wasn't rebuilt. This is less likely to occur
for libGLESv2.

Change-Id: If0c05d50a141c3782866892694d238332d8211db
Reviewed-on: https://swiftshader-review.googlesource.com/13388
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
src/OpenGL/libEGL/Surface.cpp