diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-09-30 19:25:20 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-09-30 19:25:20 +0200 |
commit | d43ad88fa3913437f6987ab5ab46a38f0cb555a8 (patch) | |
tree | ecf6c5c7334fc3a7fd16a8fd65bd24a2c6d582bb /src/radeon_exa.c | |
parent | 146ea328b7962f56c6ab47fbe2adc7561b36189c (diff) |
radeon: Add support for page flipping with EXA.
Also use the damage layer directly instead of via shadowfb and blit dirty
rectangles to the second page in LeaveServer in order to try and improve the
tradeoff between performance and correctness.
Diffstat (limited to 'src/radeon_exa.c')
-rw-r--r-- | src/radeon_exa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c index 9ef74e99..7e57fe76 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -118,7 +118,7 @@ static __inline__ CARD32 F_TO_DW(float val) /* Assumes that depth 15 and 16 can be used as depth 16, which is okay since we * require src and dest datatypes to be equal. */ -static Bool RADEONGetDatatypeBpp(int bpp, CARD32 *type) +Bool RADEONGetDatatypeBpp(int bpp, CARD32 *type) { switch (bpp) { case 8: @@ -172,7 +172,7 @@ static Bool RADEONGetOffsetPitch(PixmapPtr pPix, int bpp, CARD32 *pitch_offset, return TRUE; } -static Bool RADEONGetPixmapOffsetPitch(PixmapPtr pPix, CARD32 *pitch_offset) +Bool RADEONGetPixmapOffsetPitch(PixmapPtr pPix, CARD32 *pitch_offset) { RINFO_FROM_SCREEN(pPix->drawable.pScreen); CARD32 pitch, offset; |