- DXGI
DirectX Graphics Infrastructure (DXGI) is a user-mode component of
Windows Vista which provides a mapping between particular graphics APIs such asDirect3D 10.0 and 10.1 (known in DXGI parlance as producers) and the graphics kernel, which in turn interfaces with the user-modeWindows Display Driver Model driver. DXGI provides objects to handle tasks such as enumerating graphics adapters and monitors, enumerating display modes, choosing buffer formats, sharing resources between processes (such as between applications and theDesktop Window Manager ), and presenting rendered frames to a window or monitor for display.Both
Direct3D 10 andOpenGL applications in Windows Vista work through DXGI.DXGI Object Model
DXGI provides the following objects:
*Factory, which implements the IDXGIFactory interface [ [http://msdn2.microsoft.com/en-us/library/bb174535(VS.85).aspx IDXGIFactory interface] ] , and provides methods for enumerating hardware adapters, creating software adapters, creating swap chains, attaching a focus window.
*Adapter, which implements the IDXGIAdapter interface [ [http://msdn2.microsoft.com/en-us/library/bb174523(VS.85).aspx IDXGIAdapter interface] ] , and provides methods for enumerating outputs
*Output, which implements the IDXGIOutput interface [ [http://msdn2.microsoft.com/en-us/library/bb174546(VS.85).aspx IDXGIOutput interface] ] , and provides methods for managing properties of a monitor, such as its gamma ramp.
*Swap chain, which implements the IDXGISwapChain interface [ [http://msdn2.microsoft.com/en-us/library/bb174569(VS.85).aspx IDXGISwapChain interface] ] , and provides methods for managing the presentation and animation of rendered frames.Additionally, the producer must provide certain objects that implement various DXGI interfaces, including the following:
*Device, which implements the IDXGIDevice interface [ [http://msdn2.microsoft.com/en-us/library/bb174527(VS.85).aspx IDXGIDevice interface] ] . This interface is implemented by the producer's device object, such as a Direct3D 10 device.
*Resource, which implements the IDXGIResource interface [ [http://msdn2.microsoft.com/en-us/library/bb174560(VS.85).aspx IDXGIResource interface] ] . This interface is implemented by resources such as textures.References
External links
* [http://msdn2.microsoft.com/en-us/library/bb205075.aspx DXGI overview]
Wikimedia Foundation. 2010.