Abstract:
System and method of dynamically adjusting a frame buffer resolution. An average frame rate is dynamically computed based on the frame rates with respect to rendering a sequence of previous frames to a frame buffer. The frame rates may vary with the processing load of an associated graphics processor. A target scaling factor for frame buffer resolution is computed based upon the dynamic average frame rate and a desired frame rate. The current scaling factor of frame buffer resolution for rendering a respective frame data of a sequence of frame data to the frame buffer is adjusted incrementally to reach the target scaling factor. Accordingly, frame resolutions for rendering the sequence of frame data to the frame buffer are incrementally adjusted based on corresponding current scaling factors.
Abstract:
A method for compiling a shader for execution by a graphics processor. The method comprises selecting a shader for execution. A key is computed for the selected shader. A memory is searched for a copy of the computed key. A shader binary stored in the memory is passed to the graphics processor for execution if the copy of the computed key is located in the memory. Otherwise, the shader is compiled to produce the shader binary for execution by the graphics processor and storing the shader binary in the memory. The shader binary is associated with the computed key and the copy of the computed key.
Abstract:
A method for dynamically adjusting a frame buffer resolution, the method comprising calculating a target scaling factor based upon a calculated average frame rate and incrementally changing a current scaling factor to reach the target scaling factor. The method includes calculating the target scaling factor based upon the average frame rate and a current scaling factor. The method includes adjusting a resolution of a frame of data rendered to the frame buffer according to the current scaling factor.