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)
213 if (surf)
214 _eglGetResource(&surf->Resource);
215 return surf;
223 _eglPutSurface(_EGLSurface *surf)
225 return (surf) ? _eglPutResource(&surf->Resource) : EGL_FALSE;
234 _eglLinkSurface(_EGLSurface *surf)
236 _eglLinkResource(&surf->Resource, _EGL_RESOURCE_SURFACE);
237 return (EGLSurface) surf;
246 _eglUnlinkSurface(_EGLSurface *surf)
248 _eglUnlinkResource(&surf->Resource, _EGL_RESOURCE_SURFACE);
259 _EGLSurface *surf = (_EGLSurface *) surface;
260 if (!disp || !_eglCheckResource((void *) surf, _EGL_RESOURCE_SURFACE, disp))
261 surf = NULL;
262 return surf;
270 _eglGetSurfaceHandle(_EGLSurface *surf)
272 _EGLResource *res = (_EGLResource *) surf;
274 (EGLSurface) surf : EGL_NO_SURFACE;