Method and electronic device for drawing data of a target component in different frame rate cycles
AssigneeHuawei Technologies Co., Ltd.
InventorGuyuan Zhang
Life of this patent
Estimating the term…
Abstract
This application provides a drawing method and an electronic device. The method includes: refreshing a first image to a second image at a first time point, where a target component in the first image is different from a target component in the second image; and drawing, between the first time point and a second time point, a target component that needs to be refreshed and displayed at a third time point after the second time point, and generating drawing data. In this case, image refreshing may be performed at the third time point based on the drawing data, and a target component in an image obtained after refreshing is different from the target component in the second image.
Claims20
A method, applied to an electronic device, the method comprising:
- refreshing a first image to a second image at a first time point, wherein a target component in the second image is different from a target component in the first image;
- generating, between the first time point and a second time point, first drawing data of a target component that is to be displayed after refreshing to be performed at a third time point, and performing image refreshing for at least one time between the first time point and the second time point, wherein a target component in an image obtained after each time of refreshing performed between the first time point and the second time point is the same as the target component in the second image;
- and
- performing image refreshing at the third time point based on the first drawing data, wherein the target component in a third image obtained after the refreshing at the third time point is different from the target component in the second image, and image refreshing between the second time point and third time point is not based on the first drawing data.
An electronic device, comprising:
- at least one processor;
- and
- at least one memory coupled to the at least one processor and storing programming instructions that, when executed by the at least one processor, cause the electronic device to perform operations comprising:
- refreshing a first image to a second image at a first time point, wherein a target component in the second image is different from a target component in the first image;
- generating, between the first time point and a second time point, first drawing data of a target component that is to be displayed after refreshing to be performed at a third time point, and performing image refreshing for at least one time between the first time point and the second time point, wherein a target component in an image obtained after each time of refreshing performed between the first time point and the second time point is the same as the target component in the second image;
- and
- performing image refreshing at the third time point based on the first drawing data, wherein the target component in a third image obtained after the refreshing at the third time point is different from the target component in the second image, and image refreshing between the second time point and third time point is not based on the first drawing data.
A non-transitory computer readable medium configured to store instructions that, when executed by at least one processor of an electronic device, cause the electronic device to perform operations comprising:
- refreshing a first image to a second image at a first time point, wherein a target component in the second image is different from a target component in the first image;
- generating, between the first time point and a second time point, first drawing data of a target component that is to be displayed after refreshing to be performed at a third time point, and performing image refreshing for at least one time between the first time point and the second time point, wherein a target component in an image obtained after each time of refreshing performed between the first time point and the second time point is the same as the target component in the second image;
- and
- performing image refreshing at the third time point based on the first drawing data, wherein the target component in a third image obtained after the refreshing at the third time point is different from the target component in the second image, and image refreshing between the second time point and third time point is not based on the first drawing data.
Dependencies are inferred from the claim text.