Method and apparatus for resolving pixel data in a graphics rendering system
First Claim
1. A pixel resolution circuit for resolving contiguous 2D sub-regions of an image being rendered, the circuit comprising:
- a fragment buffer for storing depth sorted fragment records, the fragment records including color data and pixel coverage data corresponding to n sub-pixel regions, where n is an integer, wherein the fragment buffer is used to resolve fragment records for one 2D sub-region at a time such that the fragment buffer is re-used for the 2D sub-regions of the image;
color accumulators corresponding to the n sub-pixel regions, the color accumulators coupled to the fragment buffer for receiving the color data, and for separately accumulating and storing the color data for each sub-pixel region;
logic for adding the accumulated color from each of the color accumulators and computing a color value for a pixel.
2 Assignments
0 Petitions
Accused Products
Abstract
In a graphics rendering system, an apparatus for resolving depth sorted lists of pixel fragments includes color and alpha accumulators for computing color and alpha values from the pixel fragments in a fragment list. Pixel fragments include color, alpha, coverage data. The coverage data describes how a geometric primitive covers sub-pixel regions of a pixel using a coverage mask. Pixel circuitry according to a clock-optimized approach includes separate color and alpha accumulators for computing color and alpha values for sub-pixel regions of a pixel. The accumulated color values are then summed and scaled to compute final color values for a pixel. To reduce hardware requirements, pixel circuitry in a hardware-optimized approach recognizes that some pixel regions have common accumulated alpha values as each fragment layer is processed. As such, color contributions for fragment layers can be computed using a single color accumulation operation for a pixel region having common alpha values.
229 Citations
14 Claims
-
1. A pixel resolution circuit for resolving contiguous 2D sub-regions of an image being rendered, the circuit comprising:
-
a fragment buffer for storing depth sorted fragment records, the fragment records including color data and pixel coverage data corresponding to n sub-pixel regions, where n is an integer, wherein the fragment buffer is used to resolve fragment records for one 2D sub-region at a time such that the fragment buffer is re-used for the 2D sub-regions of the image; color accumulators corresponding to the n sub-pixel regions, the color accumulators coupled to the fragment buffer for receiving the color data, and for separately accumulating and storing the color data for each sub-pixel region; logic for adding the accumulated color from each of the color accumulators and computing a color value for a pixel. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A pixel resolution circuit for resolving pixel data for a pixel location having n sub-pixel regions, where n is an integer comprising:
-
a fragment buffer storing depth-sorted fragment records for a pixel location, each fragment record including color data, an alpha value, and pixel coverage data indicating which of the n sub-pixel regions the fragment record covers; a new coverage control in communication with the fragment buffer, the new coverage control for analyzing pixel coverage data, for identifying unique pixel regions including sub-pixels having common accumulated alpha values, and for storing the common accumulated alpha values for the pixel regions; and a scale and accumulation control in communication with the new coverage control and the fragment buffer, the scale and accumulation control coupled to the fragment buffer for receiving the color, alpha, and pixel coverage data, the color accumulation circuitry having color scale and color accumulation circuitry for computing accumulated color for the unique pixel regions having common accumulated alpha values. - View Dependent Claims (7, 8, 9)
-
-
10. A method for resolving pixel data for contiguous 2D subregions of an image being rendered, the method comprising:
-
successively processing fragment records for pixel locations in a 2D subregion such that each subregion for the image is resolved in a serial order, the fragment records including color data and pixel coverage data corresponding to n sub-pixel regions, where n is an integer; separately accumulating color for the n sub-pixel regions; storing the accumulated color for the n sub-pixel regions; and combining the accumulated color for the n sub-pixel regions to compute a color value for a pixel location. - View Dependent Claims (11, 12, 13)
-
-
14. A method for resolving pixel data for a pixel location having n sub-pixel regions, where n is an integer, the method comprising:
-
reading a current fragment record from a depth sorted list of fragment records, each fragment record including color data, an alpha value, and pixel coverage data identifying which of the n sub-pixel regions that the fragment record covers; analyzing the pixel coverage data of the current fragment to identify one or more unique pixel regions, each having one or more sub-pixel regions having a common accumulated alpha; for each of the one or more unique pixel regions, scaling the color data for the current fragment by multiplying the color data for the current fragment by the common accumulated alpha for the pixel region, the alpha value of the current fragment, and a coverage scale factor, where the coverage scale factor is m/n and m is the number of sub-pixel regions in the pixel region; and adding the scaled color data with accumulated color data for the pixel location; repeating analyzing, scaling and adding steps for subsequent fragments in the depth sorted list.
-
Specification