Patent ID: 9582919
Date: 2017-02-28
CPC Classifications: G06T

Claim:
1. A method for tracking usage of graphics assets in a system for rendering graphics using the graphics assets, wherein the graphics assets are associated with a software program and loaded into a computer memory and processed by a rendering subsystem, the method comprising: during execution of the software program, receiving indication that a requesting process has requested that one of the graphics assets be processed by the rendering subsystem; in response to the indication, instrumenting an instruction set for said processing by the rendering subsystem, said instrumenting comprising modifying a shader during execution of the software program and adding the modified shader to a shader cache; receiving information comprising an identifier, memory location, and requested use for said one of the graphics assets; and during processing of the one of the graphics assets by the rendering subsystem and using the instrumented instruction set, determining that a matching graphics asset was previously identified at the memory location, updating a record associated with the matching graphics asset, and storing a timestamp corresponding to a system time, and otherwise determining a unique identifier for said one of the graphics assets and storing a new entry comprising the memory location, the timestamp, and requested use, wherein the record and timestamp are stored during execution of the software program, and the record and timestamp are usable for analysis of usage of the graphics assets by the software program after completion of said execution of the software program.