A graphics processing method, comprising: obtaining a first virtual address to be accessed by a graphics processing unit, GPU, wherein the first virtual address belongs to a first virtual address space; and obtaining a second virtual address based on the first virtual address, wherein the second virtual address belongs to a second virtual address space; the second virtual address space is different from the first virtual address space, the second virtual address space and the first virtual address space are mapped to a same first physical address space, a physical address to which the first virtual address is mapped corresponds to image data in a first format, the image data in the first format being image data in a non-native format that cannot be accessed by the GPU, and a physical address to which the second virtual address is mapped corresponds to image data in a second format, the image data in the second format being image data in a native format that can be directly accessed by the GPU; wherein the obtaining a second virtual address based on the first virtual address specifically comprises: translating the first virtual address into an intermediate virtual address, wherein the intermediate virtual address is a virtual address in the second virtual address space; and mapping the intermediate virtual address to the second virtual address in the second virtual address space; wherein the obtaining a second virtual address based on the first virtual address comprises: translating the first virtual address into an intermediate virtual address; determining whether the intermediate virtual address belongs to the second virtual address space; and when the intermediate virtual address belongs to the second virtual address space, mapping the intermediate virtual address to the second virtual address in the second virtual address space; and wherein the mapping the intermediate virtual address to the second virtual address in the second virtual address space specifically comprises: obtaining pixel coordinates corresponding to the intermediate virtual address; and obtaining the second virtual address based on the pixel coordinates. obtaining a first virtual address to be accessed by a graphics processing unit, GPU, wherein the first virtual address belongs to a first virtual address space; and obtaining a second virtual address based on the first virtual address, wherein the second virtual address belongs to a second virtual address space; the second virtual address space is different from the first virtual address space, the second virtual address space and the first virtual address space are mapped to a same first physical address space, a physical address to which the first virtual address is mapped corresponds to image data in a first format, the image data in the first format being image data in a non-native format that cannot be accessed by the GPU, and a physical address to which the second virtual address is mapped corresponds to image data in a second format, the image data in the second format being image data in a native format that can be directly accessed by the GPU; wherein the obtaining a second virtual address based on the first virtual address specifically comprises: translating the first virtual address into an intermediate virtual address, wherein the intermediate virtual address is a virtual address in the second virtual address space; and mapping the intermediate virtual address to the second virtual address in the second virtual address space; translating the first virtual address into an intermediate virtual address, wherein the intermediate virtual address is a virtual address in the second virtual address space; and mapping the intermediate virtual address to the second virtual address in the second virtual address space; wherein the obtaining a second virtual address based on the first virtual address comprises: translating the first virtual address into an intermediate virtual address; determining whether the intermediate virtual address belongs to the second virtual address space; and when the intermediate virtual address belongs to the second virtual address space, mapping the intermediate virtual address to the second virtual address in the second virtual address space; and translating the first virtual address into an intermediate virtual address; determining whether the intermediate virtual address belongs to the second virtual address space; and when the intermediate virtual address belongs to the second virtual address space, mapping the intermediate virtual address to the second virtual address in the second virtual address space; and wherein the mapping the intermediate virtual address to the second virtual address in the second virtual address space specifically comprises: obtaining pixel coordinates corresponding to the intermediate virtual address; and obtaining the second virtual address based on the pixel coordinates. obtaining pixel coordinates corresponding to the intermediate virtual address; and obtaining the second virtual address based on the pixel coordinates.