diff options
| author | 2019-02-11 06:58:57 -0700 | |
|---|---|---|
| committer | 2019-03-25 07:56:21 -0600 | |
| commit | 1722f8e61d3ffe02de7b7ae3f0885cd262afc090 (patch) | |
| tree | c3e6cbfde1f65a8db3ca985cc57590d42e8c84c8 | |
| parent | 799fbfee0dd89e3ecb696927e98318b5cd837d2d (diff) | |
Advertise EGL_ANDROID_GLES_layers extension
Presence of the extension means libEGL will scan for layers and
enumerate their entrypoints by calling AndroidGLESLayer_Initialize
and AndroidGLESLayer_GetProcAddress.
Since tools must determine layering support before fully loading
libEGL, the following call will return extension strings without
loading vendor drivers:
eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
Bug: 110883880
Test: atest CtsGpuToolsHostTestCases
Test: Connect with GLES layers using GAPID and RenderDoc
Change-Id: Ib79193b3a0ac3dffacd51bc677b81c07ffcced93
| -rw-r--r-- | opengl/libs/EGL/egl_platform_entries.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl_platform_entries.cpp b/opengl/libs/EGL/egl_platform_entries.cpp index 872631f048..34262f3c63 100644 --- a/opengl/libs/EGL/egl_platform_entries.cpp +++ b/opengl/libs/EGL/egl_platform_entries.cpp @@ -139,7 +139,8 @@ char const * const gExtensionString = char const * const gClientExtensionString = "EGL_EXT_client_extensions " "EGL_KHR_platform_android " - "EGL_ANGLE_platform_angle"; + "EGL_ANGLE_platform_angle " + "EGL_ANDROID_GLES_layers"; // clang-format on // extensions not exposed to applications but used by the ANDROID system |