Patent ID: 8325177

Claim:
One or more computer readable tangible storage media having computer-executable instructions embodied thereon for performing a method of displaying two-dimensional objects on a display device, the method comprising: receiving a rendering request from an application, wherein said rendering request includes a plurality of drawing calls and a plurality of state setting calls that will be used to draw a two-dimensional drawing that includes a set of primitive geometries (“geometries”), which is made of more complex geometries and less complex geometries, wherein the more complex geometries are more complex than the less complex geometries, and further wherein the more complex geometries are able to be broken down into one or more less complex geometries; coalescing the plurality of drawing calls and state setting calls in an intermediate buffer associated with a render target; tessellating the set of primitive geometries into a set of triangles by breaking down at least a portion of the relatively more complex geometries into a sequence of corresponding triangles; mapping the sequence of corresponding triangles into a vertex buffer, thereby producing mapped data, wherein the sequence of corresponding triangles are mapped to the vertex buffer as vertices, and wherein an index is associated with each vertex of said vertices, thereby enabling constant data in a constant buffer to be identified; indexing said constant data to derive indexed constant data; storing said indexed constant data in an indexed constant buffer; communicating a plurality of calls in the intermediate buffer to a graphics processing unit via a three-dimensional rendering application program interface (“3-D rendering API”); and processing the plurality of calls in the intermediate buffer using the mapped data and constant buffer, thereby displaying said two-dimensional drawing on said display device.