summaryrefslogtreecommitdiff
path: root/i965_drv_video/i965_drv_video.h
diff options
context:
space:
mode:
Diffstat (limited to 'i965_drv_video/i965_drv_video.h')
-rw-r--r--i965_drv_video/i965_drv_video.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/i965_drv_video/i965_drv_video.h b/i965_drv_video/i965_drv_video.h
index 33b46f3..b4a1576 100644
--- a/i965_drv_video/i965_drv_video.h
+++ b/i965_drv_video/i965_drv_video.h
@@ -94,6 +94,9 @@ struct object_context
struct decode_state decode_state;
};
+#define SURFACE_REFERENCED (1 << 0)
+#define SURFACE_DISPLAYED (1 << 1)
+
struct object_surface
{
struct object_base base;
@@ -102,6 +105,7 @@ struct object_surface
int width;
int height;
int size;
+ int flags;
dri_bo *bo;
void (*free_private_data)(void **data);
void *private_data;
@@ -137,8 +141,6 @@ struct object_subpic
dri_bo *bo;
};
-
-
struct i965_driver_data
{
struct intel_driver_data intel;