https://bugs.freedesktop.org/show_bug.cgi?id=94193
Bug ID: 94193
Summary: [llvmpipe] Line antialiasing looks different when
GL_LINE_STIPPLE is enabled with pattern 0xffff
Product: Mesa
Version: 10.6
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Other
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 121810
--> https://bugs.freedesktop.org/attachment.cgi?id=121810&action=edit
the thicker line
When rendering lines with
glEnable(GL_LINE_SMOOTH);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glLineWidth(3)
glEnable(GL_LINE_STIPPLE);
glLineStipple(1, 0xffff);
// draw line strip...
the lines look thicker and have uglier antialiasing as if rendered with:
glEnable(GL_LINE_SMOOTH);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glLineWidth(3)
glDisable(GL_LINE_STIPPLE);
// draw line strip
When doing the same on NVidia or ATI OpenGL drivers, the lines look the
same.
Maybe it would make sense to detect the 0xffff pattern in MESA
and to not enable stippling when that pattern is set?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug._______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev