diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2010-09-21 22:56:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-21 22:57:36 +0100 |
commit | bfba6d6148b938588ffbefdf04f4e71683c66dfd (patch) | |
tree | 0b9926406b17bf530d42977cdc8d99c85dd40bce /src/intel_dri.c | |
parent | f63c7df6866fed61551d39209b1a262e2a0c4b28 (diff) |
Allow interlaced modes.
This may not the best method, but it should be a good base on which to
build...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_dri.c')
-rw-r--r-- | src/intel_dri.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel_dri.c b/src/intel_dri.c index db1f81ab..4f669372 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -367,6 +367,12 @@ I830DRI2CopyRegion(DrawablePtr drawable, RegionPtr pRegion, event = MI_WAIT_FOR_PIPEB_SVBLANK; } + if (scrn->currentMode->Flags & V_INTERLACE) { + /* DSL count field lines */ + y1 /= 2; + y2 /= 2; + } + BEGIN_BATCH(5); /* * The documentation says that the LOAD_SCAN_LINES |