OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b484c71
)
r300: fix clear mask to not use sw if not necessary
author
Dave Airlie
<airlied@redhat.com>
Sun, 12 Jul 2009 11:35:24 +0000
(21:35 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 12 Jul 2009 11:37:46 +0000
(21:37 +1000)
src/mesa/drivers/dri/r300/r300_ioctl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_ioctl.c
b/src/mesa/drivers/dri/r300/r300_ioctl.c
index
4ae0b45
..
4e913db
100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_ioctl.c
+++ b/
src/mesa/drivers/dri/r300/r300_ioctl.c
@@
-646,6
+646,8
@@
static void r300Clear(GLcontext * ctx, GLbitfield mask)
if (colorMask == ~0)
tri_mask |= (mask & BUFFER_BITS_COLOR);
+ else
+ tri_mask |= (mask & (BUFFER_BIT_FRONT_LEFT | BUFFER_BIT_BACK_LEFT));
/* HW stencil */