Lines Matching refs:configs
79 // Query the set of configs in the EGL backend
83 fprintf(stderr, "Could not get number of available configs\n");
86 EGLConfig *configs = new EGLConfig[nConfigs];
87 s_egl.eglGetConfigs(dpy, configs, nConfigs, &nConfigs);
91 // configs we do not want to support.
98 // filter out configs which does not support pbuffers.
99 // we only support pbuffer configs since we use a pbuffer
103 s_egl.eglGetConfigAttrib(dpy, configs[i],
108 // Filter out not RGB configs
111 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_RED_SIZE, &redSize);
112 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_BLUE_SIZE, &blueSize);
113 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_GREEN_SIZE, &greenSize);
116 s_fbConfigs[j++] = new FBConfig(dpy, configs[i]);
120 delete[] configs;
148 int FBConfig::chooseConfig(FrameBuffer *fb, EGLint * attribs, uint32_t * configs, uint32_t configs_size)
158 // Query the num of configs in the EGL backend
162 fprintf(stderr, "Could not get number of available configs\n");
166 // Query the max matching configs in the backend
171 //Until we have EGLImage implementation, we force pbuf configs
215 if ((configs != NULL) && (configs_size > 0) && (nVerifiedCfgs >= configs_size)) break; //We have enouhgt configs
222 if (configs && nVerifiedCfgs < configs_size) {
223 configs[nVerifiedCfgs] = fbIdx;
245 // All exported configs supports android native window rendering