diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2011-05-13 15:45:22 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2011-05-16 11:57:39 +0800 |
commit | 1587cb7821d6e9f4ae52288c30d45e5b3a7ab7a1 (patch) | |
tree | 3e9fdd284dee443d53fd373b109a15c62a32d716 /i965_drv_video/i965_drv_video.h | |
parent | db1a88d199aa906b2aad1b5046e55151f6320dac (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.h | 3 |
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; |