Imported Upstream version 0.1.0+git20131207+e452e83
[deb_libhybris.git] / hybris / egl / platforms / common / eglplatformcommon.h
CommitLineData
d42e7319
JB
1#ifndef __EGLPLATFORMCOMMON_H
2#define __EGLPLATFORMCOMMON_H
3#include <string.h>
4#include <android/hardware/gralloc.h>
5#include <EGL/egl.h>
6
7void eglplatformcommon_init(gralloc_module_t *gralloc, alloc_device_t *allocdevice);
8__eglMustCastToProperFunctionPointerType eglplatformcommon_eglGetProcAddress(const char *procname);
9void eglplatformcommon_passthroughImageKHR(EGLContext *ctx, EGLenum *target, EGLClientBuffer *buffer, const EGLint **attrib_list);
10const char *eglplatformcommon_eglQueryString(EGLDisplay dpy, EGLint name, const char *(*real_eglQueryString)(EGLDisplay dpy, EGLint name));
11#endif