IP Library › Granted Patent US 7,652,672
Granted Patent B2
US 7,652,672 · App. 11/427,451 · Granted Jan 26, 2010

Systems and methods for texture management

Assignee: Mediatek, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,652,672
App. No.
11/427,451
Granted
Jan 26, 2010
Kind
B2
Abstract

Methods for texture image management are provided. An embodiment of a method for texture image management comprises the following steps. A texture image is acquired from a non-writable memory device. The received texture image is directly applied to a fragment.

Claims (35)

1. A method for texture image management, performed by a 3D graphics engine, comprising:

receiving information from an application, indicating that a texture image is stored in a first region of a memory device;

determining whether the first region of the memory device is a read-only (RO) region or a read-write (RW) region by:

acquiring a memory image stored in an executable file corresponding to the application;

determining the first region of the memory device is the RO region when detecting an RO attribute of an input or output section comprising the first region from the memory image; and

determining the first region of the memory device is the RW region when detecting an RW attribute of an input or output section comprising the first region from the memory image,

wherein the read-only (RO) region resides inside a NOR flash memory and the read-write (RW) region resides inside a RAM (Random Access Memory); and

generating an RO attribute corresponding to the indicated texture image to indicate that the texture image is stored in the RO region when determining that the first region of the memory device is the RO region, thereby enabling the texture image retrieved from the first region to be applied to a fragment.

2. The method as claimed in claim 1 wherein the RO region is a region located in a non-writable memory device.

3. The method as claimed in claim 1 wherein the RO region is a region managed by the application to avoid data writes thereto.

4. The method as claimed in claim 1 further comprising:

generating an RO attribute corresponding to the indicated texture image to indicate that the texture image is stored in the RW region when determining that the first region of the memory device is the RW region;

allocating a second region of a writable memory device when determining that the first region of the memory device is the RW region; and

storing the texture image retrieved from the first region in the second region, thereby enabling the texture image retrieved from the second region to be applied to a fragment,

wherein data stored in the second region cannot be modified until the second region is released by the 3D graphics engine.

5. The method as claimed in claim 1 wherein the determining step further comprises:

acquiring information via an application programmable interface provided by the application;

determining the first region of the memory device is the RO region when the acquired information indicates that the first region is the RO region; and

determining the first region of the memory device is the RW region when the acquired information indicates that the first region is the RW region.

6. The method as claimed in claim 1 wherein the determining step further comprises:

performing a test procedure; and

determining whether the first region of the memory device is the RO region or the RW region according to a test result generated by the test procedure.

7. The method as claimed in claim 6 wherein the test procedure attempts to write data to the first region of the memory device, the method further comprising:

determining the first region is the RO region when the test result indicates that data is not successfully written to the first region; and

determining the first region is the RW region when the test result indicates that data is successfully written to the first region.

8. A system for texture image management, employed in a portable electronic device, comprising:

a memory device storing a texture image; and

a processor coupling to the memory device, and executing a 3D graphics engine and an application,

wherein the 3D graphics engine receives information from the application, indicating that the texture image is stored in a first region of the memory device, determines whether the first region of the memory device is a read-only (RO) region residing inside a NOR flash memory or a read-write (RW) region residing inside a RAM (Random Access Memory), generates an RO attribute corresponding to the indicated texture image to indicate that the texture image is stored in the RO region when determining that the first region of the memory device is the RO region, thereby enabling the texture image retrieved from the first region to be applied to a fragment, acquires a memory image stored in an executable file corresponding to the application, determines the first region of the memory device is the RO region when detecting an RO attribute of an input or output section comprising the first region from the memory image, and determines the first region of the memory device is the RW region when detecting an RW attribute of an input or output section comprising the first region from the memory image.

9. The system as claimed in claim 8 wherein the RO region is a region located in a non-writable memory device.

10. The system as claimed in claim 8 wherein the RO region is a region managed by the application to avoid data writes thereto.

11. The system as claimed in claim 8 further comprising a writable memory device, wherein the 3D graphics engine generates an RO attribute corresponding to the indicated texture image to indicate that the texture image is stored in the RW region when determining that the first region of the memory device is the RW region, allocates a second region of the writable memory device when determining that the first region of the memory device is the RW region, and stores the texture image retrieved from the first region in the second region, thereby enabling the texture image retrieved from the second region to be applied to a fragment, and data stored in the second region cannot be modified until the second region is released by the 3D graphics engine.

12. The system as claimed in claim 8 wherein the 3D graphics engine acquires information via an application programmable interface provided by the application, determines the first region of the memory device is the RO region when the acquired information indicates that the first region is the RO region, and determines the first region of the memory device is the RW region when the acquired information indicates that the first region is the RW region.

13. The system as claimed in claim 8 wherein the 3D graphics engine performs a test procedure and determines whether the first region of the memory device is the RO region or the RW region according to a test result generated by the test procedure.

14. The system as claimed in claim 13 wherein the test procedure attempts to write data to the first region of the memory device, and the 3D graphics engine determines the first region is the RO region when the test result indicates that data is not successfully written to the first region, and determines the first region is the RW region when the test result indicates that data is successfully written to the first region.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 29, 2006
From: CHEN, CHENG-CHE
To: MEDIATEK INC.
Reel/Frame 017867/0005 →
Continuity (1)
Related Publication 20080001960A1 · Jan 3, 2008