diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-07-16 03:14:06 -0400 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2008-12-04 21:49:52 +0100 |
commit | 4d98acbca2e630056bf56cdcd0e23007fded2ced (patch) | |
tree | a574724160c84f68601072fb25e7507653da3ce6 /src/radeon_video.h | |
parent | 82d67b70d0fb747cf7b1eb0b64244ae56cb84572 (diff) |
First pass at tear-free accel
if the dest pixmap is the front buffer, stall the pipe
until the vline is outside the active area.
For EXA, pick crtc based on the larger mode area;
ideally we'd have one pixmap per crtc.
For Xv, use dst window area to determine crtc.
Diffstat (limited to 'src/radeon_video.h')
-rw-r--r-- | src/radeon_video.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_video.h b/src/radeon_video.h index 448377be..7c4151f0 100644 --- a/src/radeon_video.h +++ b/src/radeon_video.h @@ -117,6 +117,11 @@ typedef struct { int drw_x, drw_y; } RADEONPortPrivRec, *RADEONPortPrivPtr; +int +radeon_covering_crtc_num(ScrnInfoPtr pScrn, + int x1, int x2, int y1, int y2, + xf86CrtcPtr desired); + void RADEONInitI2C(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); void RADEONResetI2C(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); |