summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-04-20 16:16:48 -0700
committerEric Anholt <eric@anholt.net>2009-04-27 17:05:59 -0700
commit612c1f1f1859ce0cef41049d79cc473657d48612 (patch)
treee95f639f39cb5d018781d65d2bcfa7617ca9be17 /src/i830.h
parentaf6892f2b873dd508994d8bbf3d67e719b535e35 (diff)
Remove I830_XV ifdef.
The developers of the driver don't ever run or test without XV. Don't do it.
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/i830.h b/src/i830.h
index 73b0712b..7b010184 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -390,11 +390,9 @@ typedef struct _I830Rec {
/** Ending batch_used that was verified by i830_start_batch_atomic() */
int batch_atomic_limit;
-#ifdef I830_XV
/* For Xvideo */
i830_memory *overlay_regs;
void *offscreenImages; /**< remembered memory block for release */
-#endif
#ifdef INTEL_XVMC
/* For XvMC */
Bool XvMCEnabled;
@@ -455,7 +453,6 @@ typedef struct _I830Rec {
Bool XvEnabled; /* Xv enabled for this generation. */
Bool XvPreferOverlay;
-#ifdef I830_XV
int colorKey;
XF86VideoAdaptorPtr adaptor;
ScreenBlockHandlerProcPtr BlockHandler;
@@ -471,7 +468,6 @@ typedef struct _I830Rec {
drm_intel_bo *gen4_sampler_bo;
drm_intel_bo *gen4_sip_kernel_bo;
} video;
-#endif
/* Render accel state */
float scale_units[2][2];
@@ -671,10 +667,8 @@ i830_crtc_set_cursor_colors (xf86CrtcPtr crtc, int bg, int fg);
extern void i830_refresh_ring(ScrnInfoPtr pScrn);
extern void I830EmitFlush(ScrnInfoPtr pScrn);
-#ifdef I830_XV
extern void I830InitVideo(ScreenPtr pScreen);
extern void i830_crtc_dpms_video(xf86CrtcPtr crtc, Bool on);
-#endif
int
i830_crtc_pipe (xf86CrtcPtr crtc);