Lines Matching refs:surf
183 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *disp, EGLint type,
189 _eglQuerySurface(_EGLDisplay *disp, _EGLSurface *surf, EGLint attribute, EGLint *value);
193 _eglSurfaceAttrib(_EGLDisplay *disp, _EGLSurface *surf, EGLint attribute, EGLint value);
197 _eglBindTexImage(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer);
200 _eglReleaseTexImage(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer);
204 _eglSurfaceHasMutableRenderBuffer(_EGLSurface *surf);
207 _eglSurfaceInSharedBufferMode(_EGLSurface *surf);
213 _eglGetSurface(_EGLSurface *surf)
215 if (surf)
216 _eglGetResource(&surf->Resource);
217 return surf;
225 _eglPutSurface(_EGLSurface *surf)
227 return (surf) ? _eglPutResource(&surf->Resource) : EGL_FALSE;
236 _eglLinkSurface(_EGLSurface *surf)
238 _eglLinkResource(&surf->Resource, _EGL_RESOURCE_SURFACE);
239 return (EGLSurface) surf;
248 _eglUnlinkSurface(_EGLSurface *surf)
250 _eglUnlinkResource(&surf->Resource, _EGL_RESOURCE_SURFACE);
261 _EGLSurface *surf = (_EGLSurface *) surface;
262 if (!disp || !_eglCheckResource((void *) surf, _EGL_RESOURCE_SURFACE, disp))
263 surf = NULL;
264 return surf;
272 _eglGetSurfaceHandle(_EGLSurface *surf)
274 _EGLResource *res = (_EGLResource *) surf;
276 (EGLSurface) surf : EGL_NO_SURFACE;