diff options
author | Mathias Agopian <mathias@google.com> | 2011-05-13 16:21:08 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-05-16 19:02:45 -0700 |
commit | 7adf4ef0fad9973d9a07f2a73b2c4238c8e6bf7c (patch) | |
tree | 4c28764f141b482a42f152531e4920284a45f643 /opengl/libs/egl_impl.h | |
parent | 90bf262591a1772d06a18581c11a6115b89fc143 (diff) | |
download | frameworks_base-7adf4ef0fad9973d9a07f2a73b2c4238c8e6bf7c.zip frameworks_base-7adf4ef0fad9973d9a07f2a73b2c4238c8e6bf7c.tar.gz frameworks_base-7adf4ef0fad9973d9a07f2a73b2c4238c8e6bf7c.tar.bz2 |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opengl/libs/egl_impl.h b/opengl/libs/egl_impl.h index c8f529a..d24b047 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 // ---------------------------------------------------------------------------- |