Commit Graph

90 Commits (29b39020f789fad042824822b5aa05ec0470438a)

Author SHA1 Message Date
Henri Verbeet cb9cc2ccee d3d9: Get rid of IDirect3DSurface9Impl. 2012-05-30 17:18:00 +02:00
Henri Verbeet a91ef5217d d3d9: Get rid of IDirect3DVolume9Impl. 2012-05-29 10:45:13 +02:00
Henri Verbeet 2a63fe6624 d3d9: Get rid of IDirect3DDevice9Impl. 2012-05-29 10:45:09 +02:00
Józef Kucia cd4b973d59 d3d9: Return D3DERR_INVALIDCALL when IDirect3DCubeTexture9::GetCubeMapSurface is called with invalid level. 2012-05-22 17:43:59 +02:00
Józef Kucia 5f6310ee45 d3d9: Return D3DERR_INVALIDCALL when IDirect3DCubeTexture9::GetLevelDesc is called with invalid level. 2012-05-22 17:43:58 +02:00
Henri Verbeet 6b9f151c9e d3d9: Properly retrieve an interface pointer in d3d9_texture_3d_UnlockBox(). 2012-05-03 11:17:53 +02:00
Henri Verbeet 46a6f4c1a9 d3d9: Properly retrieve an interface pointer in d3d9_texture_3d_LockBox(). 2012-05-03 11:17:51 +02:00
Henri Verbeet 5d56abdb55 d3d9: Properly retrieve an interface pointer in d3d9_texture_3d_GetVolumeLevel(). 2012-05-02 11:59:06 +02:00
Henri Verbeet f9fe89b386 d3d9: Properly retrieve an interface pointer in d3d9_texture_cube_UnlockRect(). 2012-05-02 11:58:59 +02:00
Henri Verbeet 5d30402ad8 d3d9: Properly retrieve an interface pointer in d3d9_texture_cube_LockRect(). 2012-05-02 11:58:56 +02:00
Henri Verbeet 02cb4fe294 d3d9: Properly retrieve an interface pointer in d3d9_texture_cube_GetCubeMapSurface(). 2012-05-01 14:44:09 +02:00
Henri Verbeet c85f6c9419 d3d9: Properly retrieve an interface pointer in d3d9_texture_2d_UnlockRect(). 2012-05-01 14:44:06 +02:00
Henri Verbeet 61dd4fa851 d3d9: Properly retrieve an interface pointer in d3d9_texture_2d_LockRect(). 2012-05-01 14:44:03 +02:00
Henri Verbeet 605e6b743c d3d9: Properly retrieve an interface pointer in d3d9_texture_2d_GetSurfaceLevel(). 2012-04-30 11:01:16 +02:00
Henri Verbeet d01e0647d1 d3d9: Get rid of IDirect3DBaseTexture9Impl. 2012-04-25 12:14:54 +02:00
Henri Verbeet 5145b13199 d3d9: Merge volumetexture.c into texture.c. 2012-04-25 12:14:44 +02:00
Henri Verbeet 5f38a1e1f7 d3d9: Merge cubetexture.c into texture.c. 2012-04-24 11:30:12 +02:00
Henri Verbeet 21c65893c9 d3d9: Get rid of IDirect3DCubeTexture9Impl. 2012-04-23 11:47:58 +02:00
Henri Verbeet 5569db9a98 d3d9: Get rid of IDirect3DTexture9Impl. 2012-04-23 11:44:48 +02:00
Henri Verbeet e1b8573ee8 d3d9: Don't return a pointer to the implementation in IDirect3DTexture9Impl_QueryInterface(). 2012-03-29 20:49:15 +02:00
Henri Verbeet e70990041b wined3d: Get rid of the WINED3DTEXTUREFILTERTYPE typedef. 2012-01-13 17:34:31 +01:00
Henri Verbeet bd3b0ba697 d3d9: Don't expose wined3d internal flags to the application. 2012-01-11 17:47:18 +01:00
Henri Verbeet 5c5216e609 wined3d: Get rid of the WINED3DBOX typedef. 2011-12-07 17:49:56 +01:00
Henri Verbeet a989afe364 d3d9: Implement IDirect3DTexture9 private data handling on top of wined3d_resource. 2011-06-20 11:28:26 +02:00
Henri Verbeet dbc0e72d17 d3d9: Just return the resource type in IDirect3DResource8::GetType() implementations. 2011-06-06 16:19:08 +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
Michael Stefaniuc d5739cd2c3 d3d9: Finish the COM cleanup of the IDirect3DDevice9Ex iface. 2011-04-25 11:40:35 +02:00
Michael Stefaniuc 31bea55ef4 d3d9: COM cleanup for the IDirect3DTexture9 iface. 2011-04-20 16:33:42 +02:00
Henri Verbeet fd8e18bd2b wined3d: Remove COM from the texture implementation. 2011-03-28 17:08:52 +02:00
Henri Verbeet f1ec3820d7 wined3d: Get rid of IWineD3DTexture. 2011-03-17 10:40:52 +01:00
Henri Verbeet 4a10bbc76d wined3d: Generalize AddDirtyRect() / AddDirtyBox() to AddDirtyRegion(). 2011-03-15 17:14:07 +01:00
Henri Verbeet 13b05b9dbe wined3d: Get rid of IWineD3DTexture::Unmap(). 2011-03-14 12:39:27 +01:00
Henri Verbeet b77a661515 wined3d: Get rid of IWineD3DTexture::Map(). 2011-03-14 12:39:27 +01:00
Henri Verbeet 4fd03150f6 wined3d: Get rid of IWineD3DBaseTexture::GetSubResourceDesc(). 2011-03-10 12:53:13 +01:00
Henri Verbeet 8809ebdf79 wined3d: Generalize GetSurfaceLevel() / GetVolumeLevel() to GetSubResource(). 2011-03-10 12:53:04 +01:00
Henri Verbeet 63b72d789d wined3d: Move the GetLevelDesc() functions to the IWineD3DBaseTexture interface. 2011-03-09 12:29:04 +01:00
Henri Verbeet 756fdb7c5a wined3d: Merge the various resource desc structures. 2011-03-09 12:28:58 +01:00
Henri Verbeet 95469309d6 wined3d: Consistently use Map/Unmap for mapping resources. 2010-10-14 17:54:52 +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 ff92e6eb6a d3d9: Simplify GetDevice(). 2009-12-04 14:34:59 +01:00
Henri Verbeet 4dbf1c4900 d3d9: Add traces. 2009-10-20 14:00:36 +02:00
Allan Tong 5d56eddb7c d3d9: Don't release the parent device before destroying its children.
Releasing the device earlier may cause the underlying wineD3D device
to be freed before the child object has had a chance to clean up.
2009-09-29 12:05:47 +02:00
Henri Verbeet a8e8f763bf wined3d: Don't free D3D textures until the wined3d texture is destroyed. 2009-09-18 08:54:34 -05:00
Henri Verbeet 75f005ebf9 d3d9: Add a separate function for texture initialization. 2009-09-17 10:10:10 -05: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 e7d14d02d0 d3d9: Remove trailing spaces. 2009-08-28 11:54:50 +02:00
Henri Verbeet 5f9f079d71 d3d9: Use the wined3d cs for wined3d locking. 2009-08-26 12:11:41 +02:00
Henri Verbeet 88162fabb8 wined3d: Get rid of the pointers in WINED3DSURFACE_DESC. 2009-06-15 13:42:29 +02:00
Henri Verbeet 6f33b97c94 wined3d: Get rid of the shared_handle parameter.
I don't expect us to support this in the near future, and right now it's just
dead code.
2009-04-23 14:22:06 +02:00