Lines Matching defs:value
253 #define __ATTRIB(attrib, field) case attrib: *value = config->modes.field; break
256 * Return the value of a configuration attribute. The attribute is
261 unsigned int index, unsigned int *value)
271 *value = 0;
275 /* I have no idea what this value was ever meant to mean, it's
278 *value = 0;
287 *value = !!config->modes.samples;
292 *value = __DRI_ATTRIB_RGBA_BIT;
294 *value |= __DRI_ATTRIB_FLOAT_BIT;
298 *value = __DRI_ATTRIB_SLOW_BIT;
300 *value = 0;
303 *value = GL_TRUE;
309 *value = GLX_NONE;
315 *value = GLX_DONT_CARE;
318 *value = config->modes.floatMode;
330 *value = 0;
334 *value = INT_MAX;
337 *value = 0;
342 *value = GL_TRUE;
345 *value = GL_FALSE;
348 *value = __DRI_ATTRIB_TEXTURE_1D_BIT |
354 *value = GL_FALSE;
369 * Get the value of a configuration attribute.
371 * \param value returns the attribute's value
376 unsigned int attrib, unsigned int *value)
378 return driGetConfigAttribIndex(config, attrib - 1, value);
382 * Get a configuration attribute name and value, given an index.
385 * \param value returns the attribute's value
390 unsigned int *attrib, unsigned int *value)
392 if (driGetConfigAttribIndex(config, index, value)) {