diff options
author | Axel Davy <axel.davy@ens.fr> | 2015-10-21 12:28:00 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2016-03-09 15:02:25 +0100 |
commit | d943ac432de1f46cea47bdbf5ffe5365e2aef386 (patch) | |
tree | e2d3c5e38aef81af1fd376b292d43e217c6990c2 /include | |
parent | 2188c77a0ee9b29f89dde316116d53fe22e526e0 (diff) |
dri: add backbuffer use flag
This will be used by the next commit.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'include')
-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 6bbd3fa87f..2b49a2941e 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 /** |