Patent ID: 7091984

Claim:
A method for displaying a desktop display surface having dimensions, comprising: creating a render target surface having substantially the same dimensions as the desktop display surface; casting the desktop display surface as a texture having the same dimensions as the desktop display surface; determining a set of vertices that define a two dimensional rectangular object having the same dimensions as the desktop display surface; rendering the two dimensional rectangular object by mapping at least a portion of the desktop display surface texture to the two dimensional rectangular object; receiving a zoom factor, an offset in an x direction and an offset in a y direction; calculating a texture addressing extent configured to determine the portion of the desktop display surface texture to be mapped to the two dimensional rectangular object; calculating a set of texture addressing offsets in the x and y directions configured to provide the position on the desktop display surface texture from which the desktop display surface texture is to be mapped to the two dimensional rectangular object, wherein the texture addressing offset in the x direction is calculated as the offset in the x direction divided by the dimension of the desktop display surface in the x direction and the texture addressing offset in the y direction is calculated as the offset in the y direction divided by the dimension of the desktop display surface in the y direction; and setting the render target surface as a scanout read location in preparation for displaying the desktop display surface.