summaryrefslogtreecommitdiff
path: root/src/xvmc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xvmc')
-rw-r--r--src/xvmc/i915_xvmc.c3
-rw-r--r--src/xvmc/i915_xvmc.h12
2 files changed, 0 insertions, 15 deletions
diff --git a/src/xvmc/i915_xvmc.c b/src/xvmc/i915_xvmc.c
index 45be718e..80b70e66 100644
--- a/src/xvmc/i915_xvmc.c
+++ b/src/xvmc/i915_xvmc.c
@@ -938,9 +938,6 @@ static Status i915_xvmc_mc_create_context(Display * display,
/* Initialize private context values */
pI915XvMC->yStride = STRIDE(context->width);
pI915XvMC->uvStride = STRIDE(context->width >> 1);
- pI915XvMC->haveXv = 0;
- pI915XvMC->dual_prime = 0;
- pI915XvMC->port = context->port;
/* pre-init state buffers */
i915_mc_one_time_context_init(context);
diff --git a/src/xvmc/i915_xvmc.h b/src/xvmc/i915_xvmc.h
index 246faf9c..96dd3ce8 100644
--- a/src/xvmc/i915_xvmc.h
+++ b/src/xvmc/i915_xvmc.h
@@ -51,21 +51,9 @@
*/
typedef struct _i915XvMCContext {
struct intel_xvmc_context comm;
- unsigned int ctxno;
- unsigned int dual_prime; /* Flag to identify when dual prime is in use. */
unsigned int yStride;
unsigned int uvStride;
- unsigned short ref;
- unsigned int depth;
unsigned int use_phys_addr;
- XvPortID port; /* Xv Port ID when displaying */
- int haveXv; /* Have I initialized the Xv
- * connection for this surface? */
- XvImage *xvImage; /* Fake Xv Image used for command
- * buffer transport to the X server */
- GC gc; /* X GC needed for displaying */
- Drawable draw; /* Drawable to undisplay from */
- void *drawHash;
drm_intel_bo *sis_bo;
drm_intel_bo *msb_bo;