METHOD, APPARATUS AND SYSTEM FOR RENDERING A GRAPHICAL REPRESENTATION WITHIN LIMITED MEMORY
First Claim
1. A method of controlling memory usage in a graphics rendering system, the method comprising:
- converting a plurality of layers of graphical objects to an intermediate format representation, the layers being formed by grouping the graphical objects into a plurality of layers based on a first complexity threshold;
in response to detecting a memory shortage condition in execution of the graphics rendering system, determining a second complexity threshold based on the detected memory shortage condition, the second complexity threshold being lower than the first complexity threshold;
identifying a layer of the plurality of layers based on the second complexity threshold, the identified layer being different to a layer which triggered the memory shortage condition; and
converting the identified layer of graphical objects to the intermediate format representation to release memory occupied by graphical objects of the identified layer.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of controlling memory usage in a graphics rendering system. The method comprises converting a plurality of layers of graphical objects to an intermediate format representation, the layers being formed by grouping the graphical objects into a plurality of layers based on a first complexity threshold; and in response to detecting a memory shortage condition in execution of the graphics rendering system, determining a second complexity threshold based on the detected memory shortage condition, the second complexity threshold being lower than the first complexity threshold. The method also comprises identifying a layer of the plurality of layers based on the second complexity threshold, the identified layer being different to a layer which triggered the memory shortage condition, and converting the identified layer of graphical objects to the intermediate format representation to release memory occupied by graphical objects of the identified layer.
8 Citations
32 Claims
-
1. A method of controlling memory usage in a graphics rendering system, the method comprising:
-
converting a plurality of layers of graphical objects to an intermediate format representation, the layers being formed by grouping the graphical objects into a plurality of layers based on a first complexity threshold; in response to detecting a memory shortage condition in execution of the graphics rendering system, determining a second complexity threshold based on the detected memory shortage condition, the second complexity threshold being lower than the first complexity threshold; identifying a layer of the plurality of layers based on the second complexity threshold, the identified layer being different to a layer which triggered the memory shortage condition; and converting the identified layer of graphical objects to the intermediate format representation to release memory occupied by graphical objects of the identified layer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method of controlling memory usage in a graphics rendering system processing graphical objects in independent spatial portions, the method comprising:
-
converting a plurality of layers of graphical objects to an intermediate format representation, the layers being formed by grouping the graphical objects for each of a plurality of spatial portions into layers based on a first complexity threshold chosen to facilitate throughput of the graphics rendering system; in response to detecting a memory shortage condition in execution of the graphics rendering system processing graphical objects of a first of the plurality of spatial portions, determining a second layer complexity threshold to address the memory shortage condition, the second layer complexity threshold being lower than the first complexity threshold; identifying a layer of the graphical objects associated with a second of the plurality of spatial portions using the plurality of layers based on the second layer complexity threshold, the second spatial portion being different to the first spatial portion which triggered the memory shortage condition; and converting the identified layer of graphical objects to the intermediate format representation to release memory occupied by graphical objects of the identified layer. - View Dependent Claims (15)
-
-
16. A non-transitory computer readable medium having a program stored thereon for controlling memory usage in a graphics rendering system, the program comprising:
-
code for converting a plurality of layers of graphical objects to an intermediate format representation, the layers being formed by grouping the graphical objects into a plurality of layers based on a first complexity threshold; code for, in response to detecting a memory shortage condition in execution of the graphics rendering system, determining a second complexity threshold based on the detected memory shortage condition, the second complexity threshold being lower than the first complexity threshold; code for identifying a layer of the plurality of layers based on the second complexity threshold, the identified layer being different to a layer which triggered the memory shortage condition; and code for converting the identified layer of graphical objects to the intermediate format representation to release memory occupied by graphical objects of the identified layer.
-
-
17. Apparatus for controlling memory usage in a graphics rendering system, the apparatus configured to:
-
convert a plurality of layers of graphical objects to an intermediate format representation, the layers being formed by grouping the graphical objects into a plurality of layers based on a first complexity threshold; in response to detecting a memory shortage condition in execution of the graphics rendering system, determine a second complexity threshold based on the detected memory shortage condition, the second complexity threshold being lower than the first complexity threshold; identify a layer of the plurality of layers based on the second complexity threshold, the identified layer being different to a layer which triggered the memory shortage condition; and convert the identified layer of graphical objects to the intermediate format representation to release memory occupied by graphical objects of the identified layer.
-
-
18. A graphic rendering system comprising:
-
a memory for storing data and a computer readable medium; and a processor coupled to the memory for executing a computer program, the program having instructions for; converting a plurality of layers of graphical objects to an intermediate format representation, the layers being formed by grouping the graphical objects into a plurality of layers based on a first complexity threshold; in response to detecting a memory shortage condition in execution of the graphics rendering system, determining a second complexity threshold based on the detected memory shortage condition, the second complexity threshold being lower than the first complexity threshold; identifying a layer of the plurality of layers based on the second complexity threshold, the identified layer being different to a layer which triggered the memory shortage condition; and converting the identified layer of graphical objects to the intermediate format representation to release memory occupied by graphical objects of the identified layer.
-
-
19. A method of rendering a graphical representation, the method comprising:
-
receiving a plurality of objects of the graphical representation grouped into layers in accordance with z-order, wherein partial rasterization of each layer is estimated to succeed within an allocated memory; determining, while generating an intermediate format representation for a selected layer by partially rasterizing objects of the selected layer, that more than the allocated memory is required to complete the generating; in response to determining that more than the allocated memory is required, splitting, in z-order, the selected layer into at least two sub-layers; and rendering the graphical representation by generating an intermediate format representation for each of the sub-layers to facilitate rasterization of the selected layer within the allocated memory. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
-
-
30. An apparatus for rendering a graphical representation, the apparatus comprising:
-
a processor; and a memory device storing a software program for directing the processor to perform a method comprising the steps of; receiving a plurality of objects of the graphical representation grouped into layers in accordance with z-order, wherein partial rasterization of each layer is estimated to succeed within an allocated memory; determining, while generating an intermediate format representation for a selected layer by partially rasterizing objects of the selected layer, that more than the allocated memory is required to complete the generating; splitting, in z-order, the selected layer into at least two sub-layers in response to determining that more than the allocated memory is required; and rendering the graphical representation by generating an intermediate format representation for each of the sub-layers to facilitate rasterization of the selected layer within the allocated memory.
-
-
31. A non-transitory computer readable storage medium storing program instructions for rendering a graphical representation by directing at least one processor to perform a method comprising the steps of:
-
receiving a plurality of objects of the graphical representation grouped into layers in accordance with z-order, wherein partial rasterization of each layer is estimated to succeed within an allocated memory; determining, while generating an intermediate format representation for a selected layer by partially rasterizing objects of the selected layer, that more than the allocated memory is required to complete the generating; splitting, in z-order, the selected layer into at least two sub-layers in response to determining that more than the allocated memory is required; and rendering the graphical representation by generating an intermediate format representation for each of the sub-layers to facilitate rasterization of the selected layer within the allocated memory.
-
-
32. A graphics processing system comprising a hardware processor, a memory coupled to the hardware processor, and computer program instructions stored in the memory that, when executed on the processor to render a graphical representation, cause the graphics processing system to:
-
receive a plurality of objects of the graphical representation grouped into layers in accordance with z-order, wherein partial rasterization of each layer is estimated to succeed within an allocated memory; determine, while generating an intermediate format representation for a selected layer by partially rasterizing objects of the selected layer, that more than the allocated memory is required to complete the generating; split, in z-order, the selected layer into at least two sub-layers in response to determining that more than the allocated memory is required; and render the graphical representation by generating an intermediate format representation for each of the sub-layers to facilitate rasterization of the selected layer within the allocated memory.
-
Specification