US 12,309,464 B2
Graphics engine and graphics processing method applicable to player
Chaoran Li, Shanghai (CN); Hao Wang, Shanghai (CN); Zhong Dong, Shanghai (CN); and Zhaozheng Wang, Shanghai (CN)
Assigned to SHANGHAI BILIBILI TECHNOLOGY CO., LTD., Shanghai (CN)
Appl. No. 18/033,788
Filed by SHANGHAI BILIBILI TECHNOLOGY CO., LTD., Shanghai (CN)
PCT Filed Aug. 9, 2021, PCT No. PCT/CN2021/111381
§ 371(c)(1), (2) Date Apr. 25, 2023,
PCT Pub. No. WO2022/095526, PCT Pub. Date May 12, 2022.
Claims priority of application No. 202011223807.3 (CN), filed on Nov. 5, 2020.
Prior Publication US 2023/0403437 A1, Dec. 14, 2023
Int. Cl. H04N 21/488 (2011.01); H04N 21/431 (2011.01)
CPC H04N 21/4884 (2013.01) [H04N 21/4314 (2013.01)] 20 Claims
OG exemplary drawing
 
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.