Commit Graph

6 Commits

Author SHA1 Message Date
Henri Verbeet
044a989d79 dxgi: Add a separate function for swapchain initialization. 2009-12-29 11:06:06 +01:00
Henri Verbeet
a5214c306f wined3d: Don't free D3D surfaces until the wined3d surface is destroyed.
This prevents for example a d3d9 depth stencil from being destroyed when it
has no external references but is still in use by the device/stateblock. A
nice side effect is that it simplifies handling of "implicit" surfaces like
the frontbuffer and backbuffers, as well as the forwarding of reference counts
for surfaces that are part of a texture.
2009-09-16 13:04:32 -05:00
Henri Verbeet
964408d0bf dxgi: Initial IDXGISwapChain::Present() implementation. 2009-02-24 16:57:29 +01:00
Henri Verbeet
f4879dcec1 dxgi: Implement IDXGISwapChain::GetBuffer(). 2009-02-24 16:57:29 +01:00
Henri Verbeet
eda929d010 dxgi: Create a wined3d swapchain. 2009-02-24 16:57:29 +01:00
Henri Verbeet
926c47940c dxgi: Add some stubs for IDXGISwapChain. 2008-10-29 13:29:33 +01:00