Commit Graph

1098 Commits

Author SHA1 Message Date
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
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
Henri Verbeet a51b03f16e d3d9/tests: Add a test for texture creation from system memory. 2011-12-02 11:51:19 +01:00
Henri Verbeet b171d5f95d d3d9: Implement texture creation from system memory. 2011-12-02 11:51:15 +01:00
Henri Verbeet d9ab258df8 d3d9: Add some FIXMEs for d3d9ex resource sharing. 2011-12-02 11:51:09 +01:00
Henri Verbeet 3430e11605 wined3d: Add a flags parameter to wined3d_surface_create(). 2011-11-30 11:50:48 +01:00
Henri Verbeet 82dd612d50 ddraw: Resize the swapchain window on mode changes in exclusive mode. 2011-11-30 11:50:42 +01:00
Henri Verbeet d1327bbefe wined3d: Get rid of the WINED3DDEVICE_CREATION_PARAMETERS typedef. 2011-11-28 16:40:47 +01:00
Henri Verbeet 1ac6f487d5 d3d9/tests: Test the window and backbuffer dimensions after display mode changes. 2011-11-28 16:40:47 +01:00
Marcus Meissner d255efbde1 d3d9: Check that surface is allocated (Coverity). 2011-11-25 17:12:25 +01:00
Henri Verbeet 6a529e5847 wined3d: Get rid of the WINED3DVERTEXELEMENT typedef. 2011-11-25 16:21:57 +01:00
Henri Verbeet 1c74172a28 wined3d: Get rid of the WINED3DCLIPSTATUS typedef. 2011-11-25 16:21:57 +01:00
Henri Verbeet 376ffdf3d5 wined3d: Get rid of the WINED3DADAPTER_IDENTIFIER typedef. 2011-11-24 17:10:09 +01:00
Henri Verbeet 2fb21e0a2e wined3d: Get rid of the WINED3DTRIPATCH_INFO typedef. 2011-11-24 17:10:06 +01:00
Henri Verbeet 2ecbe2aa0f wined3d: Get rid of the WINED3DRECTPATCH_INFO typedef. 2011-11-23 09:13:58 +01:00
Henri Verbeet 2e1c0d83c1 wined3d: Get rid of the WINED3DGAMMARAMP typedef. 2011-11-22 10:52:45 +01:00
Henri Verbeet be8917cd91 wined3d: Get rid of the WINED3DVIEWPORT typedef. 2011-11-22 10:52:40 +01:00
Henri Verbeet 02bb70fc3b wined3d: Get rid of the WINED3DMATERIAL typedef. 2011-11-21 11:01:02 +01:00
Henri Verbeet f597359727 wined3d: Get rid of the WINED3DLIGHT typedef. 2011-11-21 11:00:57 +01:00
Henri Verbeet 37a0f7ad65 wined3d: Get rid of the WINED3DMATRIX typedef. 2011-11-18 14:26:16 +01:00
Henri Verbeet 18a7653c78 wined3d: Get rid of the WINED3DDISPLAYMODE typedef. 2011-11-17 11:37:26 +01:00
Henri Verbeet e0a0d611af wined3d: Pass a wined3d_color struct to wined3d_device_clear(). 2011-11-16 09:41:53 +01:00
Henri Verbeet 7459180a51 wined3d: Get rid of the WINED3DCOLORVALUE typedef. 2011-11-16 09:41:50 +01:00
Matteo Bruni 276216360e d3d9: Remove D3DFMT_R8G8B8 special handling. 2011-11-15 19:37:37 +01:00
Stefan Dösinger 7eefed1410 wined3d: YUY2 and UYVY are block based. 2011-11-07 14:32:16 +01:00
Stefan Dösinger 7fd752047d d3d9/tests: Test partial block locks. 2011-11-07 14:27:24 +01:00
Stefan Dösinger f1d98aed70 d3d9/tests: Move the double unlock test into a separate test, test other pools. 2011-11-03 13:52:15 +01:00
Matteo Bruni 095a9a6893 wined3d: Refuse to create a shader unsupported by the backend. 2011-10-26 12:41:35 +02:00
Matteo Bruni 7254f5e661 wined3d: Return only the shader major version. 2011-10-26 12:41:34 +02:00
Matteo Bruni 6e6a917617 d3d9: Limit VS/PS reported version. 2011-10-26 12:41:34 +02:00
Henri Verbeet 6e8273177a wined3d: Reject multisampled readbacks in wined3d_surface_get_render_target_data(). 2011-10-24 11:16:33 +02:00
Henri Verbeet 002447357c d3d9/tests: Add a small test for IDirect3DDevice9::SetCursorPosition(). 2011-10-21 12:09:40 +02:00
Henri Verbeet 12a99309d9 d3d9/tests: Add a small test for multisampled GetRenderTargetData(). 2011-10-20 11:03:15 +02:00
Henri Verbeet d607586d62 wined3d: Make the present_parameters parameter to wined3d_device_reset() const. 2011-10-19 12:24:36 +02:00
Austin English c3f6f96df4 d3d9/tests: Only skip the visual tests if d3d cannot be initialized on Windows. 2011-10-18 16:24:45 +02:00
Stefan Dösinger 4365d2905c d3d9: Remove the palette implementation methods. 2011-10-11 13:37:49 +02:00
Henri Verbeet 1226ffe062 d3d9/tests: Add a test for IDirect3DDevice9::GetRenderTarget(). 2011-10-10 13:39:42 +02:00
Henri Verbeet 739a9d9805 wined3d: Return WINED3DERR_NOTFOUND if the render target is NULL in wined3d_device_get_render_target().
This is similar to how wined3d_device_get_depth_stencil() works.
2011-10-10 13:39:39 +02:00
André Hentschel 3c9aa22289 d3d9/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:15:12 +02:00
Stefan Dösinger e1d92059ea d3d9: Implement FPUSETUP for msvc. 2011-09-26 17:59:41 +02:00
Matteo Bruni f87483c307 d3d9/tests: Test creating shaders with wrong type or version. 2011-09-26 17:57:55 +02:00
Matteo Bruni 2a146448f4 wined3d: When creating a new shader, check shader type and version. 2011-09-26 17:57:48 +02:00
Stefan Dösinger 7759729fc7 d3d9/Tests: State getters don't work with PUREDEVICEs. 2011-09-16 17:23:10 +02:00
Stefan Dösinger 6bf2eb76bb d3d9/tests: Add a slop to the fog tests for X1600 GPUs. 2011-09-16 17:23:09 +02:00
Stefan Dösinger f3644a513f d3d9/tests: Fix the depth stencil size tests on AMD. 2011-09-16 17:23:09 +02:00
Stefan Dösinger f708da1c1c d3d9/tests: Range fog is not used with table fog. 2011-09-15 15:41:41 +02:00
Stefan Dösinger c2cefe5584 d3d9: Add a LIT 0.0^0.0 test. 2011-09-12 10:09:40 +02:00
Matteo Bruni e46378c764 d3d9/tests: Add unbound cube/volume texture tests. 2011-08-29 12:08:19 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00