Scalable desktop
First Claim
1. 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.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for displaying a desktop display surface. The method includes creating a render target surface having substantially the same dimensions as a desktop display surface, casting the desktop display surface as a texture, and setting the render target surface as a scanout read location. The method further includes creating a two dimensional rectangular object, rendering the two dimensional rectangular object by mapping the desktop display surface texture to the two dimensional rectangular object, storing the rendered two dimensional rectangular object to the render target surface and scanning out the rendered two dimensional rectangular object from the render target surface.
-
Citations
22 Claims
-
1. 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.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
13. A method for displaying a desktop display surface, comprising:
receiving a zoom factor, an offset in an x direction and an offset in a y direction on the desktop display surface;
creating a two dimensional rectangular object having dimensions equal to dimensions of the desktop display surface;
computing a set of texture addressing coordinates for the two dimensional rectangular object using the dimensions of the desktop display surface, zoom factor, the offset in the x direction and the offset in the y direction;
casting a desktop display surface as a texture having dimensions equal to dimensions of the desktop display surface;
a rendering the two dimensional rectangular object by mapping at least a portion of the desktop display surface texture to the two dimensional rectangular object and 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; and
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.- View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
21. A computer system, comprising:
a processor; and
a memory comprising program instructions executable by the processor to;
create a render target surface having substantially the same dimensions as the desktop display surface;
cast the desktop display surface as a texture having the same dimensions as the desktop display surface;
determine a set of vertices that define a two dimensional rectangular object having the same dimensions as the desktop display surface;
render the two dimensional rectangular object by mapping at least a portion of the desktop display surface texture to the two dimensional rectangular object;
calculate a texture addressing extent configured to determine the portion of the desktop display surface texture to be mapped to the two dimensional rectangular object;
calculate a set of texture addressing offsets in the x and V 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
set the render target surface as a scanout read location in preparation for displaying the desktop display surface.- View Dependent Claims (22)
Specification