Bug 12410 - Incomplete primitive rendering with GL_LINE_LOOP over a surface on 945GM
Summary: Incomplete primitive rendering with GL_LINE_LOOP over a surface on 945GM
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-13 10:01 UTC by David Henry
Modified: 2009-08-24 12:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.log (46.84 KB, text/plain)
2007-09-13 10:02 UTC, David Henry
Details
test case (2.05 KB, text/x-csrc)
2007-09-13 10:03 UTC, David Henry
Details
test case screenshot, showing the bug (5.37 KB, image/png)
2007-09-13 10:04 UTC, David Henry
Details
screenshot of the test case with Option NoAccel (5.45 KB, image/png)
2007-09-13 10:04 UTC, David Henry
Details

Description David Henry 2007-09-13 10:01:47 UTC
Drawing an object with GL_LINE_LOOP on top of an already drawn surface (in 2D) results in incomplete rendering of the lines. It works if the bottom surface isn't drawn, or if we draw the same object with GL_LINES.

The problem doesn't appear if Option NoAccel is set to true (so not a Mesa bug). It also works on Nvidia with proprietary driver.

OpenGL renderer string: Mesa DRI Intel(R) 945GM 20061017 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 7.0
Comment 1 David Henry 2007-09-13 10:02:24 UTC
Created attachment 11537 [details]
xorg.log
Comment 2 David Henry 2007-09-13 10:03:45 UTC
Created attachment 11538 [details]
test case

The test case draws two triangles with GL_LINE_LOOP on top of a blue surface (in 2D mode). The left triangle is drawn using GL_LINE_LOOP, the right triangle is drawn using GL_LINES.
Comment 3 David Henry 2007-09-13 10:04:21 UTC
Created attachment 11539 [details]
test case screenshot, showing the bug

Left triangle is incomplete
Comment 4 David Henry 2007-09-13 10:04:59 UTC
Created attachment 11540 [details]
screenshot of the test case with Option NoAccel

It shows that it works in software mode, without DRI.
Comment 5 Roland Scheidegger 2007-12-22 09:58:42 UTC
This should be fixed in master and mesa_7_0_branch, though I didn't test with this chipset. Reopen if not.
Comment 6 Adam Jackson 2009-08-24 12:28:01 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.