projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da2e541
)
draw: tweak AA line texture minimum alpha
author
Brian Paul
<brianp@vmware.com>
Wed, 9 Feb 2011 20:11:12 +0000
(13:11 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 11 Feb 2011 19:00:51 +0000
(12:00 -0700)
AA lines drawn as textured quads look a little better with this change.
Conformance/piglit tests still pass.
src/gallium/auxiliary/draw/draw_pipe_aaline.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pipe_aaline.c
b/src/gallium/auxiliary/draw/draw_pipe_aaline.c
index
0851b9a
..
af4cea8
100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pipe_aaline.c
+++ b/
src/gallium/auxiliary/draw/draw_pipe_aaline.c
@@
-461,7
+461,7
@@
aaline_create_texture(struct aaline_stage *aaline)
d = 200; /* tuneable */
}
else if (i == 0 || j == 0 || i == size - 1 || j == size - 1) {
- d =
0;
+ d =
35; /* edge texel */
}
else {
d = 255;