Commit Graph

1045 Commits

Author SHA1 Message Date
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
Eric Pouech
1d3952ed9f d3d: Fixed a couple of warnings for 64bit targets. 2011-12-12 10:53:49 +01:00
Henri Verbeet
38c3cde6fd wined3d: Get rid of the WINED3DPSHADERCAPS2_0 typedef. 2011-12-09 21:15:25 +01:00
Henri Verbeet
af6b98c44b wined3d: Get rid of the WINED3DVSHADERCAPS2_0 typedef. 2011-12-09 21:15:24 +01:00
Henri Verbeet
5c5216e609 wined3d: Get rid of the WINED3DBOX typedef. 2011-12-07 17:49:56 +01:00
Stefan Dösinger
f8dbf97e8d d3d9/tests: Clarify a comment. 2011-12-06 17:07:23 +01:00
Stefan Dösinger
171c18a5bb d3d9/tests: Test StrechRect between depth stencils with different sizes. 2011-12-06 17:07:20 +01:00
Henri Verbeet
2fa5a22100 wined3d: Get rid of the WINED3DLOCKED_BOX typedef. 2011-12-06 15:50:58 +01:00
Henri Verbeet
eafebc0491 wined3d: Get rid of the WINED3DLOCKED_RECT typedef. 2011-12-06 15:50:58 +01:00
Henri Verbeet
360c1114d6 wined3d: Get rid of the WINED3DRASTER_STATUS typedef. 2011-12-02 11:51:33 +01:00
Henri Verbeet
94c9b0b4fc wined3d: Get rid of the WINED3DPRESENT_PARAMETERS typedef. 2011-12-02 11:51:29 +01:00