Home | History | Annotate | Download | only in gles_android_wrapper

Lines Matching full:attribs

301     EGLint *attribs = NULL;
306 attribs = new EGLint[nAttribs];
307 memcpy(attribs, attrib_list, nAttribs * sizeof(EGLint));
312 if (attribs[i] == EGL_RENDERABLE_TYPE) {
313 if (attribs[i + 1] & EGL_OPENGL_ES2_BIT) {
314 attribs[i + 1] &= ~EGL_OPENGL_ES2_BIT;
315 attribs[i + 1] |= EGL_OPENGL_ES_BIT;
316 ALOGD("removing ES2 bit 0x%x\n", attribs[i + 1]);
321 return attribs;
328 EGLint *attribs = filter_es2_bit(attrib_list, NULL);
330 attribs,
335 if (*num_config == 0 && attribs != NULL) {
337 for (int i = 0; attribs[i] != EGL_NONE; i++) {
338 ALOGD("%d: 0x%x\n", i, attribs[i]);
342 delete attribs;