Lines Matching refs:config
41 EGLConfig config;
56 dpy, configAttribs, window, &config);
63 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r);
64 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g);
65 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b);
66 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a);
68 surface = eglCreateWindowSurface(dpy, config, window, NULL);
71 fprintf(stderr, "%s, config=%p, format = %d-%d-%d-%d\n",
72 EGLUtils::strerror(err), config, r,g,b,a);
75 printf("config=%p, format = %d-%d-%d-%d\n", config, r,g,b,a);
78 context = eglCreateContext(dpy, config, NULL, NULL);