Stefan Dösinger
8c91443f9d
d3d8: Validate swap effect and backbuffer count.
2015-08-27 21:43:47 +09:00
Francois Gouget
f8a7d6ed74
Assorted spelling fixes.
2015-08-07 23:50:48 +09:00
Stefan Dösinger
e09f980c83
d3d8: Reject FBs with mismatching multisample settings.
2015-06-10 23:25:05 +09:00
Henri Verbeet
69047ed4f7
d3d8: Update the BackBufferCount after a successful reset.
2015-04-14 17:26:46 +09:00
Francois Gouget
ae7dfe274f
d3d8: Remove unneeded NONAMELESSXXX directives.
2015-03-10 15:18:23 +09:00
Henri Verbeet
ea534c9ab4
wined3d: Allow initial texture contents to be specified with wined3d_texture_create().
2015-01-05 20:15:35 +01:00
Stefan Dösinger
8dd44e2801
d3d8: Refuse to reset a lost device.
2014-12-02 13:05:52 +01:00
Stefan Dösinger
dd8bf9c87d
d3d8: Only one fullscreen swapchain is allowed.
2014-11-25 19:49:31 +01:00
Henri Verbeet
d5365aae28
d3d8: Get rid of the format switching code in d3d8_device_CopyRects().
...
This can't possibly do anything, since we fail texture creation for
WINED3DFMT_UNKNOWN. If texture creation with D3DFMT_UNKNOWN is actually
supposed to work, we should probably pick an appropriate format at creation,
instead of during CopyRects(). This code has existed in some form or another
since the initial version in commit 850a9429db
.
No tests, of course.
2014-09-29 10:37:12 +02:00
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
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
Stefan Dösinger
97b5525888
d3d8: Introduce a resource structure.
2014-03-21 17:36:17 +01:00
Stefan Dösinger
b91973daa7
wined3d: Merge wined3d_surface_set_mem into wined3d_surface_update_desc .
2014-01-08 20:02:22 +01:00
Henri Verbeet
15c1a26b55
wined3d: Create volumes inside wined3d.
2013-12-06 13:14:52 +01:00
Henri Verbeet
4b3db52b53
wined3d: Merge the texture creation functions.
2013-11-27 11:30:15 +01:00
Henri Verbeet
afc3d2ab70
wined3d: Create surfaces inside wined3d.
2013-11-15 12:00:26 +01:00
Stefan Dösinger
36c15d92e9
d3d8/tests: Test blocked texture creation restrictions.
2013-09-06 17:25:08 +02:00
Stefan Dösinger
ac871305f8
wined3d: Store the mipmap level in the volume.
2013-08-22 20:15:18 +02:00
Henri Verbeet
133bfe29e4
d3d8: Always create textures for surfaces.
2013-08-20 11:50:36 +02:00
Henri Verbeet
d97a8b3e83
d3d8: Create textures for swapchain surfaces.
2013-06-07 11:58:17 +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
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
Michael Stefaniuc
14c3895573
d3d8: Remove ERR() on HeapAlloc failure for small sizes known at compile time.
2013-02-07 15:48:18 +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
d70ab45fc5
d3d8: Return D3D_OK from the palette setters.
2013-01-14 17:30:03 +01:00
Stefan Dösinger
01197730ef
d3d8: Use dynamic buffers for DrawIndexedPrimitiveUP.
2012-12-19 12:53:15 +01:00
Stefan Dösinger
7dd4460bc8
d3d8: Use a dynamic vertex buffer for DrawPrimitiveUP.
2012-12-19 12:53:12 +01:00
Henri Verbeet
d0d213f7d1
d3d10core: Implement d3d10_device_IAGetIndexBuffer().
2012-11-21 13:25:57 +01:00
Andrew Talbot
1cd505cb81
d3d8: Remove unused variable.
2012-11-21 13:25:22 +01:00
Henri Verbeet
79f0b4d977
d3d9: Avoid resetting device state for d3d9ex resets.
2012-11-20 11:44:27 +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
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
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
f9d494294a
wined3d: Just return the texture from wined3d_device_get_texture().
2012-09-27 13:10:43 +02:00