Bug 11656 - Vertex point is rendered differently at different postion
Summary: Vertex point is rendered differently at different postion
Status: VERIFIED FIXED
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-18 23:01 UTC by Shuang He
Modified: 2009-08-24 12:27 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (1.81 KB, application/octet-stream)
2007-07-18 23:10 UTC, Shuang He
Details

Description Shuang He 2007-07-18 23:01:10 UTC
with or without point anti-alias enabled, point size of 2.6, a vertex point drawn at different position will have different shape. And also, the anti-alias doesn't seem to function.
Comment 1 Shuang He 2007-07-18 23:10:00 UTC
Created attachment 10801 [details]
test case

point anti-alias is enabled , and point size is set to 2.6
draw a vertex point at the center of the window
clear the window and draw a new vertex point have a small offset to the center.
the RGB value of pixels drawn will be display
Comment 2 Tormod Volden 2007-07-19 14:32:27 UTC
The geometries are different because the vertex is shifted by a sub-pixel length. As long as sub-pixel rendering is not used:

             XXX
offset 0.0:  XXX    Vertex centre is on a pixel:
             XXX    2n+1 pixels must be used to keep symmetry

              XX
offset 0.5:  XXXX   Vertex centre is between two pixels:
              XX    2n pixels must be used to keep symmetry

              XXX
offset 1.0:   XXX   (Vertex centre is again on a pixel)
              XXX

BTW, using fglrx (ATI X1300) I get a red dot, using ati (ATI X700) I get a dark yellow dot...
Comment 3 Zou Nan hai 2008-03-17 02:03:41 UTC
Fixed in mesa.
Comment 4 Shuang He 2008-03-17 18:54:37 UTC
verified, thanks
Comment 5 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.