With GL_LINE_STIPPLE enabled, drawing a Polygon with GL_LINE_LOOP mode, the stippling pattern should continues across these connected line segments, but it doesn't work like that
Created attachment 10776 [details] test case test case
seems this is a mesa core issue, because it's happening in software rendering as well.
Created attachment 15076 [details] updated test program Core Mesa checks out OK for me. I modified your test program to draw a GL_POLYGON (which I think was your intention). Also, if you resize the window, you'll see that the stipple pattern continues from one line to the next as expected.
(In reply to comment #3) > Created an attachment (id=15076) [details] > updated test program > > Core Mesa checks out OK for me. yeah, I checked it again. it's working in software rendering and i915 dri, but not for i965. > > I modified your test program to draw a GL_POLYGON (which I think was your > intention). Also, if you resize the window, you'll see that the stipple > pattern continues from one line to the next as expected. > seems both updated and old test cases have same failure for 965
Fixed in mesa
for GL_LINE_LOOP, run the test cases many times, you can see the stipple pattern is changing. for GL_POLYGON, the stipple pattern still does not continue across.
You may set INTEL_STRICT_CONFORMANCE=1 to retest the program
(In reply to comment #7) > You may set INTEL_STRICT_CONFORMANCE=1 to retest the program > it works for me, thanks
verified
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.