Patent ID: 9183651
Filing Date: 2015-11-10
Classification: G06T

Abstract:
1. A computer-storage device having computer-executable instructions embodied thereon for performing a method of rendering antialiased two-dimensional graphics, the method comprising: converting scene data into an input coverage mask by generating a set of geometric shapes tessellated from objects in the scene data; receiving, by an application program interface (API), a first instruction that defines a render-target storage value in a graphics pipeline, wherein the render-target storage value is an amount of memory allocated to a rendered image; receiving, by the API, a second instruction that defines the sampling rate for a rasterizer in the graphics pipeline, wherein the sampling rate is defined by the second instruction independently from the render-target storage value and the render-target storage value is defined by the first instruction independently from the sampling rate, and wherein the sampling rate defines a number of sub-pixels that the rasterizer assigns colors; receiving a third instruction to configure a pixel shader to process the input coverage mask through the graphics pipeline based on the amount of memory allocated and the number of sub-pixels that the rasterizer assigns colors, wherein the pixel shader and an alpha blender are configured to count a number of bit sets in the input coverage mask, normalize the results to a real number, and add the real number to current contents of a render target; wherein at least the first and second instructions comprise configuration instructions for one or more components in the graphics pipeline; and communicating the input coverage mask to the graphics pipeline.