Lines Matching refs:surf
48 _eglClampSwapInterval(_EGLSurface *surf, EGLint interval) in _eglClampSwapInterval() argument
50 EGLint bound = surf->Config->MaxSwapInterval; in _eglClampSwapInterval()
55 bound = surf->Config->MinSwapInterval; in _eglClampSwapInterval()
59 surf->SwapInterval = interval; in _eglClampSwapInterval()
65 _eglParseScreenSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) in _eglParseScreenSurfaceAttribList() argument
82 surf->Width = val; in _eglParseScreenSurfaceAttribList()
89 surf->Height = val; in _eglParseScreenSurfaceAttribList()
111 _eglParseSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) in _eglParseSurfaceAttribList() argument
113 _EGLDisplay *dpy = surf->Resource.Display; in _eglParseSurfaceAttribList()
114 EGLint type = surf->Type; in _eglParseSurfaceAttribList()
123 return _eglParseScreenSurfaceAttribList(surf, attrib_list); in _eglParseSurfaceAttribList()
146 surf->VGColorspace = val; in _eglParseSurfaceAttribList()
159 surf->VGAlphaFormat = val; in _eglParseSurfaceAttribList()
171 surf->RenderBuffer = val; in _eglParseSurfaceAttribList()
183 surf->PostSubBufferSupportedNV = val; in _eglParseSurfaceAttribList()
195 surf->Width = val; in _eglParseSurfaceAttribList()
206 surf->Height = val; in _eglParseSurfaceAttribList()
213 surf->LargestPbuffer = !!val; in _eglParseSurfaceAttribList()
232 surf->TextureFormat = val; in _eglParseSurfaceAttribList()
249 surf->TextureTarget = val; in _eglParseSurfaceAttribList()
256 surf->MipmapTexture = !!val; in _eglParseSurfaceAttribList()
279 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type, in _eglInitSurface() argument
316 _eglInitResource(&surf->Resource, sizeof(*surf), dpy); in _eglInitSurface()
317 surf->Type = type; in _eglInitSurface()
318 surf->Config = conf; in _eglInitSurface()
320 surf->Width = 0; in _eglInitSurface()
321 surf->Height = 0; in _eglInitSurface()
322 surf->TextureFormat = EGL_NO_TEXTURE; in _eglInitSurface()
323 surf->TextureTarget = EGL_NO_TEXTURE; in _eglInitSurface()
324 surf->MipmapTexture = EGL_FALSE; in _eglInitSurface()
325 surf->LargestPbuffer = EGL_FALSE; in _eglInitSurface()
326 surf->RenderBuffer = renderBuffer; in _eglInitSurface()
327 surf->VGAlphaFormat = EGL_VG_ALPHA_FORMAT_NONPRE; in _eglInitSurface()
328 surf->VGColorspace = EGL_VG_COLORSPACE_sRGB; in _eglInitSurface()
330 surf->MipmapLevel = 0; in _eglInitSurface()
331 surf->MultisampleResolve = EGL_MULTISAMPLE_RESOLVE_DEFAULT; in _eglInitSurface()
332 surf->SwapBehavior = swapBehavior; in _eglInitSurface()
334 surf->HorizontalResolution = EGL_UNKNOWN; in _eglInitSurface()
335 surf->VerticalResolution = EGL_UNKNOWN; in _eglInitSurface()
336 surf->AspectRatio = EGL_UNKNOWN; in _eglInitSurface()
338 surf->PostSubBufferSupportedNV = EGL_FALSE; in _eglInitSurface()
341 _eglClampSwapInterval(surf, 1); in _eglInitSurface()
343 err = _eglParseSurfaceAttribList(surf, attrib_list); in _eglInitSurface()
525 _eglSwapInterval(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, in _eglSwapInterval() argument
528 _eglClampSwapInterval(surf, interval); in _eglSwapInterval()