| CPC H04N 21/4884 (2013.01) [H04N 21/4314 (2013.01)] | 20 Claims |

|
1. A graphics engine, comprising:
an engine scene layer configured to execute graphics processing operations according to a preset logic, wherein executing the graphics processing operations according to the preset logic comprises:
interacting with a player based on a predetermined transmission protocol to obtain playback data, wherein the player is configured to play videos, and wherein a communication mechanism is set between the engine scene layer and the player such that they are capable of interacting with each other regarding the playback data of a video being played, and
executing the graphics processing operations based on the playback data and the preset logic, and wherein the engine scene layer is further configured to:
update node data of a plurality of nodes in a scene;
generate a plurality of rendering instructions for the plurality of nodes based on the node data of the plurality of nodes, wherein the plurality of nodes comprise one or more first rendering nodes that do not require an independent rendering environment and one or more second rendering nodes that require an independent rendering environment;
cache the plurality of rendering instructions into a plurality of rendering queues, wherein the plurality of rendering queues comprise a first rendering queue and one or more second rendering queues, the first rendering queue is configured to cache a rendering instruction of each first rendering node, and each second rendering queue corresponds to one second rendering node and is configured to cache a rendering instruction of a corresponding second rendering node;
traverse the plurality of rendering queues to combine rendering instructions into one rendering batch based on determining that the rendering instructions have a same target parameter, to obtain a plurality of rendering batches; and
call a graphics library or hardware based on each of the plurality of rendering batches.
|