Commit Graph

1126 Commits

Author SHA1 Message Date
Stefan Dösinger 92bcb74768 d3d8: Return the correct value in CreateAdditionalSwapChain. 2014-09-25 16:41:48 +02:00
Henri Verbeet 74ab8e8ce9 wined3d: Do not increment the reference count of the returned buffer in wined3d_device_get_stream_source().
None of the other getters increment the reference count either.
2014-09-18 13:06:32 +02:00
Henri Verbeet 07985a8c38 wined3d: Use rendertarget views for depth/stencil buffers instead of surfaces.
I don't think the difference between d3d10 depth/stencil and rendertarget
views is large enough to justify a separate type. Unfortunately that does make
the name "wined3d_rendertarget_view" slightly awkward.
2014-08-22 12:53:11 +02:00
Henri Verbeet b005ad6f90 wined3d: Use rendertarget views for color output instead of surfaces. 2014-08-21 12:24:42 +02:00
Henri Verbeet 8fe8495908 d3d8: wined3d_device_get_available_texture_mem() returns a UINT. 2014-08-18 12:47:07 +02:00
Henri Verbeet 599f018c81 d3d8: The "forwardReference" field in struct d3d8_surface is always a texture, if set. 2014-08-15 17:04:13 +02:00
Henri Verbeet 515c1acf29 d3d8: Volumes are always part of a texture. 2014-08-15 17:04:09 +02:00
Henri Verbeet ca95dd2c82 d3d8: Return E_OUTOFMEMORY on HeapAlloc() failure in device_parent_surface_created(). 2014-08-15 17:04:00 +02:00
Stefan Dösinger 341db6d8d3 wined3d: Remove wined3d_texture_set/get_priority. 2014-07-16 16:10:05 +02:00
Stefan Dösinger cf11933701 wined3d: Remove wined3d_buffer_set/get_priority. 2014-07-16 16:10:01 +02:00
Henri Verbeet 4cb91a69b0 d3d8/tests: Get rid of struct nvertex. 2014-07-15 15:30:01 +02:00
Henri Verbeet 59208edffe d3d8/tests: Get rid of struct tvertex. 2014-07-15 15:29:59 +02:00
Henri Verbeet ab1a53c1b9 d3d8/tests: Get rid of struct vertex. 2014-07-15 15:29:57 +02:00
Stefan Dösinger 0b61e22fd3 d3d8/tests: Add a test for SetPriority and GetPriority. 2014-07-09 14:43:53 +02:00
Henri Verbeet ee7eee5511 d3d8: Check the device status in present calls. 2014-06-30 22:04:53 +02:00
Henri Verbeet 85c203edad d3d8: Improve d3d8_device_TestCooperativeLevel(). 2014-06-30 22:04:53 +02:00
Henri Verbeet 09fda3b805 d3d9: Improve d3d9_device_TestCooperativeLevel(). 2014-06-27 10:37:36 +02:00
Henri Verbeet e6de1cbdc9 d3d8/tests: Add some lost device tests. 2014-06-27 10:37:28 +02:00
Stefan Dösinger af733f0475 d3d8/tests: Add a test for D3DUSAGE_WRITEONLY. 2014-06-11 16:14:56 +02:00
Alexandre Julliard 4df26c56d8 d3d8: Remove unnecessary DllMain implementation. 2014-05-15 19:04:50 +02:00
Henri Verbeet 2a258bd0c5 d3d8/tests: Handle the Windows 8 testbot results in cnd_test(). 2014-04-22 11:26:29 +02:00
Henri Verbeet 41abcf6048 d3d8/tests: Handle the Windows 8 testbot results in zenable_test(). 2014-04-22 11:26:27 +02:00
Henri Verbeet a8248847f5 d3d8/tests: Use a separate device for test_sanity(). 2014-04-22 11:26:26 +02:00
Henri Verbeet 25d2de7b93 d3d8/tests: Use a separate device for depth_clamp_test(). 2014-04-22 11:26:24 +02:00
Henri Verbeet 9994cf8aec d3d8/tests: Use a separate device for lighting_test(). 2014-04-21 11:09:57 +02:00
Henri Verbeet 00630f67a4 d3d8/tests: Use a separate device for clear_test(). 2014-04-21 11:09:56 +02:00
Henri Verbeet 322e6dd587 d3d8/tests: Use a separate device for fog_test(). 2014-04-21 11:09:55 +02:00
Henri Verbeet 2428049753 d3d8/tests: Use a separate device for z_range_test(). 2014-04-21 11:09:54 +02:00
Henri Verbeet f8bd052366 d3d8/tests: Use a separate device for offscreen_test(). 2014-04-21 11:09:54 +02:00
Henri Verbeet 18ba1bce71 d3d8/tests: Use a separate device for alpha_test(). 2014-04-18 10:44:49 +02:00
Henri Verbeet b2ab682234 d3d8/tests: Use a separate device for test_scalar_instructions(). 2014-04-18 10:44:47 +02:00
Henri Verbeet f693254d2c d3d8/tests: Use a separate device for fog_with_shader_test(). 2014-04-18 10:44:45 +02:00
Henri Verbeet af8cd4a7af d3d8/tests: Use a separate device for cnd_test(). 2014-04-18 10:44:43 +02:00
Henri Verbeet 9166b74039 d3d8/tests: Use a separate device for p8_texture_test(). 2014-04-18 10:44:39 +02:00
Henri Verbeet f719ef3858 d3d8/tests: Use a separate device for texop_test(). 2014-04-17 10:44:34 +02:00
Henri Verbeet 8cd5f7fdca d3d8/tests: Use a separate device for depth_buffer_test(). 2014-04-17 10:44:32 +02:00
Henri Verbeet f798db55c8 d3d8/tests: Use a separate device for depth_buffer2_test(). 2014-04-17 10:44:30 +02:00
Henri Verbeet e43d7c4f8a d3d8/tests: Use a separate device for intz_test(). 2014-04-17 10:44:28 +02:00
Henri Verbeet 527882d4e2 d3d8/tests: Use a separate device for shadow_test(). 2014-04-17 10:44:26 +02:00
Henri Verbeet b2d8573848 d3d8/tests: Use a separate device for multisample_copy_rects_test(). 2014-04-16 10:53:56 +02:00
Henri Verbeet 36f5debb88 d3d8/tests: Use a separate device for zenable_test(). 2014-04-16 10:53:52 +02:00
Henri Verbeet 46a7517fed d3d8/tests: Use a separate device for resz_test(). 2014-04-16 10:53:48 +02:00
Henri Verbeet b17ff75649 d3d8/tests: Use a separate device for fog_special_test(). 2014-04-16 10:53:43 +02:00
Henri Verbeet d93cbeca51 d3d8/tests: Use a separate device for volume_dxt5_test(). 2014-04-16 10:53:39 +02:00
Henri Verbeet 554871ea81 d3d8/tests: Use a separate device for volume_v16u16_test(). 2014-04-15 21:03:54 +02:00
Henri Verbeet 29680b685a d3d8/tests: Use a separate device for add_dirty_rect_test(). 2014-04-15 21:03:54 +02:00
Henri Verbeet ef5e4c794d d3d8/tests: Make the sanity test a normal test. 2014-04-15 21:03:54 +02:00
Henri Verbeet 54029915d5 d3d8/tests: Properly declare matrices. 2014-04-14 20:19:01 +02:00
Henri Verbeet 3a87b3a6db d3d8/tests: Get rid of some pointless BeginScene() checks. 2014-04-14 20:19:01 +02:00
Stefan Dösinger 2bf09a1538 d3d8/tests: Test locking of mipmap textures. 2014-04-08 19:23:21 +02:00