projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67fb13b
)
st/xorg: Use I8 format instead of A8 for depth 8 pixmaps.
author
Michel Dänzer
<daenzer@vmware.com>
Fri, 25 Sep 2009 18:38:49 +0000
(20:38 +0200)
committer
Michel Dänzer
<daenzer@vmware.com>
Fri, 25 Sep 2009 18:38:49 +0000
(20:38 +0200)
Seems to work better for Composite acceleration.
src/gallium/state_trackers/xorg/xorg_exa.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_exa.c
b/src/gallium/state_trackers/xorg/xorg_exa.c
index 1bb274e6bdd56f493da9f47a4253e08262614056..94f4ea2c3868a5e90f9b30076c2d05dc9b02dcd9 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_exa.c
+++ b/
src/gallium/state_trackers/xorg/xorg_exa.c
@@
-75,7
+75,7
@@
exa_get_pipe_format(int depth, enum pipe_format *format, int *bbp)
assert(*bbp == 16);
break;
case 8:
- *format = PIPE_FORMAT_
A
8_UNORM;
+ *format = PIPE_FORMAT_
I
8_UNORM;
assert(*bbp == 8);
break;
case 4: