US20020101427A1

Method and apparatus for managing texture memory in a data processing system

Claim Score by NHIP

Read claim 11, the broadest

Abstract

A method, apparatus, and computer implemented instructions for managing a set of memory resources used to store texture objects in a data processing system. A texture manager allocates memory to a current texture object in a set of memory resources. A stored texture object, handled by the texture manager, is selectively removed in response to an inability to allocate sufficient memory to the current texture object. The allocating and selectively removing steps are repeated until the current texture object is allocated sufficient memory. The repeating step is halted in response to an absence of any stored texture objects, handled by a texture manager, being present in the first memory resource. Stored texture objects, handled by another texture manager, are selectively removed in response to an inability to allocate sufficient memory to the current texture object. Memory is allocated in the set of memory resources to the current texture object in response to selectively removing stored texture objects.

US20020101427A1, drawing sheet 1
Sheet 1 of 5

Term

Term ended

Projected expiry passed 14 June 2022, 4.3 years ago.

  1. Priority and filed
  2. Published
  3. Projected expiry
  4. Today

30 claims: 5 independent, 25 dependent

  1. 1
    A method in a data processing system for managing a set of memory resources used to store texture objects, the method comprising:allocating memory to a current texture object in a first memory resource within the set of memory resources;selectively removing a stored texture object in the first memory resource in response to an inability to allocate sufficient memory to the current texture object;repeating the allocating and selectively removing steps until the current texture object is allocated sufficient memory;halting the repeating step in response to an absence of any stored texture objects being present in the first memory resource;responsive to the halting step, selectively removing stored texture objects in a second memory resource if an inability to allocate sufficient memory to the current texture object is present;and allocating memory in the second memory resource to the current texture object in response to selectively removing stored texture objects.
  2. 11
    Broadest claimClaim Score 56, average(NHIP)A memory management system comprising:a memory allocation unit, wherein the memory allocation unit allocates memory to texture objects in a first memory resource and a second memory resource;a texture management system, wherein the texture management system tracks allocation of memory for all texture objects, removes a stored texture object within the first memory resource in response to detecting an in ability to allocate memory to a current texture object in the first memory resource, and calls the memory allocation unit to allocate memory to the current texture object after the stored texture object is removed, continues to remove texture objects from the first memory resource until sufficient memory is allocated to the current texture object.
  3. 15
    A data processing system comprising:a bus system;a memory connected to the bus system, wherein a set of instructions are located in the memory;and a processor unit connected to the bus system, wherein the processor unit executes the set of instructions to allocate memory to a current texture object in a first memory resource within the set of memory resources;selectively remove a stored texture object in the first memory resource in response to an inability to allocate sufficient memory to the current texture object;repeat instructions to the allocate memory and selectively remove a stored texture object until the current texture object is allocated sufficient memory;halt the repeating in response to an absence of any stored texture objects being present in the first memory resource, selectively remove stored texture objects in a second memory resource in response to an inability to allocate sufficient memory to the current texture object in response to halting instructions to repeat;and allocate memory in the second memory resource to the current texture object in response to selectively removing stored texture objects.
  4. 20
    A data processing system for managing a set of memory resources used to store texture objects, the data processing system comprising:first allocating means for allocating memory to a current texture object in a first memory resource within the set of memory resources;first selectively removing means for selectively removing a stored texture object in the first memory resource in response to an inability to allocate sufficient memory to the current texture object;repeating means for repeating initiation of the first allocating means and first selectively means removing steps until the current texture object is allocated sufficient memory;halting means for halting the repeating step in response to an absence of any stored texture objects being present in the first memory resource;second selectively removing means, responsive to the halting step, for selectively removing stored texture objects in a second memory resource if an inability to allocate sufficient memory to the current texture object is present;and second allocating means for allocating memory in the second memory resource to the current texture object in response to selectively removing stored texture objects.
  5. 30
    A computer program product in a computer readable medium for managing a set of memory resources used to store texture objects, the computer program product comprising:first instructions for allocating memory to a current texture object in a first memory resource within the set of memory resources;second instructions for selectively removing a stored texture object in the first memory resource in response to an inability to allocate sufficient memory to the current texture object;third instructions for repeating the allocating and selectively removing steps until the current texture object is allocated sufficient memory;fourth instructions for halting the repeating step in response to an absence of any stored texture objects being present in the first memory resource;fifth instructions, responsive to the halting step, for selectively removing stored texture objects in a second memory resource if an inability to allocate sufficient memory to the current texture object is present;and sixth instructions for allocating memory in the second memory resource to the current texture object in response to selectively removing stored texture objects.