From d943ac432de1f46cea47bdbf5ffe5365e2aef386 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Wed, 21 Oct 2015 12:28:00 +0200 Subject: dri: add backbuffer use flag This will be used by the next commit. Reviewed-by: Ian Romanick --- include/GL/internal/dri_interface.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/GL/internal') diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 6bbd3fa87f5..2b49a2941e1 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1100,6 +1100,11 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_USE_SCANOUT 0x0002 #define __DRI_IMAGE_USE_CURSOR 0x0004 /* Depricated */ #define __DRI_IMAGE_USE_LINEAR 0x0008 +/* The buffer will only be read by an external process after SwapBuffers, + * in contrary to gbm buffers, front buffers and fake front buffers, which + * could be read after a flush." + */ +#define __DRI_IMAGE_USE_BACKBUFFER 0x0010 /** -- cgit v1.2.3