mesa/docs/gallium
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
..
cso gallium: remove polygon_offset_units_unscaled pipe cap 2025-05-26 17:01:03 +00:00
buffermapping.rst
context.rst gallium: remove pipe_context::set_compute_resources and PIPE_BIND_COMPUTE_RESOURCE 2025-05-01 22:18:27 +02:00
cso.rst
debugging.rst
format.rst
glossary.rst
index.rst
intro.rst
pipeline.txt
postprocess.rst
resources.rst
screen.rst dri2+gallium: Support to import suboptimal formats 2025-07-08 19:05:43 +00:00
tgsi.rst