Summary: | [OGL] Draw polygon has one pixel bias if PolygonMode is GL_LINE | ||
---|---|---|---|
Product: | Mesa | Reporter: | WuNian <nian.wu> |
Component: | Drivers/DRI/i915 | Assignee: | haihao <haihao.xiang> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | minor | ||
Priority: | medium | CC: | dri-devel |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 20277 | ||
Attachments: | test case |
Description
WuNian
2008-04-11 00:20:38 UTC
The bug results from the PolygonMode is set as GL_LINE. If set the PolygonMode as GL_LINE, then polygon will be drawn with one pixel bias(only the left line). Created attachment 15888 [details]
test case
The spec allows the line rasterization to be off by a pixel in X or Y. But in the case of this test, the lines are being drawn exactly on the pixel boundaries, so if the test was fixed to draw the lines along the middle of the pixels, it would work fine on our hardware (and probably everyone else's, too). |
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.