driconf: Add ignore_discard_framebuffer option
authorRob Clark <robdclark@chromium.org>
Tue, 14 Mar 2023 23:07:43 +0000 (16:07 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Mar 2023 00:56:37 +0000 (00:56 +0000)
commita66c62420e6dd7f1dc8cbb63f4613a4d1cc3e25d
tree3f9cdc5075d2965200c7032d53dfeccc7c21884e
parent976d964a35ecdaf3fb01ec89ada988d1b9f654dc
driconf: Add ignore_discard_framebuffer option

Some apps use glDiscardFramebuffer()/glInvalidateFramebuffer() when they
only kidding.  Add a knob to disable that.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Mike Blumenkrantz <michael.blumenkrantz@gmail.com>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21916>
src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
src/gallium/auxiliary/util/u_driconf.c
src/gallium/include/frontend/api.h
src/mesa/main/fbobject.c
src/util/driconf.h