summaryrefslogtreecommitdiffstats
path: root/opengl/libs/egl_impl.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-05-13 16:21:08 -0700
committerMathias Agopian <mathias@google.com>2011-05-16 19:02:45 -0700
commit518ec112f468eb67bf681b3eec896d7bfb4ff98d (patch)
tree92ca96766bf05e02b300bcd82ad9d0d417ad09a6 /opengl/libs/egl_impl.h
parent0ad71a97c6061e3b12d2308bd43e02dfeeb63db4 (diff)
downloadframeworks_native-518ec112f468eb67bf681b3eec896d7bfb4ff98d.tar.gz
frameworks_native-518ec112f468eb67bf681b3eec896d7bfb4ff98d.tar.bz2
frameworks_native-518ec112f468eb67bf681b3eec896d7bfb4ff98d.zip
refactor EGL source code
no changes is functionality. split various objects into their own files. make egl_display objec's lock internal.
Diffstat (limited to 'opengl/libs/egl_impl.h')
-rw-r--r--opengl/libs/egl_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/opengl/libs/egl_impl.h b/opengl/libs/egl_impl.h
index c8f529ac0..d24b04720 100644
--- a/opengl/libs/egl_impl.h
+++ b/opengl/libs/egl_impl.h
@@ -25,6 +25,9 @@
#include "hooks.h"
+#define VERSION_MAJOR 1
+#define VERSION_MINOR 4
+
// ----------------------------------------------------------------------------
namespace android {
// ----------------------------------------------------------------------------
@@ -41,6 +44,8 @@ struct egl_connection_t
EGLAPI EGLImageKHR egl_get_image_for_current_context(EGLImageKHR image);
+extern egl_connection_t gEGLImpl[IMPL_NUM_IMPLEMENTATIONS];
+
// ----------------------------------------------------------------------------
}; // namespace android
// ----------------------------------------------------------------------------