i965/vec4: Make with_writemask() non-static.
[mesa.git] / src / mesa / drivers / dri / i965 / intel_regions.h
index 62a1c9c54ba6ae23435dda8f6181e1091b92f020..f08a113c9368f3d38f221fd936530fa38c25c16a 100644 (file)
 
 #include "main/mtypes.h"
 #include "intel_bufmgr.h"
+#include <GL/internal/dri_interface.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 struct brw_context;
-struct intel_context;
 struct intel_screen;
 struct intel_buffer_object;
 
@@ -150,6 +150,19 @@ struct __DRIimageRec {
    GLuint tile_y;
    bool has_depthstencil;
 
+   /**
+    * Provided by EGL_EXT_image_dma_buf_import.
+    * 
+    * The flag is set in order to restrict the use of the image later on.
+    *
+    * See intel_image_target_texture_2d()
+    */
+   bool dma_buf_imported;
+   enum __DRIYUVColorSpace yuv_color_space;
+   enum __DRISampleRange sample_range;
+   enum __DRIChromaSiting horizontal_siting;
+   enum __DRIChromaSiting vertical_siting;
+
    void *data;
 };