Patent ID: 7696993

Claim:
A method performed by a computing device executing programmed instructions for converting an input stream of graphics primitives, comprising the steps of: recognizing, by the computing device, a first pattern within the input stream of graphics primitives; determining, by the computing device, whether the first pattern in the input stream of graphics primitives can be converted into one of a plurality of predetermined output streams of graphics primitives; identifying, by the computing device, a number of vertices in the first pattern in the input stream of graphics primitives; reordering, by the computing device, the identified number of vertices in the input stream of graphics primitives in the first pattern into one of a plurality of predetermined patterns according to a plurality of converting parameters; and outputting, by the computing device, the reordered output stream of graphics primitives in the determined one of the plurality of predetermined patterns to one or more graphics processing components, wherein the plurality of converting parameters comprises: a number of vertices per graphics primitive in the predetermined pattern; an index of a first element of the output stream of graphics primitives; and an exception value for inserting exceptions, the exception value being different from any usable value of a conversion pattern defined by the number of vertices and the index.