2 * Functions that client APIs can call.
6 #include "eglcurrent.h"
7 #include "egldisplay.h"
13 * Return the opaque client data of an image.
16 _eglClientGetImageData(EGLImageKHR image)
18 _EGLDisplay *dpy = _eglGetCurrentDisplay();
19 _EGLImage *img = _eglLookupImage(image, dpy);
20 return (img) ? img->ClientData : NULL;