Commit Graph

34 Commits

Author SHA1 Message Date
Henri Verbeet 240912c59b wined3d: Ignore the dirty region for swapchain presents more explicitly.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-18 12:20:49 +09:00
Józef Kucia e79bf35933 dxgi: Make dxgi_swapchain_SetFullscreenState() hotpatchable.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:39 +09:00
Józef Kucia 2a1186db19 dxgi: Add locking around remaining wined3d calls. 2015-09-18 14:57:50 +02:00
Józef Kucia 0eefb93535 dxgi: Replace dxgi_cs with wined3d_mutex. 2015-09-18 14:57:46 +02:00
Stefan Dösinger 2936e4ac54 wined3d: Remove wined3d_backbuffer_type. 2015-09-08 21:59:16 +09:00
Stefan Dösinger f010e5d88a wined3d: Return a texture from wined3d_swapchain_get_back_buffer. 2015-09-03 21:11:07 +09:00
Józef Kucia 9e8b58ee18 dxgi: Remove 'stub!' from TRACE message in dxgi_swapchain_ResizeBuffers(). 2015-08-18 18:34:49 +09:00
Henri Verbeet fca2d19423 dxgi: Implement dxgi_swapchain_ResizeBuffers(). 2015-08-07 23:44:19 +09:00
Henri Verbeet d29f263c79 dxgi: Introduce a helper function to convert wined3d multisample info to dxgi. 2015-08-06 23:36:01 +09:00
Henri Verbeet 3beaf224ea dxgi: Implement dxgi_swapchain_GetPrivateData(). 2015-02-18 23:21:11 +09:00
Henri Verbeet e37272ee86 dxgi: Implement dxgi_swapchain_SetPrivateDataInterface(). 2015-02-17 18:42:24 +09:00
Henri Verbeet 59ffc7bc8d dxgi: Implement dxgi_swapchain_SetPrivateData(). 2015-02-17 18:42:22 +09:00
Henri Verbeet 810977446a dxgi: Call wined3d_device_init_3d() on device creation. 2014-09-15 12:12:51 +02:00
Henri Verbeet 31e8976910 wined3d: Get rid of the surface_type parameter to wined3d_swapchain_create(). 2013-01-16 12:22:57 +01:00
Henri Verbeet adddf10cd8 wined3d: wined3d_swapchain_get_desc() never fails. 2012-10-04 14:09:55 +02:00
Henri Verbeet 5fcc1f8f70 wined3d: Just return the surface from wined3d_swapchain_get_back_buffer(). 2012-10-04 14:09:50 +02:00
Ričardas Barkauskas d9ce33bfb0 dxgi: Partially implement IDXGISwapChain_GetDesc. 2012-09-25 11:20:10 +02:00
Henri Verbeet 3769afa33d wined3d: Get rid of the WINED3DSURFTYPE typedef. 2012-01-20 13:31:33 +01:00
Henri Verbeet 45f6def784 wined3d: Get rid of the WINED3DBACKBUFFER_TYPE typedef. 2012-01-06 19:24:21 +01:00
Henri Verbeet 94c9b0b4fc wined3d: Get rid of the WINED3DPRESENT_PARAMETERS typedef. 2011-12-02 11:51:29 +01:00
Michael Stefaniuc 61f51eb47e dxgi: COM cleanup in the IDXGISwapChain iface. 2011-06-06 16:30:12 +02:00
Henri Verbeet 8d4ca1f815 wined3d: Remove COM from the device implementation. 2011-05-17 10:06:18 +02:00
Henri Verbeet 00a5f38595 wined3d: Remove object creation methods from the IWineD3DDevice interface. 2011-05-11 14:56:48 +02:00
Henri Verbeet 1c1de920e3 wined3d: Remove COM from the surface implementation. 2011-04-29 16:52:13 +02:00
Henri Verbeet 3ec19590d5 wined3d: Remove COM from the swapchain implementation. 2011-04-14 17:13:57 +02:00
Henri Verbeet d2e665230a wined3d: Get rid of the swapchain destroy callback. 2011-04-13 14:13:51 +02:00
Henri Verbeet dd2c7d0d8c wined3d: Don't free D3D swapchains until the wined3d swapchain is destroyed.
This will allow us the get rid of the swapchain refcounting hacks in d3d9 in
particular. This is similar to the way we handle resources that are still in
use by a stateblock, but aren't referenced anywhere by the application.
2011-04-08 14:40:48 +02:00
Henri Verbeet 6c4c351791 wined3d: Don't require wined3d object parents to be COM objects. 2010-09-01 14:01:02 +02:00
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