summaryrefslogtreecommitdiff
path: root/i965_drv_video/i965_drv_video.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2011-05-13 15:45:22 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2011-05-16 11:57:39 +0800
commit1587cb7821d6e9f4ae52288c30d45e5b3a7ab7a1 (patch)
tree3e9fdd284dee443d53fd373b109a15c62a32d716 /i965_drv_video/i965_drv_video.h
parentdb1a88d199aa906b2aad1b5046e55151f6320dac (diff)
i965_drv_vidoe: thread safety for rendering
Diffstat (limited to 'i965_drv_video/i965_drv_video.h')
-rw-r--r--i965_drv_video/i965_drv_video.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/i965_drv_video/i965_drv_video.h b/i965_drv_video/i965_drv_video.h
index 110109a..c0ff3d4 100644
--- a/i965_drv_video/i965_drv_video.h
+++ b/i965_drv_video/i965_drv_video.h
@@ -33,8 +33,8 @@
#include <va/va.h>
#include <va/va_backend.h>
+#include "i965_mutext.h"
#include "object_heap.h"
-
#include "intel_driver.h"
#define I965_MAX_PROFILES 11
@@ -217,6 +217,7 @@ struct i965_driver_data
struct object_heap subpic_heap;
struct hw_codec_info *codec_info;
+ _I965Mutex render_mutex;
struct intel_batchbuffer *batch;
struct i965_render_state render_state;
void *pp_context;