summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL/egl_display.cpp
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-11-06 14:14:33 -0800
committerJamie Gennis <jgennis@google.com>2011-11-07 10:48:42 -0800
commit9cf8b6eadba70aca871faf8ba23825c57ede7cb5 (patch)
treef20ea0c87b780ef96d185ef51a36f28d51a54635 /opengl/libs/EGL/egl_display.cpp
parent2ab7ec90e4a6f21bee7cbfebbd751d32d4cf9e03 (diff)
downloadframeworks_base-9cf8b6eadba70aca871faf8ba23825c57ede7cb5.zip
frameworks_base-9cf8b6eadba70aca871faf8ba23825c57ede7cb5.tar.gz
frameworks_base-9cf8b6eadba70aca871faf8ba23825c57ede7cb5.tar.bz2
EGL: use an in-memory the blob cache
This change makes the makes the stub EGL_ANDROID_blob_cache callbacks actually use a BlobCache object. Bug: 5474671 Change-Id: I5cbaae2dea3aad2fe306c9f57029c3f215a0863a
Diffstat (limited to 'opengl/libs/EGL/egl_display.cpp')
-rw-r--r--opengl/libs/EGL/egl_display.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/libs/EGL/egl_display.cpp b/opengl/libs/EGL/egl_display.cpp
index 0f92864..558ca77 100644
--- a/opengl/libs/EGL/egl_display.cpp
+++ b/opengl/libs/EGL/egl_display.cpp
@@ -44,6 +44,7 @@ egl_display_t::egl_display_t() :
egl_display_t::~egl_display_t() {
magic = 0;
+ egl_cache_t::get()->terminate();
}
egl_display_t* egl_display_t::get(EGLDisplay dpy) {