摘要 |
A method and apparatus for producing a fragment descriptor for use in oversampling anti-aliasing includes processing that begins by generating a single representative color value for a plurality of subpixels of a pixel. The processing then continues by generating a single representative Z value for the pixel. The processing continues by generating masking information for the pixel, wherein the masking information indicates, for a given object-element being rendered, coverage of the pixel by the object-element. The processing continues by packing the single representative color value, the single representative Z value, and the masking information into a fragment descriptor. The processing continues by transporting the fragment descriptor to a custom memory. When the custom memory receives the fragment descriptor it unpacks it to recapture the single representative color value, the single representative Z value and the masking information. The custom memory then duplicates the single representative color value for each subpixel of the pixel that is covered by the object-element based on the masking information. The custom memory then determines slope information for the pixel such that Z values may be determined for each subpixel. In addition, the custom memory generates color values and the Z values for each subpixel.
|