Method and system for reducing the number of draw commands issued to a graphics processing unit (GPU)
Abstract:
An example method of reducing a number of draw commands issued to a GPU includes generating a first scene graph including a first set of nodes for rendering objects in a first frame and generating a second scene graph including a second set of nodes for rendering objects in a second frame. The method further includes identifying a common portion of the first and second frames. The common portion corresponds to a plurality of nodes in the first and second scene graphs that are the same. The method also includes replacing the plurality of nodes in the second scene graph with a single node including a single draw command that represents draw commands in the plurality of nodes. The single draw command causes the GPU to display the texture in the second frame. The texture is based on a rendering of the common portion in the first frame.
Information query
Patent Agency Ranking
0/0