US 12,450,815 B2
Image rendering method and apparatus, computer device, and computer-readable storage medium
Weijin Ma, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Jun. 7, 2023, as Appl. No. 18/330,458.
Application 18/330,458 is a continuation of application No. PCT/CN2022/132727, filed on Nov. 18, 2022.
Claims priority of application No. 202210176827.2 (CN), filed on Feb. 25, 2022.
Prior Publication US 2023/0316626 A1, Oct. 5, 2023
Int. Cl. G06T 15/00 (2011.01)
CPC G06T 15/005 (2013.01) 20 Claims
OG exemplary drawing
 
1. An image rendering method, executed by a computer device, and comprising:
acquiring N primary render tasks related to a target image to be rendered, and N pieces of primary parameter description information that describes execution parameters for executing the N primary render tasks respectively, N being a positive integer;
determining primary render command lists for executing the N primary render tasks respectively, the primary render command lists being associated with a render platform for executing the N primary render tasks;
calling N primary record threads, and parallelly recording the N pieces of primary parameter description information into the corresponding primary render command lists to obtain N recorded primary render command lists, one primary record thread corresponding to one of the primary render command lists, comprising:
acquiring task attribute information of a target primary render task, the target primary render task belonging to the N primary render tasks;
determining a record mode of target primary parameter description information corresponding to the target primary render task according to the task attribute information, the record mode being one of a parallel record mode and a serial record mode; and
recording, according to the record mode, the target primary parameter description information into the primary render command list corresponding to the target primary render task, to obtain a recorded target primary render command list corresponding to the target primary render task; and
submitting the N recorded primary render command lists to the render platform, the render platform being configured to parallelly execute the N primary render tasks according to the N recorded primary render command lists to obtain the target image.