Lines Matching defs:value
407 unsigned int attrib, value, double_buffer;
423 if (!dri2_dpy->core->indexConfigAttrib(dri_config, i, &attrib, &value))
428 if (value & __DRI_ATTRIB_FLOAT_BIT)
430 if (value & __DRI_ATTRIB_RGBA_BIT)
431 value = EGL_RGB_BUFFER;
432 else if (value & __DRI_ATTRIB_LUMINANCE_BIT)
433 value = EGL_LUMINANCE_BUFFER;
436 base.ColorBufferType = value;
440 if (value & __DRI_ATTRIB_NON_CONFORMANT_CONFIG)
441 value = EGL_NON_CONFORMANT_CONFIG;
442 else if (value & __DRI_ATTRIB_SLOW_BIT)
443 value = EGL_SLOW_CONFIG;
445 value = EGL_NONE;
446 base.ConfigCaveat = value;
450 bind_to_texture_rgb = value;
454 bind_to_texture_rgba = value;
458 double_buffer = value;
462 dri_sizes[0] = value;
463 base.RedSize = value;
467 dri_shifts[0] = ffs(value) - 1;
471 dri_shifts[0] = value;
475 dri_sizes[1] = value;
476 base.GreenSize = value;
480 dri_shifts[1] = ffs(value) - 1;
484 dri_shifts[1] = value;
488 dri_sizes[2] = value;
489 base.BlueSize = value;
493 dri_shifts[2] = ffs(value) - 1;
497 dri_shifts[2] = value;
501 dri_sizes[3] = value;
502 base.AlphaSize = value;
506 dri_shifts[3] = ffs(value) - 1;
510 dri_shifts[3] = value;
518 if (value > 0)
523 srgb = value != 0;
541 _eglSetConfigKey(&base, key, value);
859 unsigned int value = 0;
862 rendererQuery->queryInteger(dri2_dpy->dri_screen, param, &value) == -1)
865 return value;
895 * EGL 1.5 specification defines the default value to 1. Moreover,
896 * eglSwapInterval() is required to clamp requested value to the supported
897 * range. Since the default value is implicitly assumed to be supported,
1371 * greater than 3.2, and the value for attribute
1386 * * If an attribute name or attribute value in <attrib_list> is not
1529 * "BAD_MATCH is generated if the value of EGL_CONTEXT_OPENGL_NO_ERROR_KHR
1530 * used to create <share_context> does not match the value of
2497 EGLint attribute, EGLint *value)
2501 return _eglQuerySurface(disp, surf, attribute, value);
2502 return dri2_dpy->vtbl->query_surface(disp, surf, attribute, value);
2788 return _eglError(EGL_BAD_PARAMETER, "invalid value for max count of formats");
2824 return _eglError(EGL_BAD_PARAMETER, "invalid value for max count of formats");
3327 EGLint attribute, EGLint *value)
3340 *value = format->components;
3343 *value = buffer->width;
3346 *value = buffer->height;