mesa/include/GL
Louis-Francis Ratté-Boulianne d1c22c678c dri_interface: add interface for EGL_EXT_surface_compression
This adds two new methods for the image extension (version 22):

 - Query the supported compression bitrates for a given format
 - Query the modifiers associated with a given format and bitrate

The interface user can then use createImageWithModifiers to
actually allocate the fixed-rate compressed image. When the default
bitrate is requested, one can query the image for the
__DRI_IMAGE_ATTRIB_COMPRESSION_RATE attribute to determine the
compression rate that was actually used.

Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27109>
2024-06-12 21:20:05 +00:00
..
internal dri_interface: add interface for EGL_EXT_surface_compression 2024-06-12 21:20:05 +00:00
gl.h
glcorearb.h
glext.h
glx.h
glxext.h
mesa_glinterop.h mesa/st: Skip querying PCI values in interop_query_device_info if version >= 4 2024-02-23 13:29:00 +00:00
osmesa.h
wglext.h