Patent ID: 8587594

Claim:
A method, comprising: using a host interface processor to assign a first pixel shader to an object of a three dimensional image based on a render context data structure of the object; rendering the object in a first frame using the first pixel shader; measuring a performance statistic associated with rendering the object in the first frame, wherein the performance statistic is measured by the first pixel shader; storing the performance statistic in the render context data structure of the object, wherein the performance statistic is retrieved from the render context structure of the object to determine whether to allocate a second pixel shader to render the object in a subsequent three-dimensional image of a second frame that consecutively follows the first frame; and assigning the second pixel shader to the object while maintaining the assignment of the first pixel shader during the second frame, wherein assigning the second pixel shader comprises reassigning a processing element from performing a rasterizer function to performing a pixel shader function.