summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-03-10 19:04:51 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2010-04-08 11:22:24 +0200
commit3f590a4577f554313e7577205e471757a39129b6 (patch)
tree8da2786ee3113146ffea87f593ef5e340950468e
parent8a31dacb067f813a5b0eafc16d265434e48ec5fc (diff)
libXvMC i915: kill unused context private fields
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-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;