Drawing operations using multiple graphics interfaces
AssigneeMicrosoft Corporation
InventorsBenjamin C. Constable, Blake D. Pelton
Life of this patent
Estimating the term…
Abstract
Various embodiments provide techniques for enabling multiple graphics interfaces to be accessed to perform graphics-related operations. In at least some embodiments, techniques determine if the multiple graphics interfaces can share a memory resource for performing graphics operations. If the multiple graphics interfaces can share the memory resource, a coalescing graphics element is provided that can be used by applications to perform multiple graphics operations.
Claims20
A computer-implemented method comprising:
- receiving a request from a resource to perform a drawing operation in a system that includes multiple graphics interfaces;
- determining whether the system supports memory sharing among the multiple graphics interfaces;
- and
- responsive to a determination that the system supports memory sharing among the multiple graphics interfaces, using a coalescing graphics element to receive drawing operation attributes from the resource, and performing the drawing operation based on the drawing operation attributes;
- or
- responsive to a determination that the system does not support memory sharing among the multiple graphics interfaces, copying at least a portion of an output surface to a temporary graphics element, receiving drawing operation attributes from the resource via manipulation of the copy of the at least a portion of the output surface in the temporary graphics element, and performing the drawing operation on the output surface and based on the drawing operation attributes.
A computer-implemented method comprising:
- receiving a request from a resource to perform a drawing operation in a system that includes multiple graphics interfaces;
- determining whether a coalescing graphics element associated with a particular graphics interface of the multiple graphics interfaces is active;
- and
- responsive to a determination that the coalescing graphics element is active, causing the drawing operation to be performed via the particular graphics interface and using drawing operation attributes set by the resource on the coalescing graphics element.
One or more computer readable storage media comprising computer-executable instructions that, when executed, are configured to implement:
- a plurality of graphics interfaces, at least one of the graphics interfaces being configured to perform a drawing operation using a coalescing graphics element;
- and
- a graphics manager configured to:
- receive a request to perform a drawing operation;
- responsive to receiving the request, determine whether a coalescing graphics element associated with the at least one of the plurality of graphics interfaces is active;
- and
- responsive to a determination that the coalescing graphics element is active, cause the coalescing graphics element to be provided to a resource that generated the request to perform the drawing operation, the coalescing graphics element being configured to receive one or more drawing operation attributes from the resource to be used by the at least one of the graphics interfaces for performing the drawing operation.
Dependencies are inferred from the claim text.