Method and apparatus for allocating off-screen display memory
AssigneeSun Microsystems, Inc.
InventorsBruce McIntyre, Curtis Priem, Robert Rocchetti
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsBruce McIntyre, Curtis Priem, Robert Rocchetti
Estimating the term…
A method of allocating space in a frame buffer memory which is not used for storing pixels to be displayed currently including the steps of selecting a portion of the memory to be allocated for off-screen memory; determining the size of an area to be allocated; comparing the size of the area to be allocated with portions of the memory available to be allocated for off-screen memory using a memory allocation technique in which the least area considered is at least as great in either its horizontal or its vertical dimension as the greater dimension of the area to be allocated, the comparison being conducted in a pattern which consistently checks first a minimum area followed by three other minimum areas in an area having a size which is the next power of two larger in each dimension than the minimum area, then four more minimum areas in an adjacent area having a size which is the next power of two larger in each dimension than the minimum area than the minimum area in the pattern, the area selected for the second adjacent area being selected in the same pattern as are the minimum areas; continuing the pattern through areas which increase on the basis of the next power of two larger in each dimension of the last largest area, the search using the pattern used for selection in the minimum areas; and allocating the first area found of sufficient space to provide the memory area sought.
In a computer system comprising a frame buffer memory, a method for allocating space in a selected portion of a frame buffer memory to store off-screen information, said method comprising the steps of:
In a computer system comprising a frame buffer memory, an apparatus for allocating space in a selected portion of a frame buffer memory to store off-screen information, said apparatus comprising:
Dependencies are inferred from the claim text.