diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2012-05-09 11:08:49 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2012-05-09 11:10:40 +0200 |
commit | b0b7d8d26fd107df342b5c87b0a38e5bb08101a9 (patch) | |
tree | 9748ebcc2296df252533ba2222e412a6f1526ac5 /src/radeon_exa_shared.c | |
parent | 6bda7ceda645e838723883d133d614def1511d16 (diff) |
EXA/UMS: Synchronize to the GPU before writing solid colour to scratch pixmap.
UMS doesn't do this automagically. It's a big hammer that will probably suck
for performance, but I don't have any better ideas right now.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/radeon_exa_shared.c')
-rw-r--r-- | src/radeon_exa_shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_exa_shared.c b/src/radeon_exa_shared.c index 31e28703..45222b5c 100644 --- a/src/radeon_exa_shared.c +++ b/src/radeon_exa_shared.c @@ -157,6 +157,7 @@ PixmapPtr RADEONSolidPixmap(ScreenPtr pScreen, uint32_t solid) return NULL; } + info->accel_state->exa->WaitMarker(pScreen, info->accel_state->exaSyncMarker); memcpy(info->FB + exaGetPixmapOffset(pPix), &solid, 4); return pPix; |