#include "main/mtypes.h"
#include "intel_bufmgr.h"
+#include <GL/internal/dri_interface.h>
#ifdef __cplusplus
extern "C" {
#endif
-struct intel_context;
+struct brw_context;
struct intel_screen;
struct intel_buffer_object;
void intel_region_release(struct intel_region **ib);
-void intel_recreate_static_regions(struct intel_context *intel);
-
void
intel_region_get_tile_masks(struct intel_region *region,
uint32_t *mask_x, uint32_t *mask_y,
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;
};