Patent ID: 8237723

Claim:
A computer implemented method for processing graphics data, the method comprising: maintaining multiple statuses for separate memory resources allocated via a host processing unit for the graphics data, each status corresponding to one of the memory resources, the status including an indicator, first data and second data; updating the first data to represent cumulatively graphics commands that have been sent to a graphics processing unit (GPU) over a period of time, each of the graphics commands associated with the corresponding memory resource; updating the second data to represent cumulatively a portion of the graphics commands that have been processed by the GPU over the period of time, wherein the first data and the second data are asynchronously updated; in response to a request received from an application via a graphics API (application programming interface) for performing a management operation on the corresponding memory resource identified by the request, comparing the first and second data to determine a response to the application for the request to allow the response to be asynchronous to the management operation on the corresponding memory resource for parallel operations between the host processing unit and the GPU; updating the indicator of the status for the corresponding memory resource to return the response to the application for the request without performing the management operation if the first and second data do not satisfy a predetermined relationship based on the comparison, the indicator to indicate the request for performing the management operation on the corresponding memory resource, the response to notify the graphics API regarding the status of the corresponding memory resource; and performing the management operation on the corresponding memory resource according to the updated indicator when the first and second data satisfy the predetermined relationship.