Lines Matching refs:dpy
45 EGLDisplay dpy; in main() local
51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
52 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
53 eglGetConfigs(dpy, NULL, 0, &numConfigs); in main()
57 dpy, configAttribs, window, &config); in main()
60 eglTerminate(dpy); in main()
65 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r); in main()
66 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g); in main()
67 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b); in main()
68 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a); in main()
69 eglGetConfigAttrib(dpy, config, EGL_NATIVE_VISUAL_ID, &vid); in main()
71 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
76 eglTerminate(dpy); in main()
83 context = eglCreateContext(dpy, config, NULL, NULL); in main()
84 eglMakeCurrent(dpy, surface, surface, context); in main()
85 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
86 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
96 eglSwapInterval(dpy, 1); in main()
100 eglSwapBuffers(dpy, surface); in main()
112 eglSwapBuffers(dpy, surface); in main()
115 eglSwapBuffers(dpy, surface); in main()
123 eglTerminate(dpy); in main()