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.c361 static const struct { unsigned int attrib, offset; } attribMap[] = { variable
418 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()
/external/mesa3d/src/glx/
Ddri_common.c210 } attribMap[] = { variable
259 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()
/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()