Home
last modified time | relevance | path

Searched refs:GLX_surf (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/egl/drivers/glx/
Degl_glx.c743 struct GLX_egl_surface *GLX_surf = GLX_egl_surface(surf); in destroy_surface() local
745 if (GLX_surf->destroy) in destroy_surface()
746 GLX_surf->destroy(GLX_dpy->dpy, GLX_surf->glx_drawable); in destroy_surface()
748 free(GLX_surf); in destroy_surface()
834 struct GLX_egl_surface *GLX_surf; in GLX_eglCreateWindowSurface() local
837 GLX_surf = CALLOC_STRUCT(GLX_egl_surface); in GLX_eglCreateWindowSurface()
838 if (!GLX_surf) { in GLX_eglCreateWindowSurface()
843 if (!_eglInitSurface(&GLX_surf->Base, disp, EGL_WINDOW_BIT, in GLX_eglCreateWindowSurface()
845 free(GLX_surf); in GLX_eglCreateWindowSurface()
849 GLX_surf->drawable = window; in GLX_eglCreateWindowSurface()
[all …]