| 1 | #ifndef __EGLPLATFORMCOMMON_H |
| 2 | #define __EGLPLATFORMCOMMON_H |
| 3 | #include <string.h> |
| 4 | #include <android/hardware/gralloc.h> |
| 5 | #include <EGL/egl.h> |
| 6 | |
| 7 | void eglplatformcommon_init(gralloc_module_t *gralloc, alloc_device_t *allocdevice); |
| 8 | __eglMustCastToProperFunctionPointerType eglplatformcommon_eglGetProcAddress(const char *procname); |
| 9 | void eglplatformcommon_passthroughImageKHR(EGLContext *ctx, EGLenum *target, EGLClientBuffer *buffer, const EGLint **attrib_list); |
| 10 | const char *eglplatformcommon_eglQueryString(EGLDisplay dpy, EGLint name, const char *(*real_eglQueryString)(EGLDisplay dpy, EGLint name)); |
| 11 | #endif |