Commit 3f590a45 authored by Daniel Vetter's avatar Daniel Vetter

libXvMC i915: kill unused context private fields

Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 8a31dacb
......@@ -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);
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment