gallium: add PIPE_CAP_PREFER_BACK_BUFFER_REUSE

This will be used in the next commit.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12788>
This commit is contained in:
Pierre-Eric Pelloux-Prayer
2021-09-14 10:57:39 +02:00
committed by Marge Bot
parent d89ba3f2a9
commit e67083caf4
10 changed files with 25 additions and 0 deletions

View File

@@ -1991,6 +1991,7 @@ typedef struct __DRIDriverVtableExtensionRec {
#define __DRI2_RENDERER_HAS_CONTEXT_PRIORITY_HIGH (1 << 2)
#define __DRI2_RENDERER_HAS_PROTECTED_CONTENT 0x000e
#define __DRI2_RENDERER_PREFER_BACK_BUFFER_REUSE 0x000f
typedef struct __DRI2rendererQueryExtensionRec __DRI2rendererQueryExtension;
struct __DRI2rendererQueryExtensionRec {