Lines Matching defs:surface
37 EGLSurface surface;
54 surface = eglCreateWindowSurface(dpy, config, window, NULL);
59 surface = eglCreatePbufferSurface(dpy, config, attribs);
60 if (surface == EGL_NO_SURFACE) {
65 eglMakeCurrent(dpy, surface, surface, context);
66 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
67 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
159 eglSwapBuffers(dpy, surface);
185 eglSwapBuffers(dpy, surface);