Lines Matching refs:dpy
46 EGLDisplay dpy; in main() local
50 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
51 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
54 dpy, configAttribs, window, &config); in main()
60 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
61 context = eglCreateContext(dpy, config, NULL, NULL); in main()
62 eglMakeCurrent(dpy, surface, surface, context); in main()
63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
119 eglSwapInterval(dpy, 1); in main()
124 eglSwapBuffers(dpy, surface); in main()
134 eglSwapBuffers(dpy, surface); in main()
146 eglSwapBuffers(dpy, surface); in main()
158 eglTerminate(dpy); in main()