[Mesa-dev] [Bug 94193] [llvmpipe] Line antialiasing looks different when GL_LINE_STIPPLE is enabled with pattern 0xffff

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 17 15:45:49 UTC 2016


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: mesa-dev at lists.freedesktop.org
          Reporter: florianlink at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160217/4bd349c2/attachment.html>


More information about the mesa-dev mailing list