RENDERING METHOD AND RELATED DEVICE
Dossier Overview
Applicant
HUAWEI TECHNOLOGIES CO., LTD.
Inventor
Xiaoyang Liu; Chunlin Yang; Yuqiong Xu; Jian Xiao
IPC Classification
CPC Classification
This application provide a rendering method and a related device, and relate to the field of electronic devices. In the method, a grouping result of a to-be-displayed frame is first determined. The grouping result may enable drawing duration of the to-be-displayed frame to be less than or equal to a sum of drawing duration of at least one application interface, namely, drawing duration required by the to-be-displayed frame when no grouping is performed. Then, a drawing task of the to-be-displayed frame is grouped based on the grouping result to obtain at least one drawing task group. Finally, the drawing task in the at least one drawing task group is processed by using at least one drawing thread to obtain at least one drawing result. The at least one drawing result is used to obtain an overall drawing result of the to-be-displayed frame through synthesis, to render the to-be-displayed frame.
Original (Chinese)
This application provide a rendering method and a related device, and relate to the field of electronic devices. In the method, a grouping result of a to-be-displayed frame is first determined. The grouping result may enable drawing duration of the to-be-displayed frame to be less than or equal to a sum of drawing duration of at least one application interface, namely, drawing duration required by the to-be-displayed frame when no grouping is performed. Then, a drawing task of the to-be-displayed frame is grouped based on the grouping result to obtain at least one drawing task group. Finally, the drawing task in the at least one drawing task group is processed by using at least one drawing thread to obtain at least one drawing result. The at least one drawing result is used to obtain an overall drawing result of the to-be-displayed frame through synthesis, to render the to-be-displayed frame.
External Resources