Patent ID: 7425966
Filing Date: 2008-09-16
Classification: G06T

Abstract:
1. A method of determining a centroid sub-pixel sample position within a fragment, comprising: receiving coverage data for a pixel representing one or more sub-pixel sample positions within a fragment; determining centroid information, including a centroid index, based on comparing the coverage data and a selected one of a plurality of multisample modes to the fragment, wherein the selected multi-sample mode includes one of a plurality of sub-pixel sample positions and the centroid is uniquely determined by the selected multi-sample mode; computing the centroid sub-pixel sample position based on the centroid information by reading a pixel center offset from a table using the centroid index; applying the pixel center offset to a pixel center position to compute the centroid sub-pixel sample position; determining whether the centroid sub-pixel sample position is covered by the fragment; and outputting the fragment from the fragment shader to a texture map unit only if the centroid sub-pixel sample position is covered by the fragment.