Commit Graph

1422 Commits

Author SHA1 Message Date
Henri Verbeet 1a78667862 wined3d: Allow the first render target to be set to NULL.
Note that it still isn't necessarily safe to render in this case, because
there are places where we assume the first render target is always non-NULL in
order to determine e.g. framebuffer dimensions. It's now the responsibility of
the caller to ensure that doesn't happen.
2013-09-12 10:59:18 +02:00
Stefan Dösinger c0a14564d3 d3d9/tests: Actually accept r500 results. 2013-09-10 17:00:59 +02:00
Stefan Dösinger ff14c24dd2 d3d9/tests: Use a plain depth stencil instead of a texture.
r500 does not support anything but AMD's extension depth texture formats
on Windows 7. Plain surfaces work OK with the builtin formats.
2013-09-10 17:00:55 +02:00
Stefan Dösinger b59418d75d d3d9/tests: Test the behavior of failing surface creation calls. 2013-09-10 17:00:46 +02:00
Stefan Dösinger b7b028ca4b d3d9/tests: Test blocked texture creation restrictions. 2013-09-06 17:25:08 +02:00
Stefan Dösinger 80638b6d2f wined3d: Enforce texturing capability format restrictions on resource creation. 2013-09-06 17:25:08 +02:00
Stefan Dösinger 0cb72cdeb5 d3d9/tests: Add a DXT5 volume test. 2013-09-02 18:07:38 +02:00
Stefan Dösinger c1c2f99939 d3d9/tests: Add a volume sRGB test. 2013-08-27 21:30:03 +02:00
Stefan Dösinger 9dcca7ba8a d3d9/tests: Add UpdateTexture tests with volumes. 2013-08-27 21:30:03 +02:00
Stefan Dösinger 82b6c46006 d3d9/tests: Add a volume texture locking test. 2013-08-27 21:30:03 +02:00
Stefan Dösinger ac871305f8 wined3d: Store the mipmap level in the volume. 2013-08-22 20:15:18 +02:00
Henri Verbeet d0c9dbe763 d3d9: Always create textures for surfaces. 2013-08-20 11:50:34 +02:00
Matteo Bruni e2cf98eb76 wined3d: Implement special fog behavior for orthogonal projection matrices. 2013-07-24 11:09:31 -05:00
Henri Verbeet c57913babb d3d9/tests: Make shader bytecode static const. 2013-07-01 19:51:23 +02:00
Matteo Bruni 0141b20cee d3d9/tests: Improve cnd instruction test. 2013-06-26 18:45:41 +02:00
Matteo Bruni aeade16d62 d3d9/tests: Skip unbound_sampler_test if cube or volume textures aren't supported. 2013-06-20 22:14:36 +02:00
Matteo Bruni 5ffabcdfff d3d9/tests: Reset texture 0 to NULL at the end of texop_test(). 2013-06-20 22:14:35 +02:00
Stefan Dösinger e030ed3c2f d3d9/tests: Add a test for fog_start == fog_end. 2013-06-19 20:09:53 +02:00
Henri Verbeet 4de77fa23f wined3d: Allow a custom pitch to be specified in wined3d_surface_set_mem(). 2013-06-14 11:46:20 +02:00
Henri Verbeet 93b76d9a9c d3d9: Create textures for swapchain surfaces. 2013-06-06 11:47:22 +02:00
Henri Verbeet d6bc4fe71a wined3d: Allow surface flags to be passed to texture creation functions. 2013-06-06 11:47:19 +02:00
Henri Verbeet 91096dd7ad wined3d: Pass a wined3d_resource_desc structure to wined3d_texture_create_3d(). 2013-06-06 11:47:07 +02:00
Henri Verbeet b23739316c wined3d: Pass a wined3d_resource_desc structure to wined3d_texture_create_cube(). 2013-06-05 17:31:39 +02:00
Henri Verbeet 9d4cbd6195 wined3d: Pass a wined3d_resource_desc structure to wined3d_texture_create_2d(). 2013-06-05 17:31:39 +02:00
Henri Verbeet 13a38e8d5e wined3d: Pass a wined3d_resource_desc structure to device_parent_create_swapchain_surface(). 2013-06-04 10:14:28 +02:00
Henri Verbeet a4d2660c9b wined3d: Pass a wined3d_resource_desc structure to device_parent_create_texture_surface(). 2013-06-04 10:14:26 +02:00
Stefan Dösinger 30e9a37bbb d3d9/tests: d3d9ex video memory accounting tests. 2013-05-21 19:41:39 +02:00
Stefan Dösinger 9287bb80dc d3d: d3d9ex does not do video memory accounting for D3DPOOL_DEFAULT resources. 2013-05-20 19:08:28 +02:00
Stefan Dösinger 098105dca4 d3d9/tests: Don't test for equality in d3d9's depth_blit_test. 2013-04-24 18:26:48 +02:00
Stefan Dösinger a4babd2ed3 d3d9/tests: Nvidia cannot handle 2x1 YUY2/UYVY surfaces. 2013-04-24 18:26:39 +02:00
Stefan Dösinger 6f8d25635d d3d9/tests: Add r500 fp_special results. 2013-04-24 18:26:32 +02:00
Stefan Dösinger 67e57c84b9 d3d9/tests: Correct nv40 results. 2013-04-24 18:26:30 +02:00
Stefan Dösinger 6c031274c3 d3d9/tests: Fix a test failure on cards that don't support mipmapped cube textures. 2013-04-16 17:49:08 +02:00
Stefan Dösinger 39e7248d71 d3d9/tests: Test NPOT texture creation. 2013-04-16 17:48:52 +02:00
Sam Edwards 33d31a3547 wined3d: Properly handle backbuffer_width/_height=0 in wined3d_device_reset. 2013-04-11 12:06:49 +02:00
Stefan Dösinger 6d06b7f5b8 d3d9/tests: Test special fp values in local constants.
The HLSL compiler refuses to use NaN and +/-Inf values in pre-SM4
shaders, claiming that those are unsupported in this shader model.
However, vsa.exe happilly generates them, the required strings in the
shader code are 1.#QNAN and 1.#INF. Native d3d9 happily loads such a
shader.
2013-04-09 16:33:50 +02:00
Sam Edwards 8157aa143b d3d9/tests: Verify window style after exiting fullscreen mode. 2013-04-03 11:33:58 +02:00
Rico Schüller 08e20e9d69 d3d9/tests: Use lower base hexadecimal values. 2013-02-25 13:03:28 +01:00
Francois Gouget ce34094f5f d3d9/tests: CheckDeviceType() may also return D3DERR_NOTAVAILABLE for D3DFMT_X1R5G5B5.
Spice's QXL driver claims to support X1R5G5B5 but then returns
NOTAVAILABLE just like the Windows Standard VGA driver does for R5G6B5
and X8R8G8B8.
2013-02-21 18:03:03 +01:00
Matteo Bruni 25d0d0876d wined3d: Make (wined3d_)surface_depth_blt_fbo handle locations other than SFLAG_INTEXTURE. 2013-02-19 10:39:42 +01:00
Michael Stefaniuc d86ecd4bb4 d3d9: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-07 15:48:20 +01:00
Stefan Dösinger ddc868c4a0 d3d9/tests: Add simple DrawRectPatch tests. 2013-01-25 11:31:15 +01:00
Stefan Dösinger 149a85c2e7 d3d: Remove high level patch support.
No Windows driver ever exposed this, and no game uses this. The
only application that used this feature is a DirectX 8 SDK sample.
2013-01-25 11:29:41 +01:00
Stefan Dösinger aaa11492db wined3d: Ignore clears if count = 0 and rects != NULL. 2013-01-23 19:16:32 +01:00
Henri Verbeet 1249976eb6 wined3d: Get rid of the surface_type parameter to wined3d_check_device_format(). 2013-01-17 12:22:01 +01:00
Henri Verbeet ce912d5149 wined3d: Get rid of the surface_type parameter to wined3d_surface_create(). 2013-01-17 12:21:55 +01:00
Stefan Dösinger ab36ab7d11 d3d9/tests: Create a plain DS surface in test_reset_resources.
r200 does not support depth textures.
2013-01-16 20:27:09 +01:00
Henri Verbeet 31e8976910 wined3d: Get rid of the surface_type parameter to wined3d_swapchain_create(). 2013-01-16 12:22:57 +01:00
Stefan Dösinger 4d5c8b6fe7 d3d9/tests: Add a software vertexprocessing buffer discard test. 2013-01-15 16:25:28 +01:00
Stefan Dösinger c57511ce4a d3d9: Return D3D_OK from the palette setters. 2013-01-14 17:29:59 +01:00
Henri Verbeet 3197e36413 d3d9/tests: Merge surface.c into device.c. 2013-01-11 18:14:07 +01:00
Henri Verbeet 0c9713bb65 d3d9/tests: Merge texture.c into device.c. 2013-01-11 18:14:07 +01:00
Henri Verbeet dd9efc9852 d3d9/tests: Merge shader.c into device.c. 2013-01-11 18:14:07 +01:00
Henri Verbeet 5fd8529363 d3d9/tests: Merge query.c into device.c. 2013-01-10 12:30:18 +01:00
Henri Verbeet afca55649d d3d9/tests: Merge buffer.c into device.c. 2013-01-10 12:30:10 +01:00
Henri Verbeet 52a24e8297 d3d9/tests: Merge volume.c into device.c. 2013-01-10 12:30:02 +01:00
Stefan Dösinger f3f172ce81 d3d9: Use dynamic buffers for DrawIndexedPrimitiveUP. 2012-12-19 12:53:23 +01:00
Stefan Dösinger 873603f941 d3d9: Use a dynamic buffer for DrawPrimitiveUP. 2012-12-19 12:53:20 +01:00
Stefan Dösinger aeee527ebd d3d9/tests: Move the clipplane + shader test inside the capability check. 2012-12-06 13:02:11 +01:00
Stefan Dösinger b11e499c0b d3d9/tests: Give the texture transform test a defined colorop. 2012-12-06 13:02:04 +01:00
Stefan Dösinger 320b33e57b d3d9/tests: Skip some texture transform tests if shaders are unsupported. 2012-12-06 13:01:56 +01:00
Henri Verbeet d0d213f7d1 d3d10core: Implement d3d10_device_IAGetIndexBuffer(). 2012-11-21 13:25:57 +01:00
Henri Verbeet 2f307a14f0 d3d9/tests: Add tests for device resets in d3d9ex. 2012-11-20 11:44:36 +01:00
Henri Verbeet 84da62d993 d3d9/tests: Create the d3d9ex object in create_device(). 2012-11-20 11:44:31 +01:00
Henri Verbeet 79f0b4d977 d3d9: Avoid resetting device state for d3d9ex resets. 2012-11-20 11:44:27 +01:00
Henri Verbeet 8180b9000a d3d9/tests: Add a test for the scissor rect and viewport after SetRenderTarget() calls. 2012-11-19 11:47:08 +01:00
Henri Verbeet b52118d53d d3d9/tests: Also test that render states get reset in test_reset(). 2012-11-16 11:40:02 +01:00
Sam Edwards e21a4b291c d3d9/tests: Add test for IDirect3DDevice9_Reset with BackBufferWidth/Height = 0. 2012-11-07 11:59:21 +01:00
Henri Verbeet 32f8548d67 d3d9/tests: Avoid LPDIRECT3DSURFACE9. 2012-10-30 09:49:18 +01:00
Henri Verbeet 64ffe6476e d3d9/tests: Avoid LPDIRECT3DVERTEXBUFFER9. 2012-10-30 09:49:15 +01:00
Henri Verbeet 369fb5185f d3d9/tests: Avoid LPDIRECT3DTEXTURE9. 2012-10-30 09:49:13 +01:00
Henri Verbeet 2bf46c60fb wined3d: Replace the face and level parameters to device_parent_create_texture_surface() with the sub-resource index. 2012-10-25 11:48:25 +02:00
André Hentschel 31ca59f0b5 d3d9/tests: Fix copy-paste error (coverity). 2012-10-24 19:37:56 +02: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 8e24dbb60a wined3d: wined3d_stateblock_apply() never fails. 2012-10-08 11:28:37 +02:00
Henri Verbeet b69545c7da wined3d: wined3d_stateblock_capture() never fails. 2012-10-08 11:28:32 +02:00
Henri Verbeet adddf10cd8 wined3d: wined3d_swapchain_get_desc() never fails. 2012-10-04 14:09:55 +02:00
Henri Verbeet 5fcc1f8f70 wined3d: Just return the surface from wined3d_swapchain_get_back_buffer(). 2012-10-04 14:09:50 +02:00
Henri Verbeet 2ad5808996 wined3d: wined3d_device_get_creation_parameters() never fails. 2012-10-01 23:07:55 +02:00
Henri Verbeet 6e5cf8c698 wined3d: wined3d_device_set_depth_stencil() never fails. 2012-10-01 23:07:51 +02:00
Henri Verbeet 95b4207c7f wined3d: Just return the surface from wined3d_device_get_depth_stencil(). 2012-10-01 12:11:02 +02:00
Henri Verbeet 972217fd6a wined3d: Just return the surface from wined3d_device_get_render_target(). 2012-10-01 12:10:55 +02:00
Henri Verbeet c0f52fbf1c wined3d: wined3d_device_set_software_vertex_processing() never fails. 2012-09-27 13:10:48 +02:00
Henri Verbeet f9d494294a wined3d: Just return the texture from wined3d_device_get_texture(). 2012-09-27 13:10:43 +02:00
Henri Verbeet c0a83b1d96 wined3d: wined3d_device_get_texture_stage_state() never fails. 2012-09-26 14:40:35 +02:00
Henri Verbeet 26c0714009 wined3d: wined3d_device_set_texture_stage_state() never fails. 2012-09-26 14:40:33 +02:00
Henri Verbeet 6e4c40689c wined3d: Just return the shader from wined3d_device_get_pixel_shader(). 2012-09-25 11:19:11 +02:00
Henri Verbeet fc711d4955 wined3d: wined3d_device_set_pixel_shader() never fails. 2012-09-25 11:19:07 +02:00
Henri Verbeet 6909b5143b wined3d: Just return the shader from wined3d_device_get_vertex_shader(). 2012-09-24 09:58:06 +02:00
Henri Verbeet b97ec7ae0c wined3d: wined3d_device_set_vertex_shader() never fails. 2012-09-24 09:58:03 +02:00
Henri Verbeet 2f03ad1a40 wined3d: Just return the declaration from wined3d_device_get_vertex_declaration(). 2012-09-21 10:53:10 +02:00
Henri Verbeet 01918d05ed wined3d: wined3d_device_set_vertex_declaration() never fails. 2012-09-21 10:53:06 +02:00
Henri Verbeet de1ae1eb8a wined3d: wined3d_device_get_scissor_rect() never fails. 2012-09-19 23:54:59 +02:00
Henri Verbeet 2de9fc640b wined3d: wined3d_device_set_scissor_rect() never fails. 2012-09-19 23:54:56 +02:00
Henri Verbeet 62670c7ba5 wined3d: wined3d_device_get_sampler_state() never fails. 2012-09-19 13:04:52 +02:00
Henri Verbeet 0d96be2c20 wined3d: wined3d_device_set_sampler_state() never fails. 2012-09-19 13:04:48 +02:00
Henri Verbeet 343974e2fd wined3d: wined3d_device_get_material() never fails. 2012-09-18 10:18:51 +02:00
Henri Verbeet 2669feeb8c wined3d: wined3d_device_set_material() never fails. 2012-09-18 10:18:42 +02:00
Henri Verbeet 90bd04c6b6 wined3d: wined3d_device_multiply_transform() never fails. 2012-09-14 15:43:20 +02:00
Henri Verbeet 706ece827b wined3d: wined3d_device_get_transform() never fails. 2012-09-12 12:46:12 +02:00
Henri Verbeet f79bbc767d wined3d: wined3d_device_set_transform() never fails. 2012-09-12 12:46:07 +02:00
Henri Verbeet d601a0dede wined3d: wined3d_device_get_render_state() never fails. 2012-09-11 18:03:57 +02:00
Henri Verbeet 75cec973d5 wined3d: wined3d_device_set_render_state() never fails. 2012-09-11 18:03:53 +02:00
Henri Verbeet 3569b6ccd2 wined3d: wined3d_device_get_viewport() never fails. 2012-09-10 11:40:19 +02:00
Henri Verbeet 64aae8cf02 wined3d: wined3d_device_set_viewport() never fails. 2012-09-10 11:40:14 +02:00
Henri Verbeet c8f4ca315e wined3d: Just return the buffer from wined3d_device_get_index_buffer(). 2012-09-06 15:45:32 +02:00
Henri Verbeet a3e28f6ce5 wined3d: wined3d_device_set_index_buffer() never fails. 2012-09-06 15:45:32 +02:00
Henri Verbeet 8fd7d3a2b3 wined3d: Just return the swapchain from wined3d_device_get_swapchain(). 2012-09-05 11:48:04 +02:00
Jacek Caban 9bb70e2739 d3d9/tests: Use proper helpers for iface calls. 2012-08-28 14:41:10 +02:00
Michael Stefaniuc b410bc3a1a d3d9/tests: Simplify some logic operations. 2012-08-17 16:25:58 +02:00
Henri Verbeet 09443f14e7 wined3d: Enable "AlwaysOffscreen" by default. 2012-07-19 15:43:59 +02:00
Henri Verbeet 0821c8024b wined3d: Merge the device parent create_rendertarget() and create_depth_stencil() handlers. 2012-07-11 09:57:07 -05:00
Henri Verbeet 8ad98cdbee wined3d: Get rid of the "discard" parameter to device_parent_create_depth_stencil(). 2012-07-10 10:39:42 -05:00
Henri Verbeet 9b74ebd794 wined3d: Get rid of the "lockable" parameter to device_parent_create_rendertarget(). 2012-07-10 10:39:34 -05:00
Henri Verbeet 73eceafb17 d3d9: Implement d3d9_device_ResetEx(). 2012-07-09 15:04:18 -04:00
Henri Verbeet c98725ccc3 d3d9: Introduce a helper function to create D3DPRESENT_PARAMETERS from a wined3d_swapchain_desc. 2012-07-03 14:56:34 +02:00
Henri Verbeet 003ab4d3e0 d3d9: Introduce a helper function to create a wined3d_swapchain_desc from D3DPRESENT_PARAMETERS. 2012-07-03 14:56:26 +02:00
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
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