Commit Graph

219 Commits

Author SHA1 Message Date
Riccardo Bortolato 6241ce5637 wined3d: Introduce a new wined3d_texture_blt function.
Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:38 +09:00
Stefan Dösinger 20d5be042c d3d8: Call IDirect3DSwapChain8::Present in IDirect3DDevice8::Present.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 19:20:21 +09:00
Riccardo Bortolato 9c00f968d6 d3d8: Make use of wined3d_texture_map in d3d8_surface_LockRect.
Pass wined3d_texture and sub_resource idx to device_parent_surface_created callback.
Store wined3d_texture and sub_resource in d3d8_surface.
Also updated d3d9, d3d11, ddraw callbacks accordingly.

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 23:34:56 +09:00
Riccardo Bortolato eeea2af596 d3d8: Don't use a wined3d_volume in d3d8_volume_GetDesc.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:53 +09:00
Riccardo Bortolato 9621737c8e wined3d: Pass wined3d_texture and sub_resource idx to device_volume_created callback.
Store wined3d_texture and sub_resource in d3d8_volume.
Updated the d3d8_volume_LockBox to make use of wined3d_texture_map.
Also updated d3d9, d3d11, ddraw callbacks accordingly.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:52 +09:00
Henri Verbeet b005ad6f90 wined3d: Use rendertarget views for color output instead of surfaces. 2014-08-21 12:24:42 +02:00
Henri Verbeet 599f018c81 d3d8: The "forwardReference" field in struct d3d8_surface is always a texture, if set. 2014-08-15 17:04:13 +02:00
Henri Verbeet 515c1acf29 d3d8: Volumes are always part of a texture. 2014-08-15 17:04:09 +02:00
Henri Verbeet 85c203edad d3d8: Improve d3d8_device_TestCooperativeLevel(). 2014-06-30 22:04:53 +02:00
Stefan Dösinger 1db2bdcf8a d3d8: Use the private store api for buffers. 2014-03-21 17:36:20 +01:00
Stefan Dösinger 97b5525888 d3d8: Introduce a resource structure. 2014-03-21 17:36:17 +01:00
Henri Verbeet 15c1a26b55 wined3d: Create volumes inside wined3d. 2013-12-06 13:14:52 +01:00
Henri Verbeet afc3d2ab70 wined3d: Create surfaces inside wined3d. 2013-11-15 12:00:26 +01:00
Stefan Dösinger ac871305f8 wined3d: Store the mipmap level in the volume. 2013-08-22 20:15:18 +02:00
Henri Verbeet d6bc4fe71a wined3d: Allow surface flags to be passed to texture creation functions. 2013-06-06 11:47:19 +02:00
Stefan Dösinger 01197730ef d3d8: Use dynamic buffers for DrawIndexedPrimitiveUP. 2012-12-19 12:53:15 +01:00
Stefan Dösinger 7dd4460bc8 d3d8: Use a dynamic vertex buffer for DrawPrimitiveUP. 2012-12-19 12:53:12 +01:00
Henri Verbeet ddbe791d37 wined3d: Set texture_level in surface_set_texture_target() as well. 2012-10-24 11:24:22 +02:00
Henri Verbeet 79dc346131 d3d8: Introduce a separate function for swapchain creation. 2012-07-02 19:18:01 +02:00
Henri Verbeet 9e0d03e653 d3d8: Pass a wined3d_swapchain_desc structure to swapchain_init(). 2012-07-02 19:18:00 +02:00
Henri Verbeet 75d166f62c d3d8: Get rid of IDirect3DVolume8Impl. 2012-05-23 18:25:01 +02:00
Henri Verbeet ec466ff3b7 d3d8: Get rid of IDirect3DSurface8Impl. 2012-05-23 18:24:57 +02:00
Henri Verbeet 584053d0ee d3d8: Get rid of IDirect3DSwapChain8Impl. 2012-05-22 18:07:09 +02:00
Henri Verbeet 1993727ee7 d3d8: Get rid of IDirect3DVertexBuffer8Impl. 2012-05-22 18:07:05 +02:00
Henri Verbeet 27ca37dbe0 d3d8: Get rid of IDirect3DIndexBuffer8Impl. 2012-05-21 21:31:13 +02:00
Henri Verbeet 9b085a9260 d3d8: Get rid of IDirect3DDevice8Impl. 2012-05-21 21:31:10 +02:00
Henri Verbeet e103a7a52d d3d8: Get rid of IDirect3D8Impl. 2012-05-03 23:45:05 +02:00
Henri Verbeet 5a4c15b9d9 d3d8: Add a separate function for d3d8 initialization. 2012-05-03 23:44:59 +02:00
Henri Verbeet 83761d20a8 d3d8: Get rid of IDirect3DBaseTexture8Impl. 2012-04-19 12:01:47 +02:00
Henri Verbeet 98696724b7 d3d8: Get rid of IDirect3DVolumeTexture8Impl. 2012-04-18 13:58:55 +02:00
Henri Verbeet b8d07a2b44 d3d8: Get rid of IDirect3DCubeTexture8Impl. 2012-04-17 11:47:02 +02:00
Henri Verbeet 7bb17f49e3 d3d8: Get rid of IDirect3DTexture8Impl. 2012-04-17 11:46:59 +02:00
Henri Verbeet 24d4a52e85 d3d8: Remove COM from the pixel shader implementation. 2012-01-25 11:25:40 +01:00
Henri Verbeet 483b17d410 d3d8: Remove COM from the vertex shader implementation. 2012-01-25 11:25:35 +01:00
Henri Verbeet f056fe7bb5 d3d8: Remove COM from the vertex declaration implementation. 2012-01-25 11:25:27 +01:00
Henri Verbeet e53a277305 wined3d: Get rid of the WINED3DPOOL typedef. 2012-01-18 12:37:38 +01:00
Michael Stefaniuc 9ab233ea24 d3d8: COM cleanup for the IDirect3DVertexBuffer8 iface. 2011-07-08 14:45:14 +02:00
Michael Stefaniuc aa8e4dd81b d3d8: Use unsafe_impl_from_IDirect3DVertexBuffer8 for app provided ifaces. 2011-07-08 14:45:09 +02:00
Michael Stefaniuc 638cf80c4f d3d8: COM cleanup for the IDirect3DIndexBuffer8 iface. 2011-07-05 13:47:38 +02:00
Michael Stefaniuc c1eeeec2d2 d3d8: Use unsafe_impl_from_IDirect3DIndexBuffer8 for an app provided iface. 2011-07-05 13:47:35 +02:00
Michael Stefaniuc d615be8eea d3d8: COM cleanup for the IDirect3DSurface8 iface. 2011-07-05 13:47:30 +02:00
Michael Stefaniuc cce8294f39 d3d8: Use unsafe_impl_from_IDirect3DSurface8 for app provided ifaces. 2011-07-05 13:47:26 +02:00
Andrew Nguyen 174b03cad8 d3d8: Increment the reference count of the IDirect3D8 parent when creating a device. 2011-06-06 21:49:19 +02:00
Henri Verbeet 3032b40c80 wined3d: Get rid of the IWineD3DDeviceParent interface. 2011-05-19 10:06:21 +02:00
Henri Verbeet 8d4ca1f815 wined3d: Remove COM from the device implementation. 2011-05-17 10:06:18 +02:00
Henri Verbeet 693fb6d56c d3d8: Check for D3DPOOL_DEFAULT resources before doing a Reset(). 2011-05-04 17:26:46 +02:00
Henri Verbeet 1c1de920e3 wined3d: Remove COM from the surface implementation. 2011-04-29 16:52:13 +02:00
Henri Verbeet 2c450571e5 wined3d: Remove COM from the volume implementation. 2011-04-15 10:07:57 +02:00
Henri Verbeet 3ec19590d5 wined3d: Remove COM from the swapchain implementation. 2011-04-14 17:13:57 +02:00
Henri Verbeet f8f83ff2f7 wined3d: Remove COM from the shader implementation. 2011-03-31 12:37:46 +02:00