summaryrefslogtreecommitdiff
path: root/src/radeon_exa_shared.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2012-04-13 09:35:38 +0200
committerMichel Dänzer <michel@daenzer.net>2012-04-16 15:54:26 +0200
commitd88b9700137ee407c483f263bb55c77cd6f92fef (patch)
tree04202d50791f6cd06d3582a9cb97194934a4420f /src/radeon_exa_shared.h
parent66b586b9b9cdaf70f0fcd547b5a04f044d848d44 (diff)
EXA: Support acceleration of solid pictures on R3xx-R7xx.
Allocate 1x1 scratch pixmaps to hold the solid picture colours. This works around https://bugs.freedesktop.org/show_bug.cgi?id=47266 and might improve performance in other cases as well. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/radeon_exa_shared.h')
-rw-r--r--src/radeon_exa_shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_exa_shared.h b/src/radeon_exa_shared.h
index 7b8b5cae..60a10459 100644
--- a/src/radeon_exa_shared.h
+++ b/src/radeon_exa_shared.h
@@ -40,6 +40,7 @@ extern void RADEONVlineHelperClear(ScrnInfoPtr pScrn);
extern void RADEONVlineHelperSet(ScrnInfoPtr pScrn, int x1, int y1, int x2, int y2);
extern Bool RADEONValidPM(uint32_t pm, int bpp);
extern Bool RADEONCheckBPP(int bpp);
+extern PixmapPtr RADEONSolidPixmap(ScreenPtr pScreen, uint32_t solid);
#define RADEON_TRACE_FALL 0
#define RADEON_TRACE_DRAW 0