Line rasterization techniques
First Claim
Patent Images
1. A method comprising:
- receiving starting and ending vertices of a given line;
conditioning a start of the given line or an end of the given line includingpulling in the end if the given line is a given line type related to a given diamond test area, the end is in a given portion of a pixel, the end is in a second diamond test area but does not exit the second diamond test area and both start and end of the given line are not in a same pixel; and
pushing out the start if the given line is the given line type, the start is in the given portion of the pixel and the given line exits a first diamond test area; and
lighting a pixel of a display if the given line exits a diamond test area of the pixel after the conditioning.
1 Assignment
0 Petitions
Accused Products
Abstract
A line rasterization technique in accordance with one embodiment includes conditioning a line by pulling in the ending vertex of the line or pushing out the starting vertex of the line. Thereafter, if the line exits a diamond test area of each pixel that it touches, the pixel may be lit.
170 Citations
20 Claims
-
1. A method comprising:
-
receiving starting and ending vertices of a given line; conditioning a start of the given line or an end of the given line including pulling in the end if the given line is a given line type related to a given diamond test area, the end is in a given portion of a pixel, the end is in a second diamond test area but does not exit the second diamond test area and both start and end of the given line are not in a same pixel; and pushing out the start if the given line is the given line type, the start is in the given portion of the pixel and the given line exits a first diamond test area; and lighting a pixel of a display if the given line exits a diamond test area of the pixel after the conditioning. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable medium containing a plurality of instructions which when executed cause a computing device to implement a method of conditioning a line comprising:
-
pulling in an ending vertex of a given line if the given line is a given line type related to a given diamond test area, the ending vertex is in a given portion of a pixel, the ending vertex is in a second diamond test area but does not exit the second diamond test area and both vertices of the given line are not in a same pixel; and pushing out a starting vertex of the given line if the given line is the given line type, the starting vertex is in the given portion of the pixel and the given line exits a first diamond test area. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A processor comprising:
-
a setup unit for receiving a draw command and parameters describing a geometric primitive; and a rasterizer, communicatively coupled to the setup unit for rasterizing the geometric primitive, wherein the rasterizer includes a line condition logic for; pulling in an ending vertex of a given line if the given line is a given line type related to a given diamond test area, the ending vertex is in a given portion of a pixel, the ending vertex is in a second diamond test area but does not exit the second diamond test area and both vertices of the given line are not in a same pixel; and pushing out a starting vertex of the given line if the given line is the given line type, the starting vertex is in the given portion of the pixel and the given line exits a first diamond test area; and a data write unit, communicatively coupled to the rasterizer, for outputting the resulting pixel data. - View Dependent Claims (17, 18, 19, 20)
-
Specification