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 mesa: sync GLAPIENTRY with KHRONOS_APIENTRY in GL/gl.h 2022-11-03 16:07:31 +00:00
glcorearb.h Update OpenGL headers 2023-06-07 20:47:03 +00:00
glext.h mesa: Introduce MESA_texture_const_bandwidth 2023-10-14 17:28:28 +00:00
glx.h glx: Remove dead declarations from <GL/glx.h> 2023-01-03 23:36:26 +00:00
glxext.h Update OpenGL headers 2023-06-07 20:47:03 +00:00
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 osmesa: Make osmesa.h compatible with Windows SDK's GL.h 2023-12-08 09:55:54 +00:00
wglext.h Update OpenGL headers 2023-06-07 20:47:03 +00:00