summaryrefslogtreecommitdiff
path: root/egl_1_4/implement.h
diff options
context:
space:
mode:
Diffstat (limited to 'egl_1_4/implement.h')
-rwxr-xr-xegl_1_4/implement.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/egl_1_4/implement.h b/egl_1_4/implement.h
index 8d82118..33b9184 100755
--- a/egl_1_4/implement.h
+++ b/egl_1_4/implement.h
@@ -136,6 +136,7 @@ struct ContextExtra {
EGLenum apiKind;
EGLint apiVersion;
void* apiContext;
+ EGLBoolean deleted;
};
struct ImageExtra {
@@ -146,11 +147,15 @@ struct ImageExtra {
EGLNativeDisplayType dpy;
Pixmap pixmap;
};
-#define EGL_SO_FILENAME "libEGL.so"
-#define GL_ES2_SO_FILENAME "libGLESv2.so"
-#define GL_ES1_SO_FILENAME "libGLESv1_CM.so"
-#define GL_SO_FILENAME "libGL.so"
+//#define EGL_SO_FILENAME "libEGL.so"
+//#define GL_ES2_SO_FILENAME "libGLESv2.so"
+//#define GL_ES1_SO_FILENAME "libGLESv1_CM.so"
+//#define GL_SO_FILENAME "libGL.so"
#define VG_SO_FILENAME "libOpenVG.so" //jcpark
+#define EGL_SO_FILENAME "/usr/lib/host-gl/libEGL.so.1.0"
+#define GL_ES2_SO_FILENAME "/usr/lib/host-gl/libGLESv2.so.1.0"
+#define GL_ES1_SO_FILENAME "/usr/lib/host-gl/libGLESv1_CM.so.1.0"
+#define GL_SO_FILENAME "/usr/lib/host-gl/libGL.so.1.2"
struct GlobalStruct {
EGLint iLastError;
@@ -416,6 +421,7 @@ EGLAPI void EGLAPIENTRY EGLINTER(DeleteDisplay)(EGLDisplay unique);
EGLAPI struct SurfaceExtra* EGLAPIENTRY EGLINTER(LookUpSurface)(EGLSurface unique);
EGLAPI struct SurfaceExtra* EGLAPIENTRY EGLINTER(InsertSurface)(EGLSurface unique);
EGLAPI void EGLAPIENTRY EGLINTER(DeleteSurface)(EGLSurface unique);
+EGLAPI EGLBoolean EGLAPIENTRY EGLINTER(FreeContext)(struct ContextExtra *pContext);
EGLAPI struct ContextExtra* EGLAPIENTRY EGLINTER(LookUpContext)(EGLContext unique);
EGLAPI struct ContextExtra* EGLAPIENTRY EGLINTER(InsertContext)(EGLContext unique);
@@ -497,6 +503,8 @@ typedef enum {
VG_lABGR_8888_PRE = 9 | (1 << 6) | (1 << 7)
} VGImageFormat;
+extern EGLContext _eglGetCurrentContext(void);
+
#ifdef __cplusplus
}
#endif