diff options
author | Zou Nan hai <nanhai.zou@intel.com> | 2009-03-25 16:11:33 +0800 |
---|---|---|
committer | Zou Nan hai <nanhai.zou@intel.com> | 2009-03-25 16:11:33 +0800 |
commit | ebcb64fdc8a45105f529d5e15c335514ecaf1a05 (patch) | |
tree | 525859e69f1206cbd4658f8616a74fb4df6cfdb6 /src/i965_hwmc.h | |
parent | e6af995b24767815ab30364385768867e80605c2 (diff) |
XvMC VLD extension support for G4X
Diffstat (limited to 'src/i965_hwmc.h')
-rw-r--r-- | src/i965_hwmc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i965_hwmc.h b/src/i965_hwmc.h index dafd18d4..9db0f359 100644 --- a/src/i965_hwmc.h +++ b/src/i965_hwmc.h @@ -1,5 +1,5 @@ #define I965_MC_STATIC_BUFFER_SIZE (1024*512) -#define I965_MAX_SURFACES 32 +#define I965_MAX_SURFACES 12 struct _i830_memory; struct drm_memory_block { struct _i830_memory *buffer; @@ -19,6 +19,7 @@ struct i965_xvmc_context { struct _intel_xvmc_common comm; struct drm_memory_block static_buffer; struct drm_memory_block blocks; + struct drm_memory_block slice; struct i965_xvmc_surface *surfaces[I965_MAX_SURFACES]; unsigned int is_g4x:1; unsigned int is_965_q:1; |