Methods and apparatuses for processing cached image data
AssigneeMarvell International Ltd.
InventorsYunsen Chin, Haohong Wang
Life of this patent
Estimating the term…
Abstract
Methods, software, and apparatuses for graphics processing, including caching pixel data of one or more tiles of a graphics surface. Methods generally include setting a caching bit corresponding to the surface, setting tile pattern bits corresponding to tiles in the surface, and when the caching bit is active, storing one or more pixel values in a cache memory. When at least one tile contains pixels having the same value for at least one predetermined parameter, the caching bit and the corresponding tile pattern bits may be active. Apparatuses generally include a pixel memory, a cache memory, and a controller including logic configured to reserve the caching bit, tile pattern bits, and same pixel values in cache memory when the caching bit is active.
Claims20
An imaging apparatus for processing a graphics surface, wherein the graphics surface is defined by an array of tiles represented by a plurality of tile pattern bits, and wherein each tile of the array of tiles comprises a plurality of pixels, the imaging apparatus comprising:
- a cache memory configured to store values related to the pluralities of pixels of the tiles of the array of tiles, wherein each value corresponds to a color of a particular pixel;
- and
- a processor configured to
- determine that all pixels of the plurality of pixels of a particular tile have a same value thereby indicating that all pixels of the plurality of pixels of the particular tile are a same color, and
- in response to determining that all pixels of the plurality of pixels of the particular tile have the same value, set a tile pattern bit of the plurality of tile pattern bits to an active state, wherein the tile pattern bit corresponds to the particular tile.
A method for processing a graphics surface, wherein the graphics surface is defined by an array of tiles represented by a plurality of tile pattern bits, and wherein each tile of the array of tiles comprises a plurality of pixels, the method comprising:
- storing, in a cache memory, values related to the pluralities of pixels of the tiles of the array of tiles, wherein each value corresponds to a color of a particular pixel;
- determining, by a processor, that all pixels of the plurality of pixels of a particular tile have a same value thereby indicating that all pixels of the plurality of pixels of the particular tile are a same color;
- and
- in response to determining that all pixels of the plurality of pixels of the particular tile have the same value, setting, by the processor, a tile pattern bit of the plurality of tile pattern bits to an active state, wherein the tile pattern bit corresponds to the particular tile.
An apparatus for processing a graphics surface, wherein the graphics surface is defined by an array of tiles represented by a plurality of tile pattern bits, and wherein each tile of the array of tiles comprises a plurality of pixels, wherein the apparatus comprises:
- a processor;
- and
- a computer-readable storage medium, wherein instructions are tangibly stored on the computer-readable storage medium, wherein the instructions are executable by the processor to enable the processor to
- store, on a cache memory, values related to the pluralities of pixels of the tiles of the array of tiles, wherein each value corresponds to a color of a particular pixel,
- determine that all pixels of the plurality of pixels of a particular tile have a same value thereby indicating that all pixels of the plurality of pixels of the particular tile are a same color, and
- in response to determining that all pixels of the plurality of pixels of the particular tile have the same value, set a tile pattern bit of the plurality of tile pattern bits to an active state, wherein the tile pattern bit corresponds to the particular tile.
Dependencies are inferred from the claim text.