1 #ifndef __EGLPLATFORMCOMMON_H
2 #define __EGLPLATFORMCOMMON_H
4 #include <android/hardware/gralloc.h>
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
));