Commit Graph

1155 Commits

Author SHA1 Message Date
Henri Verbeet 2457d34314 d3d9: Pass a wined3d_swapchain_desc structure to swapchain_init(). 2012-07-02 19:18:00 +02:00
Henri Verbeet e97dc9f33d d3d9: Implement d3d9_EnumAdapterModesEx(). 2012-07-02 19:17:59 +02:00
Henri Verbeet 8d4e3d0d58 d3d9: Implement d3d9_GetAdapterModeCountEx(). 2012-06-29 10:14:29 +02:00
Henri Verbeet 256d433164 d3d9: Implement d3d9_device_PresentEx(). 2012-06-29 10:14:21 +02:00
Henri Verbeet 0ce894f274 d3d9: Implement d3d9_device_GetDisplayModeEx(). 2012-06-28 01:39:28 +02:00
Henri Verbeet 2c8834dffd d3d9: Implement d3d9_GetAdapterDisplayModeEx(). 2012-06-28 01:39:27 +02:00
Henri Verbeet a1bfd0988f wined3d: Take scanline ordering into account in the mode setting code. 2012-06-28 01:39:26 +02:00
Henri Verbeet d74a587b1b d3d9/tests: Add a test for resource bindings after reset. 2012-06-18 17:48:26 +02:00
Henri Verbeet 56fffd0659 d3d9: Get rid of IDirect3DQuery9Impl. 2012-06-12 17:27:34 +02:00
Henri Verbeet 2f2995de75 d3d9: Get rid of IDirect3DPixelShader9Impl. 2012-06-12 17:27:29 +02:00
Henri Verbeet df9c6aa3ec d3d9: Get rid of IDirect3DVertexShader9Impl. 2012-06-12 17:27:25 +02:00
Henri Verbeet bdd42942c0 d3d9: Get rid of IDirect3DVertexDeclaration9Impl. 2012-06-01 17:46:45 +02:00
Henri Verbeet 79d62ca1fb d3d9: Get rid of IDirect3DStateBlock9Impl. 2012-06-01 17:46:44 +02:00
Henri Verbeet 6341389fe4 d3d9: Get rid of IDirect3DIndexBuffer9Impl. 2012-05-31 18:05:32 +02:00
Henri Verbeet 503b16392b d3d9: Get rid of IDirect3DVertexBuffer9Impl. 2012-05-31 18:05:29 +02:00
Henri Verbeet cb9cc2ccee d3d9: Get rid of IDirect3DSurface9Impl. 2012-05-30 17:18:00 +02:00
Henri Verbeet d4c5c03cbb d3d9: Get rid of IDirect3DSwapChain9Impl. 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
Henri Verbeet 82adae949b d3d9: Get rid of IDirect3D9Impl. 2012-05-25 16:24:11 +02:00
Henri Verbeet 5b2d171043 d3d9: Add a separate function for d3d9 initialization. 2012-05-25 16:24:07 +02:00
Henri Verbeet b5d64260e0 d3d9: Get rid of the D3D_DECL_* macros. 2012-05-25 16:23:59 +02:00
Henri Verbeet 51024a078f d3d9: Get rid of the d3dType field from d3d_dtype_lookup. 2012-05-25 16:23:56 +02:00
Henri Verbeet 8560f36cb8 d3d9: Get rid of the D3DDECLTYPE_INFO typedef. 2012-05-24 20:08:49 +02:00
Henri Verbeet e3ecfa5974 wined3d: Store user clip planes as 4-component float vectors. 2012-05-22 18:07:02 +02:00
Józef Kucia cafab89093 d3d9/tests: Add tests for IDirect3DCubeTexture9::GetLevelDesc and IDirect3DCubeTexture9::GetCubeMapSurface. 2012-05-22 17:43:59 +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
Michael Stefaniuc 3d9a4e8921 d3d9/tests: Remove stray ok() call. 2012-05-21 12:43:26 +02:00
Henri Verbeet 9267148705 wined3d: The wined3d object doesn't need a parent. 2012-05-03 11:18:00 +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 9936ec0c1c d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetStreamSource(). 2012-04-30 11:01:13 +02:00
Henri Verbeet c208d973f6 d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetIndices(). 2012-04-30 11:01:09 +02:00
Henri Verbeet c638aab2b4 d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetPixelShader(). 2012-04-27 11:59:27 +02:00
Henri Verbeet 722e60ab2e d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetVertexShader(). 2012-04-27 11:59:23 +02:00
Henri Verbeet a495b7af48 d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetVertexDeclaration(). 2012-04-27 11:59:21 +02:00
Henri Verbeet 3e2d946290 d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetTexture(). 2012-04-26 19:26:08 +02:00
Henri Verbeet e333334450 d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetDepthStencilSurface(). 2012-04-26 19:26:06 +02:00
Henri Verbeet 6a03dbf111 d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetRenderTarget(). 2012-04-26 19:26:02 +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 fb5bc72408 d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetBackBuffer(). 2012-04-25 12:14:02 +02:00
Henri Verbeet 138edd31e5 d3d9: Use the surface implementation pointer in reset_enum_callback(). 2012-04-25 12:13:58 +02:00
Henri Verbeet 11a2231c11 d3d9: Properly retrieve an interface pointer in IDirect3DDevice9Impl_GetSwapChain(). 2012-04-25 12:13:55 +02:00
Henri Verbeet 5f38a1e1f7 d3d9: Merge cubetexture.c into texture.c. 2012-04-24 11:30:12 +02:00
Henri Verbeet 7da2dc747c d3d9: Get rid of IDirect3DVolumeTexture9Impl. 2012-04-24 11:29:40 +02:00
Henri Verbeet 7efbfe494e d3d9: Properly retrieve an interface pointer in IDirect3DSwapChain9Impl_GetBackBuffer(). 2012-04-24 11:29:37 +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 8cef8b3587 wined3d: Unify the wined3d_mapped_rect and wined3d_mapped_box structures. 2012-04-13 10:48:51 +02:00
Henri Verbeet 949f7b4524 d3d9: COM cleanup for the IDirect3DVertexDeclaration9 interface. 2012-04-13 10:48:46 +02:00
Henri Verbeet 81ed6e0c86 d3d9: Use the wined3d declaration to retrieve the FVF in IDirect3DDevice9Impl_GetFVF(). 2012-04-13 10:48:43 +02:00
Henri Verbeet 5fc17b84d0 d3d9: Store wined3d vertex declarations in the fvf lookup table.
This also implicitly gets rid of the convFVF hack in
IDirect3DVertexDeclaration9Impl_Release().
2012-04-12 20:36:45 +02:00
Henri Verbeet ba67df7a60 d3d9: Introduce a separate function for vertex declaration creation. 2012-04-12 20:36:40 +02:00
Henri Verbeet 53b3f9d40e d3d9: COM cleanup for the IDirect3DSwapChain9 interface.
This is mostly based on the COM cleanup scripts by Michael Stefaniuc.
2012-04-11 18:14:36 +02:00
Henri Verbeet 8b95d8d2e3 d3d9: Introduce a separate function for swapchain creation. 2012-04-11 18:14:30 +02:00
Henri Verbeet 9d54130128 d3d9: Don't return a pointer to the implementation in IDirect3DCubeTexture9Impl_QueryInterface(). 2012-04-03 12:00:47 +02:00
Henri Verbeet f47267ad55 d3d9: Don't return a pointer to the implementation in IDirect3DDevice9Impl_QueryInterface(). 2012-04-03 12:00:45 +02:00
Henri Verbeet a84eaf3d22 d3d9: Don't return a pointer to the implementation in IDirect3DQuery9Impl_QueryInterface(). 2012-04-02 12:39:37 +02:00
Henri Verbeet 71aa7cd81e d3d9: Don't return a pointer to the implementation in IDirect3DStateBlock9Impl_QueryInterface(). 2012-04-02 12:39:33 +02:00
Henri Verbeet fa3838e9de d3d9: Don't return a pointer to the implementation in IDirect3DSurface9Impl_QueryInterface(). 2012-03-30 10:44:18 +02:00
Henri Verbeet b76f0aeee0 d3d9: Don't return a pointer to the implementation in IDirect3DSwapChain9Impl_QueryInterface(). 2012-03-30 10:44:11 +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 8e40db2783 d3d9: Don't return a pointer to the implementation in IDirect3DVertexDeclaration9Impl_QueryInterface(). 2012-03-29 20:49:14 +02:00
Henri Verbeet ad0980c655 d3d9: Don't return a pointer to the implementation in IDirect3DVolume9Impl_QueryInterface(). 2012-03-28 11:36:42 +02:00
Henri Verbeet 8db93e2a55 d3d9: Don't return a pointer to the implementation in IDirect3DVolumeTexture9Impl_QueryInterface(). 2012-03-28 11:36:37 +02:00
Henri Verbeet cbc3e9985c d3d9: Store an implementation pointer to the d3d9 structure in IDirect3DDevice9Impl. 2012-03-28 11:36:32 +02:00
Henri Verbeet 82b3dbdefb d3d9/tests: Fix a couple of return value checks. 2012-03-13 10:26:40 +01:00
Henri Verbeet 2de689ac04 d3d9: Cleanup IDirect3D9Impl_QueryInterface(). 2012-03-13 10:26:25 +01:00
Matteo Bruni 94953f165a d3d9/tests: Add shader model 2 fog tests. 2012-03-09 17:26:21 +01:00
Matteo Bruni 393b2f137c d3d9/tests: Reenable a VS fog test. 2012-03-09 17:26:06 +01:00
Henri Verbeet 9ad6f2e1f4 d3d9/tests: Add some tests for resetting the device window. 2012-02-29 20:47:30 +01:00
Henri Verbeet 8f6ddf789e d3d9/tests: Add tests for z-clipping with D3DRS_ZENABLE disabled. 2012-02-24 09:56:02 +01:00
Matteo Bruni f69f2aa347 wined3d: SM1 texture projection always divides by w when there is a vertex shader set. 2012-01-24 11:55:47 +01:00
Stefan Dösinger 038e308a41 wined3d: Relax depth blit requirements. 2012-01-23 16:06:55 +01:00
Henri Verbeet 3769afa33d wined3d: Get rid of the WINED3DSURFTYPE typedef. 2012-01-20 13:31:33 +01:00
Matteo Bruni ec0c7a1605 d3d9/tests: Add some RESZ tests. 2012-01-19 17:08:10 +01:00
Matteo Bruni 167b2869ff d3d9/tests: Add a multisampled -> not multisampled depth buffer blit test. 2012-01-19 17:08:09 +01:00
Henri Verbeet ed417a6f13 wined3d: Get rid of the WINED3DSTATEBLOCKTYPE typedef. 2012-01-18 12:37:38 +01:00
Henri Verbeet e53a277305 wined3d: Get rid of the WINED3DPOOL typedef. 2012-01-18 12:37:38 +01:00
Henri Verbeet 6a5a098b23 wined3d: Get rid of the WINED3DRESOURCETYPE typedef. 2012-01-18 12:37:38 +01:00
Henri Verbeet e70990041b wined3d: Get rid of the WINED3DTEXTUREFILTERTYPE typedef. 2012-01-13 17:34:31 +01:00
Henri Verbeet a44b062aed wined3d: Get rid of the WINED3DCUBEMAP_FACES 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
Matteo Bruni 9fb3e0fb62 d3d9/tests: Multisampled depth buffer tests. 2012-01-10 10:48:43 +01:00
Matteo Bruni 175a6d8d59 d3d9/tests: Fix NP2 check. 2012-01-10 10:48:38 +01:00
Matteo Bruni 53849b7d5e d3d9/tests: Add more INTZ tests. 2012-01-10 10:48:34 +01:00
Henri Verbeet 43fcbcb36e wined3d: Get rid of the WINED3DTEXTURESTAGESTATETYPE typedef. 2012-01-10 10:47:27 +01:00
Henri Verbeet 9a8491045e wined3d: Get rid of the WINED3DMULTISAMPLE_TYPE typedef. 2012-01-09 12:22:17 +01:00
Henri Verbeet 45f6def784 wined3d: Get rid of the WINED3DBACKBUFFER_TYPE typedef. 2012-01-06 19:24:21 +01:00
Alexandre Julliard 7533f9bead d3d9/tests: Convert a file to utf-8. 2012-01-03 12:37:20 +01:00
Matteo Bruni 8dee7989f2 d3d9/tests: More D3DTSS_TEXTURETRANSFORMFLAGS projection tests. 2011-12-28 18:55:25 +01:00