Lines Matching defs:img
100 _eglInitImage(_EGLImage *img, _EGLDisplay *disp)
102 _eglInitResource(&img->Resource, sizeof(*img), disp);
110 _eglGetImage(_EGLImage *img)
112 if (img)
113 _eglGetResource(&img->Resource);
114 return img;
122 _eglPutImage(_EGLImage *img)
124 return (img) ? _eglPutResource(&img->Resource) : EGL_FALSE;
133 _eglLinkImage(_EGLImage *img)
135 _eglLinkResource(&img->Resource, _EGL_RESOURCE_IMAGE);
136 return (EGLImage) img;
145 _eglUnlinkImage(_EGLImage *img)
147 _eglUnlinkResource(&img->Resource, _EGL_RESOURCE_IMAGE);
158 _EGLImage *img = (_EGLImage *) image;
159 if (!disp || !_eglCheckResource((void *) img, _EGL_RESOURCE_IMAGE, disp))
160 img = NULL;
161 return img;
169 _eglGetImageHandle(_EGLImage *img)
171 _EGLResource *res = (_EGLResource *) img;
173 (EGLImage) img : EGL_NO_IMAGE_KHR;