equal
deleted
inserted
replaced
27 #include "M3G/m3g_core.h" |
27 #include "M3G/m3g_core.h" |
28 #include "m3g_defs.h" |
28 #include "m3g_defs.h" |
29 |
29 |
30 #if !(defined(M3G_NGL_CONTEXT_API) || defined(M3G_NGL_TEXTURE_API)) |
30 #if !(defined(M3G_NGL_CONTEXT_API) || defined(M3G_NGL_TEXTURE_API)) |
31 # include <GLES/gl.h> |
31 # include <GLES/gl.h> |
32 # include <GLES/egl.h> |
32 # include <EGL/egl.h> |
33 #else |
33 #else |
34 |
34 |
35 /*@notfunction@*/ |
35 /*@notfunction@*/ |
36 # define NGL_PREFIX(func) gl ## func |
36 # define NGL_PREFIX(func) gl ## func |
37 /*@notfunction@*/ |
37 /*@notfunction@*/ |
91 M3Gsizei *stride); |
91 M3Gsizei *stride); |
92 void m3gglReleaseNativeBitmap(M3GNativeBitmap bitmap); |
92 void m3gglReleaseNativeBitmap(M3GNativeBitmap bitmap); |
93 |
93 |
94 M3Gbool m3gglGetNativeBitmapParams(M3GNativeBitmap bitmap, |
94 M3Gbool m3gglGetNativeBitmapParams(M3GNativeBitmap bitmap, |
95 M3GPixelFormat *format, |
95 M3GPixelFormat *format, |
96 M3Gint *width, M3Gint *height); |
96 M3Gint *width, M3Gint *height, M3Gint *pixels); |
97 M3Gbool m3gglGetNativeWindowParams(M3GNativeWindow wnd, |
97 M3Gbool m3gglGetNativeWindowParams(M3GNativeWindow wnd, |
98 M3GPixelFormat *format, |
98 M3GPixelFormat *format, |
99 M3Gint *width, M3Gint *height); |
99 M3Gint *width, M3Gint *height); |
100 |
100 |
101 #endif /* M3G_NGL_CONTEXT_API */ |
101 #endif /* M3G_NGL_CONTEXT_API */ |