Home
last modified time | relevance | path

Searched refs:attribMap (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c441 static const struct { unsigned int attrib, offset; } attribMap[] = { variable
502 switch (attribMap[index].attrib) { in driGetConfigAttribIndex()
527 ((char *) &config->modes + attribMap[index].offset); in driGetConfigAttribIndex()
548 for (i = 0; i < ARRAY_SIZE(attribMap); i++) in driGetConfigAttrib()
549 if (attribMap[i].attrib == attrib) in driGetConfigAttrib()
567 if (index >= 0 && index < ARRAY_SIZE(attribMap)) { in driIndexConfigAttrib()
568 *attrib = attribMap[index].attrib; in driIndexConfigAttrib()
/external/mesa3d/src/glx/
Ddri_common.c212 } attribMap[] = { variable
264 for (i = 0; i < ARRAY_SIZE(attribMap); i++) in scalarEqual()
265 if (attribMap[i].attrib == attrib) { in scalarEqual()
266 glxValue = *(unsigned int *) ((char *) mode + attribMap[i].offset); in scalarEqual()
/external/deqp/modules/egl/
DteglResizeTests.cpp133 AttribMap attribMap; in getEGLConfig() local
135 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()
DteglImageUtil.cpp165 AttribMap attribMap = getCreateAttribs(); in createImage() local
167 attribMap[EGL_IMAGE_PRESERVED_KHR] = EGL_TRUE; in createImage()
170 const vector<EGLint> attribs = eglu::attribMapToList(attribMap); in createImage()