summaryrefslogtreecommitdiffstats
path: root/opengl/libs/egl_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/libs/egl_impl.h')
-rw-r--r--opengl/libs/egl_impl.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/opengl/libs/egl_impl.h b/opengl/libs/egl_impl.h
index 312b176..1fba209 100644
--- a/opengl/libs/egl_impl.h
+++ b/opengl/libs/egl_impl.h
@@ -23,21 +23,23 @@
#include <EGL/eglext.h>
#include <EGL/eglplatform.h>
+#include "hooks.h"
+
// ----------------------------------------------------------------------------
namespace android {
// ----------------------------------------------------------------------------
-struct gl_hooks_t;
-
struct egl_connection_t
{
- void volatile * dso;
- gl_hooks_t * hooks;
+ void * dso;
+ gl_hooks_t * hooks[2];
EGLint major;
EGLint minor;
- int unavailable;
+ egl_t egl;
};
+EGLAPI EGLImageKHR egl_get_image_for_current_context(EGLImageKHR image);
+
// ----------------------------------------------------------------------------
}; // namespace android
// ----------------------------------------------------------------------------