1 #ifndef __LIBHYBRIS_WS_H
2 #define __LIBHYBRIS_WS_H
6 int (*IsValidDisplay
)(EGLNativeDisplayType display_id
);
7 EGLNativeWindowType (*CreateWindow
)(EGLNativeWindowType win
, EGLNativeDisplayType display
);
8 void (*DestroyWindow
)(EGLNativeWindowType win
);
9 __eglMustCastToProperFunctionPointerType (*eglGetProcAddress
)(const char *procname
);
10 void (*passthroughImageKHR
)(EGLContext
*ctx
, EGLenum
*target
, EGLClientBuffer
*buffer
, const EGLint
**attrib_list
);
11 const char *(*eglQueryString
)(EGLDisplay dpy
, EGLint name
, const char *(*real_eglQueryString
)(EGLDisplay dpy
, EGLint name
));
14 int ws_IsValidDisplay(EGLNativeDisplayType display
);
15 EGLNativeWindowType
ws_CreateWindow(EGLNativeWindowType win
, EGLNativeDisplayType display
);
16 void ws_DestroyWindow(EGLNativeWindowType win
);
17 __eglMustCastToProperFunctionPointerType
ws_eglGetProcAddress(const char *procname
);
18 void ws_passthroughImageKHR(EGLContext
*ctx
, EGLenum
*target
, EGLClientBuffer
*buffer
, const EGLint
**attrib_list
);
19 const char *ws_eglQueryString(EGLDisplay dpy
, EGLint name
, const char *(*real_eglQueryString
)(EGLDisplay dpy
, EGLint name
));