summaryrefslogtreecommitdiff
path: root/src/xvmc/i915_xvmc.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-03-10 15:00:58 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2010-04-08 11:22:23 +0200
commit9eeabf876d1f70f5525bbac438414557dd2d4335 (patch)
treee4f3d7186357921116831fe61e6f6a518ccbd65e /src/xvmc/i915_xvmc.h
parenta0058369bbdfb49f8df5ee1e50671115927d3565 (diff)
libXvMC: derive driver surfaces from struct intel_xvmc_surface
... by putting struct intel_xvmc_surface at the beginning. This will allow to consolidate surface and bo handling. Also kill some now dead code used to handle the common surface structure. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'src/xvmc/i915_xvmc.h')
-rw-r--r--src/xvmc/i915_xvmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xvmc/i915_xvmc.h b/src/xvmc/i915_xvmc.h
index 0bf59289..af4e2047 100644
--- a/src/xvmc/i915_xvmc.h
+++ b/src/xvmc/i915_xvmc.h
@@ -97,6 +97,7 @@ typedef struct _i915XvMCSubpicture {
* structure.
*/
typedef struct _i915XvMCSurface {
+ struct intel_xvmc_surface comm;
unsigned int srfNo; /* XvMC private surface numbers */
unsigned int yStride; /* Stride of YUV420 Y component. */
unsigned int uvStride;