Patent ID: 11887557
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 4:
5. The method according to claim 1, wherein the drawing, by the electronic device, one or more first layers in response to a first vertical synchronization signal, and rendering the one or more first layers, and after rendering the one or more first layers, performing layer composing on the rendered one or more first layers to obtain a first image frame comprises:
determining that a first frame processing duration in a first measurement period is longer than or equal to a preset single-frame duration;
in response to the determining that the first frame processing duration is longer than the preset single-frame duration, drawing, by the electronic device, the one or more first layers in response to the first vertical synchronization signal, and performing layer composing on the rendered one or more first layers in response to a third vertical synchronization signal, to obtain the first image frame, wherein
the first frame processing duration is a sum of a first frame rendering duration and an SF frame duration for composing the first layer, the first frame rendering duration is a duration required for drawing the layer and rendering the drawn layer, and the first SF frame duration is a duration required for performing layer composing on the rendered layer.