Lines Matching refs:surf
181 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *disp, EGLint type,
187 _eglQuerySurface(_EGLDisplay *disp, _EGLSurface *surf, EGLint attribute, EGLint *value);
191 _eglSurfaceAttrib(_EGLDisplay *disp, _EGLSurface *surf, EGLint attribute, EGLint value);
195 _eglBindTexImage(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer);
198 _eglReleaseTexImage(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer);
202 _eglSurfaceHasMutableRenderBuffer(_EGLSurface *surf);
205 _eglSurfaceInSharedBufferMode(_EGLSurface *surf);
211 _eglGetSurface(_EGLSurface *surf) in _eglGetSurface() argument
213 if (surf) in _eglGetSurface()
214 _eglGetResource(&surf->Resource); in _eglGetSurface()
215 return surf; in _eglGetSurface()
223 _eglPutSurface(_EGLSurface *surf) in _eglPutSurface() argument
225 return (surf) ? _eglPutResource(&surf->Resource) : EGL_FALSE; in _eglPutSurface()
234 _eglLinkSurface(_EGLSurface *surf) in _eglLinkSurface() argument
236 _eglLinkResource(&surf->Resource, _EGL_RESOURCE_SURFACE); in _eglLinkSurface()
237 return (EGLSurface) surf; in _eglLinkSurface()
246 _eglUnlinkSurface(_EGLSurface *surf) in _eglUnlinkSurface() argument
248 _eglUnlinkResource(&surf->Resource, _EGL_RESOURCE_SURFACE); in _eglUnlinkSurface()
259 _EGLSurface *surf = (_EGLSurface *) surface; in _eglLookupSurface() local
260 if (!disp || !_eglCheckResource((void *) surf, _EGL_RESOURCE_SURFACE, disp)) in _eglLookupSurface()
261 surf = NULL; in _eglLookupSurface()
262 return surf; in _eglLookupSurface()
270 _eglGetSurfaceHandle(_EGLSurface *surf) in _eglGetSurfaceHandle() argument
272 _EGLResource *res = (_EGLResource *) surf; in _eglGetSurfaceHandle()
274 (EGLSurface) surf : EGL_NO_SURFACE; in _eglGetSurfaceHandle()