ANTIALIASING OF TWO-DIMENSIONAL VECTOR IMAGES
First Claim
1. A method of rendering an image, the method comprising:
- determining a transparency of a destination pixel at a plurality of samples in the destination pixel;
determining a transparency of a source pixel at a plurality of samples in the source pixel, the destination pixel being in front of the source pixel; and
determining a new pre-multiplied color of the destination pixel in response to the transparencies of the destination pixel, the transparencies of the source pixel, a color of the source pixel and a pre-multiplied color of the destination pixel.
3 Assignments
0 Petitions
Accused Products
Abstract
Described is a method of rendering an image. A transparency of a destination pixel and a transparency of a source pixel are determined at multiple sample positions in each pixel. A new pre-multiplied color is determined for the destination pixel in response to the transparencies of the destination pixel, the transparencies of the source pixel, a color of the source pixel and a pre-multiplied color of the destination pixel. New transparencies of the destination pixel are determined at the samples in the destination pixel in response to the transparencies of the source pixels and the transparencies of the destination pixel. The method of the present invention permits rendering of polygonal two-dimensional images while eliminating overdraw, therefore using less memory bandwidth than conventional methods for rendering typical two-dimensional vector images. Thus the method is suited for mobile computing and other applications with limited memory bandwidth.
-
Citations
18 Claims
-
1. A method of rendering an image, the method comprising:
-
determining a transparency of a destination pixel at a plurality of samples in the destination pixel; determining a transparency of a source pixel at a plurality of samples in the source pixel, the destination pixel being in front of the source pixel; and determining a new pre-multiplied color of the destination pixel in response to the transparencies of the destination pixel, the transparencies of the source pixel, a color of the source pixel and a pre-multiplied color of the destination pixel. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of rendering an image, the method comprising:
-
determining a destination transparency Adi at a number n of samples in a destination pixel; determining a source transparency Asi at the number n of samples in a source pixel, the source pixel being behind the destination pixel; and calculating a new pre-multiplied color p for the destination pixel in response to a pre-multiplied destination color pd, a source color cs, the destination transparencies Adi and the source transparencies Asi as - View Dependent Claims (9, 10, 11)
-
-
10. The method of claim 8 wherein the source transparencies are responsive to a plurality of values in a coverage mask for the source pixel.
-
11. The method of claim 8 wherein the determinations and calculations are made for a single layer in the two-dimensional vector image, the method further comprising repeating the determinations and calculations for another layer in the two-dimensional vector image.
-
12. A graphics processor for generating antialiased two-dimensional vector images comprising:
-
a source buffer storing, for a plurality of source pixels, a color and a plurality of transparencies of each source pixel, each transparency being associated with a sample in one of the source pixels; a destination buffer storing, for a plurality of destination pixels, a color and a plurality of transparencies for each destination pixel, each transparency being associated with a sample in one of the destination pixels, each destination pixel being in front of a respective one of the source pixels; and a composition module in communication with the destination buffer and the source buffer, the composition module generating a new pre-multiplied color for each destination pixel in response to the transparencies of the respective destination pixel, the transparencies of the respective source pixel, a color of the respective source pixel and a pre-multiplied color of the respective destination pixel, the composition module generating a new transparency for each destination pixel at each sample in the destination pixel in response to the transparencies of the respective source pixel and the transparencies of the respective destination pixel. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A computer readable medium for rendering an image, the computer readable medium comprising computer executable instructions to cause a processor to:
-
determine a transparency of a destination pixel at a plurality of samples in the destination pixel; determine a transparency of a source pixel at a plurality of samples in the source pixel, the destination pixel being in front of the source pixel; and determine a new pre-multiplied color of the destination pixel in response to the transparencies of the destination pixel, the transparencies of the source pixel, a color of the source pixel and a pre-multiplied color of the destination pixel. - View Dependent Claims (18)
-
Specification