Lines Matching refs:dpy
45 EGLDisplay dpy;
50 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
51 eglInitialize(dpy, &majorVersion, &minorVersion);
54 dpy, configAttribs, window, &config);
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
61 context = eglCreateContext(dpy, config, NULL, NULL);
62 eglMakeCurrent(dpy, surface, surface, context);
63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
110 eglSwapBuffers(dpy, surface);
114 eglTerminate(dpy);