Bug 11641 - [i965] stippling pattern doesn't continues across with GL_LINE_LOOP mode
Summary: [i965] stippling pattern doesn't continues across with GL_LINE_LOOP mode
Status: VERIFIED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: Zou Nan hai
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-17 20:15 UTC by Shuang He
Modified: 2009-08-24 12:27 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (1.34 KB, application/octet-stream)
2007-07-17 20:19 UTC, Shuang He
Details
updated test program (1.36 KB, text/x-csrc)
2008-03-12 16:04 UTC, Brian Paul
Details

Description Shuang He 2007-07-17 20:15:36 UTC
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
Comment 1 Shuang He 2007-07-17 20:19:05 UTC
Created attachment 10776 [details]
test case

test case
Comment 2 Shuang He 2008-03-11 23:01:31 UTC
seems this is a mesa core issue, because it's happening in software rendering as well.
Comment 3 Brian Paul 2008-03-12 16:04:45 UTC
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.
Comment 4 Shuang He 2008-03-12 18:40:30 UTC
(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
Comment 5 Zou Nan hai 2008-03-17 18:52:50 UTC
Fixed in mesa
Comment 6 Shuang He 2008-03-17 19:41:04 UTC
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.
Comment 7 Zou Nan hai 2008-03-18 01:47:30 UTC
You may set INTEL_STRICT_CONFORMANCE=1 to retest the program 
Comment 8 Shuang He 2008-03-18 19:42:23 UTC
(In reply to comment #7)
> You may set INTEL_STRICT_CONFORMANCE=1 to retest the program 
> 

it works for me, thanks
Comment 9 Shuang He 2008-03-18 19:42:38 UTC
verified
Comment 10 Adam Jackson 2009-08-24 12:27:23 UTC
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.