×

Graphics processing enhancement by tracking object and/or primitive identifiers

  • US 10,510,183 B2
  • Filed: 07/18/2017
  • Issued: 12/17/2019
  • Est. Priority Date: 04/05/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method of rendering graphics with a processor, the method comprising:

  • setting up a plurality of objects in a scene in virtual space, each said object being defined by a set of vertices;

    assigning a unique object identifier to each of the objects;

    issuing one or more draw calls to draw the objects;

    setting up a plurality of primitives from the vertices, each said primitive being defined by a set of one or more of the vertices and each said primitive belonging to one or more of the objects;

    performing geometry shading to generate one or more output primitives from the plurality of primitives, wherein performing the geometry shading includes generating a primitive identifier for one or more primitives generated by the geometry shading by incrementing a primitive identifier for each input primitive by a maximum amount of geometric amplification of output primitives supported by an object with which the input primitives are associated;

    rasterizing each of the primitives for a plurality of pixels;

    writing one or more of the object identifiers to at least one ID buffer, such that each pixel of the plurality of pixels is associated with an object identifier in the ID buffer;

    processing the pixels for each of the rasterized primitives to determine corresponding depth and color values for the plurality of pixels; and

    determining a set of display pixels for an output frame using the depth and color values for the plurality of pixels and the object identifiers in the ID buffer.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×