summaryrefslogtreecommitdiff
path: root/src/xvmc/i915_xvmc.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-03-10 15:55:44 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-05-16 19:59:28 +0100
commite24c5d7dc33e0574178f0bc178b97cd1c439a2eb (patch)
tree9fde40411003c196631da56294cdfdff60082c40 /src/xvmc/i915_xvmc.h
parentaf48f18a831903b57ade1585d8a77449ae833257 (diff)
libXvMC i915: rip out unneeded surface fields
All of these are also stored in the context. Also kill the context reference counting. Doesn't serve a purpose besides occupying a pointer to the context in the private surface struct. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> (cherry picked from commit 583ec1f2f7ed32bb42c98baa1ca0fc3735b69b11) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/xvmc/i915_xvmc.h')
-rw-r--r--src/xvmc/i915_xvmc.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/xvmc/i915_xvmc.h b/src/xvmc/i915_xvmc.h
index 4a5a98da..3f96a9cc 100644
--- a/src/xvmc/i915_xvmc.h
+++ b/src/xvmc/i915_xvmc.h
@@ -98,14 +98,6 @@ typedef struct _i915XvMCSubpicture {
*/
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;
- unsigned int width; /* Dimensions */
- unsigned int height;
- i915XvMCContext *privContext;
- i915XvMCSubpicture *privSubPic; /* Subpicture to be blended when
- * displaying. NULL if none. */
} i915XvMCSurface;
#endif /* _I915XVMC_H */