summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL/egl_display.cpp
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-11-03 17:42:43 -0700
committerJamie Gennis <jgennis@google.com>2011-11-04 15:01:51 -0700
commit0dc908ce71cb643dfb41598be9f358baec93fc41 (patch)
tree9e2f9be0e792e766fd31243b5b89f139377822ce /opengl/libs/EGL/egl_display.cpp
parent62015f5d0d1104dfc682b3eb3b6c0be4f63b985a (diff)
downloadframeworks_base-0dc908ce71cb643dfb41598be9f358baec93fc41.zip
frameworks_base-0dc908ce71cb643dfb41598be9f358baec93fc41.tar.gz
frameworks_base-0dc908ce71cb643dfb41598be9f358baec93fc41.tar.bz2
EGL: Add stubs for EGL_ANDROID_blob_cache
This change adds a stub cache implementation that gets passed to the underlying EGL implementation at initialization time. Change-Id: I14437c5b6f91b7a34a19bb02ad802e6e54f88d2a
Diffstat (limited to 'opengl/libs/EGL/egl_display.cpp')
-rw-r--r--opengl/libs/EGL/egl_display.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/opengl/libs/EGL/egl_display.cpp b/opengl/libs/EGL/egl_display.cpp
index 83aafa6..0f92864 100644
--- a/opengl/libs/EGL/egl_display.cpp
+++ b/opengl/libs/EGL/egl_display.cpp
@@ -14,6 +14,7 @@
** limitations under the License.
*/
+#include "egl_cache.h"
#include "egl_display.h"
#include "egl_object.h"
#include "egl_tls.h"
@@ -170,6 +171,8 @@ EGLBoolean egl_display_t::initialize(EGLint *major, EGLint *minor) {
}
}
+ egl_cache_t::get()->initialize(this);
+
EGLBoolean res = EGL_FALSE;
for (int i = 0; i < IMPL_NUM_IMPLEMENTATIONS; i++) {
egl_connection_t* const cnx = &gEGLImpl[i];