Image processing method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsWei TAN, Kun MENG, Yun TU, Liang WANG
Life of this patent
Estimating the term…
Abstract
A method includes: displaying an interaction interface of an application, and when a preset operation performed by a user on the interaction interface is detected, decoding to-be-displayed image data of the application into bitmap data, and encapsulating the bitmap data into texture data; storing the texture data in a memory partition accessible to a graphics processing unit GPU; triggering the GPU to read the texture data and perform drawing processing to obtain rendered data; and triggering a display to display an image based on the rendered data.
Claims19
1-13. (canceled)
An image processing method, comprising:
- applying for a memory partition accessible by a graphics processing unit (GPU);
- displaying an interaction interface of an application;
- in response to detecting a preset operation performed by a user on the interaction interface, decoding image data of the application into bitmap data, and
- encapsulating the bitmap data into texture data;
- storing the texture data in a memory partition;
- triggering the GPU to read the texture data and perform drawing processing to obtain rendered data;
- and
- triggering a display to display an image based on the rendered data.
An electronic device, comprising:
- a processor,
- a storage coupled to the processor, and
- a memory coupled to the processor to store instructions, which when executed by the processor, cause the processor to perform the operations, the operations comprising:
- applying for a memory partition accessible by a graphics processing unit (GPU);
- displaying an interaction interface of an application;
- in response to detecting a preset operation performed by a user on the interaction interface, decoding image data of the application into bitmap data;
- encapsulating the bitmap data into texture data;
- storing the texture data in the memory partition;
- triggering the GPU to read the texture data and perform drawing processing to obtain rendered data;
- and
- triggering a display to display an image based on the rendered data.
A non-transitory machine-readable storage medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations, the operations comprising:
- applying for a memory partition accessible by a graphics processing unit (GPU);
- displaying an interaction interface of an application;
- in response to detecting a preset operation performed by a user on the interaction interface, decoding image data of the application into bitmap data;
- encapsulating the bitmap data into texture data;
- storing the texture data in the memory partition;
- triggering the GPU to read the texture data and perform drawing processing to obtain rendered data;
- and
- triggering a display to display an image based on the rendered data.
Dependencies are inferred from the claim text.