Searched refs:attribMap (Results 1 – 4 of 4) sorted by relevance
361 static const struct { unsigned int attrib, offset; } attribMap[] = { variable418 switch (attribMap[index].attrib) { in driGetConfigAttribIndex()434 ((char *) &config->modes + attribMap[index].offset); in driGetConfigAttribIndex()455 for (i = 0; i < ARRAY_SIZE(attribMap); i++) in driGetConfigAttrib()456 if (attribMap[i].attrib == attrib) in driGetConfigAttrib()474 if (index >= 0 && index < ARRAY_SIZE(attribMap)) { in driIndexConfigAttrib()475 *attrib = attribMap[index].attrib; in driIndexConfigAttrib()
210 } attribMap[] = { variable259 for (i = 0; i < ARRAY_SIZE(attribMap); i++) in scalarEqual()260 if (attribMap[i].attrib == attrib) { in scalarEqual()261 glxValue = *(unsigned int *) ((char *) mode + attribMap[i].offset); in scalarEqual()
133 AttribMap attribMap; in getEGLConfig() local135 attribMap[EGL_SURFACE_TYPE] = surfaceType; in getEGLConfig()136 attribMap[EGL_RENDERABLE_TYPE] = EGL_OPENGL_ES2_BIT; in getEGLConfig()138 return eglu::chooseSingleConfig(egl, eglDisplay, attribMap); in getEGLConfig()
165 AttribMap attribMap = getCreateAttribs(); in createImage() local167 attribMap[EGL_IMAGE_PRESERVED_KHR] = EGL_TRUE; in createImage()170 const vector<EGLint> attribs = eglu::attribMapToList(attribMap); in createImage()