主权项 |
1. A computer-implemented method comprising:
obtaining, at a computing device, image data corresponding to an image to be displayed on a display of the computing device; partitioning, at the computing device, the image into one or more first image tiles, the one or more first image tiles being at a first quality; partitioning, at the computing device, the image into one or more second image tiles, the one or more second image tiles being at a second quality less than the first quality; determining, at the computing device, a first set of the one or more first image tiles and a second set of the one or more second image tiles based on a location of a viewable portion of the image within an image space; determining, at the computing device, a priority of rasterizing the first set and the second set based on user input, wherein the priority indicates to rasterize the first set before rasterizing the second set when the user input indicates that the image is not moving within the image space and the priority indicates to render the second set before rasterizing the first set when the user input indicates that the image is moving within the image space; when the priority indicates to rasterize the first set before rasterizing the second set: rasterizing, at the computing device, the first set to obtain a first rasterized image, and rendering, on the display of the computing device, the viewable portion of the first rasterized image; and when the priority indicates to rasterize the second set before rasterizing the first set: rasterizing, at the computing device, the second set to obtain a second rasterized image, rendering, on the display of the computing device, the viewable portion of the second rasterized image, rasterizing, at the computing device, the first set to obtain the first rasterized image, and rendering, on the display of the computing device, the viewable portion of the first rasterized image. |