projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc5f94c
)
r300: don't call page flip on DRI2
author
Dave Airlie
<airlied@redhat.com>
Thu, 26 Feb 2009 01:09:16 +0000
(11:09 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 26 Feb 2009 01:09:16 +0000
(11:09 +1000)
src/mesa/drivers/dri/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_state.c
b/src/mesa/drivers/dri/r300/r300_state.c
index 93ef06fb268675d5ee8b678c81fe80b7d44a1b77..ba1deee23ec884e5c120fdfc7624f484ec2cdeff 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_state.c
+++ b/
src/mesa/drivers/dri/r300/r300_state.c
@@
-2742,7
+2742,8
@@
static void r300DrawBuffer( GLcontext *ctx, GLenum mode )
radeon_firevertices(&rmesa->radeon); /* don't pipeline cliprect changes */
radeonSetCliprects( &rmesa->radeon );
- radeonUpdatePageFlipping(&rmesa->radeon);
+ if (!rmesa->radeon.radeonScreen->driScreen->dri2.enabled)
+ radeonUpdatePageFlipping(&rmesa->radeon);
}
static void r300ReadBuffer( GLcontext *ctx, GLenum mode )