These flags can be used by the DRI driver to set additional requirements
such as tiling while creating buffers.

Cc: Michel Danzer <[email protected]>
Signed-off-by: Vivek Kasireddy <[email protected]>
---
 include/GL/internal/dri_interface.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/GL/internal/dri_interface.h 
b/include/GL/internal/dri_interface.h
index 6bbd3fa..871143ae 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -1100,6 +1100,9 @@ struct __DRIdri2ExtensionRec {
 #define __DRI_IMAGE_USE_SCANOUT                0x0002
 #define __DRI_IMAGE_USE_CURSOR         0x0004 /* Depricated */
 #define __DRI_IMAGE_USE_LINEAR         0x0008
+#define __DRI_IMAGE_USE_SCANOUT_ROTATION_90    0x0010
+#define __DRI_IMAGE_USE_SCANOUT_ROTATION_180   0x0020
+#define __DRI_IMAGE_USE_SCANOUT_ROTATION_270   0x0040
 
 
 /**
-- 
2.4.3

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to