CPC G09G 5/005 (2013.01) [G09G 5/30 (2013.01)] | 18 Claims |
1. A method for performing a memory operation in a non-rectangular frame buffer comprising:
receiving an address to perform the memory operation on a memory location in a rectangular frame buffer, wherein the rectangular frame buffer has a plurality of lines of memory locations, wherein the plurality of lines of memory locations in the rectangular frame buffer each have a uniform number of memory locations and each line of memory locations in the rectangular frame buffer is to store a line of pixel data corresponding to a line of pixels displayed on a rectangular display which displays a plurality of lines of pixels;
determining, by a graphic data access system, whether the received address indicates a memory location in the non-rectangular frame buffer corresponding to the memory location in the rectangular frame buffer, wherein the non-rectangular frame buffer has a plurality of lines of memory locations, wherein at least two lines of the plurality of lines of memory locations in the non-rectangular frame buffer each have a different number of memory locations, each memory location in the non-rectangular frame buffer stores pixel data of a pixel and each line of memory locations in the non-rectangular frame buffer is to store a line of pixel data corresponding to a line of pixels displayed on a non-rectangular display which displays a plurality of lines of pixels; and
based on the determination that the received address identifies the memory location in the non-rectangular buffer, accessing the non-rectangular buffer via a bus located between the graphics data access system and the non-rectangular buffer to perform the memory operation on the memory location, wherein a number of the plurality of lines in the non-rectangular frame buffer is a power of two and a number of pixel data in each line in the non-rectangular frame buffer is a power of two.
|