projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ec7137
)
radeon: avoid page flip code in DRI2
author
Dave Airlie
<airlied@redhat.com>
Wed, 25 Feb 2009 09:22:42 +0000
(19:22 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 26 Feb 2009 05:32:34 +0000
(15:32 +1000)
src/mesa/drivers/dri/radeon/radeon_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_state.c
b/src/mesa/drivers/dri/radeon/radeon_state.c
index 86d872030bc096224a872332c5f306997088fe2b..5fffa286fe2722ba718adc6ee8b4fe1ffa5ec108 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_state.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_state.c
@@
-1563,7
+1563,8
@@
static void radeonDrawBuffer( GLcontext *ctx, GLenum mode )
}
radeonSetCliprects( &rmesa->radeon );
- radeonUpdatePageFlipping(&rmesa->radeon);
+ if (!rmesa->radeon.radeonScreen->driScreen->dri2.enabled)
+ radeonUpdatePageFlipping(&rmesa->radeon);
/* We'll set the drawing engine's offset/pitch parameters later
* when we update other state.
*/