mesa/src/gallium/auxiliary/pipe-loader
Erik Faye-Lund 4ae273dcf4 mesa: make compressed-format emulation optional
There's good reasons to emulate compressed formats; mobile and desktop
HW generally have different ideas of what formats are worth the extra
silicon, so they support different formats based on the legacy they were
designed to support. This means we can get better application
compatibility by emulating these formats.

But, that comes at a price, namely that applications that supports
multiple formats don't really have a way to detect which ones are
natively supported and which ones are not. This means they might make
the wrong choice, and end up wasting memory and bandwidth when that
could have been avoided.

So let's make the emulation optional, by introducing a DRIconf variable
to disable it.

This intentionally still leaves in place transcoding support, because
that's still *probably* a win. Besides, those needs to be opted into
anyway.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31420>
2024-09-30 17:18:19 +00:00
..
driinfo_gallium.h mesa: make compressed-format emulation optional 2024-09-30 17:18:19 +00:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
pipe_loader.c pipe-loader: fix driconf memory management 2024-08-05 20:33:14 +00:00
pipe_loader.h dri: rename 'implicit' param from earlier series 2024-05-07 15:19:23 +00:00
pipe_loader_drm.c pipe_loader_drm: Fix virtgpu_drm header path 2024-08-27 19:36:24 +00:00
pipe_loader_priv.h pipe-loader: Document the behavior regarding screen creating failures 2023-06-13 10:10:41 +00:00
pipe_loader_sw.c loader: use os_get_option() to allow android to set LIBGL_DRIVERS_PATH, GBM_BACKENDS_PATH, GALLIUM_PIPE_SEARCH_DIR 2024-06-21 07:44:36 +00:00