Image rendering method and device, and electronic equipment

The invention discloses an image rendering method and device, electronic equipment and the like, and can be applied to the field of terminals. The method comprises the following steps that: a centralprocessing unit (CPU) acquires an image instruction stream for rendering an image frame, and compares...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: GU BAOCHENG, PENG XINCHAO, WEI DONG, GAO QUAN, LUO JIA, DENG YIXIN, ZHANG FAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an image rendering method and device, electronic equipment and the like, and can be applied to the field of terminals. The method comprises the following steps that: a centralprocessing unit (CPU) acquires an image instruction stream for rendering an image frame, and compares the image instruction stream with a previous image instruction stream; and when the same drawing instruction exists in the two image instruction streams, a graphics processing unit GPU is instructed to render the image frame based on a previously generated drawing target. That is to say, the GPU can reuse the drawing targets with the same drawing instruction in different image frames, so that the generation process of the drawing targets is reduced, and the load of the GPU is reduced. 本申请公开了一种图像渲染方法及装置、电子设备等,可以应用于终端领域。该方法包括:中央处理器CPU获取用于渲染图像帧的图像指令流,并将该图像指令流与之前的图像指令流比较;当两个图像指令流中存在相同的绘制指令时,指示图形处理器GPU基于之前生成的绘制目标对上述该图像帧进行渲染。也就是说,GPU可以重用不同图像帧中相同绘制指令的绘制目标,从而减少了该绘制目标的生成过程,进而降低了GPU的负载。