diff options
author | Axel Davy <[email protected]> | 2015-10-21 12:28:00 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-03-09 15:02:25 +0100 |
commit | d943ac432de1f46cea47bdbf5ffe5365e2aef386 (patch) | |
tree | e2d3c5e38aef81af1fd376b292d43e217c6990c2 /include/GL/internal | |
parent | 2188c77a0ee9b29f89dde316116d53fe22e526e0 (diff) |
dri: add backbuffer use flag
This will be used by the next commit.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'include/GL/internal')
-rw-r--r-- | include/GL/internal/dri_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 /** |