i965: Lift some restrictions on dma_buf EGLImages
[mesa.git] / src / mesa / drivers / dri / i965 / intel_image.h
index 0cae7119a9a75db8369d7f8e528c766ad1155125..a82cf3b3bd1a99070afd399f8ef7902d2fdf1b5e 100644 (file)
@@ -89,18 +89,18 @@ struct __DRIimageRec {
    GLuint tile_y;
    bool has_depthstencil;
 
+   /** The image was created with EGL_EXT_image_dma_buf_import. */
+   bool dma_buf_imported;
+
    /**
     * 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;
 };