mesa/src/gallium/include
Rob Clark ba7454a155 dri2+gallium: Support to import suboptimal formats
In some cases a format may be supported in a more limited way by the
hardware.  For example, formats with NPoT pixel sizes.  A driver might
normally prefer that mesa/st use R8G8B8X8 rather than R8G8B8.  But if
the user wants to (dma-buf/etc) import R8G8B8, it is still possible,
and in this case zero copy is more important.

So add a PIPE_BIND_x flag as a hint to the driver when checking if
a format is supported.

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35982>
2025-07-08 19:05:43 +00:00
..
frontend gallium: drop dynamic pipe-loader leftovers 2025-05-27 21:44:31 +00:00
pipe dri2+gallium: Support to import suboptimal formats 2025-07-08 19:05:43 +00:00
winsys radeonsi: implement SVM interfaces 2025-06-20 15:10:42 +00:00
mesa_interface.h dri: Garbage-collect old DRI interfaces 2025-07-02 14:35:26 +00:00