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 docs,src: replace doc and comments for PIPE_CAP with pipe_caps 2025-01-17 04:39:47 +00:00
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 docs: move generic gallium envvars to root doc 2022-11-15 11:25:05 +01:00
format.rst docs: apply some redirects 2022-11-10 17:26:19 +01:00
glossary.rst docs/gallium: move period out of quotes 2022-11-15 10:01:15 +00:00
index.rst docs: Drop distro unmaintained and deprecated file. 2025-04-19 15:52:12 +02:00
intro.rst
pipeline.txt
postprocess.rst docs: apply permanent redirect 2023-11-16 20:30:08 +00:00
resources.rst docs,src: replace doc and comments for PIPE_CAP with pipe_caps 2025-01-17 04:39:47 +00:00
screen.rst dri2+gallium: Support to import suboptimal formats 2025-07-08 19:05:43 +00:00
tgsi.rst doc,src: replace doc and comments for shader and compute cap 2025-02-05 11:20:49 +08:00