CPC G06T 11/60 (2013.01) [G06F 9/451 (2018.02); G06F 9/544 (2013.01); G06T 1/60 (2013.01); G06F 3/0488 (2013.01); G06T 2200/24 (2013.01)] | 20 Claims |
1. An electronic device, comprising:
a display;
a memory; and
one or more processors, wherein the display and the memory are coupled to the one or more processors, the display is configured to display an image generated by the one or more processors, the memory is configured to store computer program code, and the computer program code comprises computer instructions that, when executed by the one or more processors, cause the electronic device to perform the following operations:
drawing a first layer, rendering the first layer as a rendered first layer, and buffering the rendered first layer in a buffer queue;
before a first time, finishing drawing the first layer and starting drawing a second layer; and
rendering the second layer as a rendered second layer, and buffering the rendered second layer in the buffer queue;
wherein the first time is a time of arrival of a first vertical synchronization signal for triggering the electronic device to draw the second layer.
|