gallium: add PIPE_CAP_ALLOW_DRAW_OUT_OF_ORDER
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 25 Apr 2022 12:19:02 +0000 (14:19 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 29 Apr 2022 07:52:59 +0000 (07:52 +0000)
commitbd88bed8556aff109a5a9cdb9b8d63073ade9df6
treee58bc16a9647f6377ba2d3e19dd4984646f68a23
parent7df2cc42e78c7c07d2ef7ecab1ad5ec97ba4cb7b
gallium: add PIPE_CAP_ALLOW_DRAW_OUT_OF_ORDER

This way we can make allow_draw_out_of_order true by default for all
apps, iff the driver allows it.

And allow_draw_out_of_order=false can still be used in drirc, for
apps that need this optim to be turned off.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16139>
docs/gallium/screen.rst
src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
src/gallium/auxiliary/util/u_screen.c
src/gallium/include/pipe/p_defines.h
src/mesa/main/state.c
src/mesa/state_tracker/st_extensions.c
src/util/00-mesa-defaults.conf