Henri Verbeet
376ffdf3d5
wined3d: Get rid of the WINED3DADAPTER_IDENTIFIER typedef.
2011-11-24 17:10:09 +01:00
Henri Verbeet
bca0ec8182
ddraw: Fail surface creation if the cooperative level isn't set yet.
2011-11-24 17:09:57 +01:00
Henri Verbeet
21bd722c46
ddraw: Set the render target to the wined3d frontbuffer on D3D device cleanup.
...
We don't need any specific render target here, since without a D3D device we
can't do any rendering anyway. We just want to avoid pointing to something
that was free'd.
2011-11-24 17:09:48 +01:00
Henri Verbeet
74345201ad
ddraw: Move setting ddraw->d3d_target out of ddraw_attach_d3d_device().
2011-11-23 09:13:49 +01:00
Matteo Bruni
ca83e14aba
ddraw: Reorder formats in EnumTextureFormats.
2011-11-23 09:13:28 +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
Francois Gouget
3315918eac
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2011-11-21 11:01:10 +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
8e6f5c34a2
ddraw: We can't render to the desktop window either.
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
Stefan Dösinger
9e0baa55ce
ddraw: Set correct HEL and HAL color models.
2011-11-15 19:37:28 +01:00
Stefan Dösinger
c3d6061593
ddraw: Add more tests and fixes for SetSurfaceDesc.
2011-11-15 19:37:28 +01:00
Stefan Dösinger
460e35aace
ddraw/tests: Mark a VMware failure broken.
2011-11-15 19:37:28 +01:00
Stefan Dösinger
edfeec60b1
ddraw/tests: Add a YV12 blit test.
2011-11-14 15:25:24 +01:00
Stefan Dösinger
a9c72d8772
ddraw/tests: Add a test for YV12 partial block locks and lock offsets.
2011-11-14 15:25:24 +01:00
Henri Verbeet
a2963b662c
ddraw: Use wined3d_mutex_lock() / wined3d_mutex_unlock() for locking.
2011-11-14 15:25:21 +01:00
Francois Gouget
82c3b84e40
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2011-11-14 15:25:20 +01:00
Octavian Voicu
8a6a157074
ddraw: Make IDirectDrawClipperImpl_[GS]etHWnd function names consistent with SDK.
2011-11-09 17:51:28 +01:00
Stefan Dösinger
6a7c82186a
ddraw/tests: Add a partial block lock test.
2011-11-08 18:19:16 +01:00
Octavian Voicu
0134df1973
ddraw/tests: Fix a couple of copy-paste typos in test messages.
2011-11-08 14:22:04 +01:00
Francois Gouget
9b7178e633
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2011-11-07 11:32:57 +01:00
Octavian Voicu
6e75f68153
ddraw/tests: Add more attachment/detachment test cases.
2011-11-03 13:52:15 +01:00
Octavian Voicu
9776a3bae2
ddraw/tests: Use more common pixel formats and caps for attachment tests.
2011-11-03 13:52:15 +01:00
Octavian Voicu
6e7bb64950
ddraw/tests: Move surface attachment tests from refcount.c to dsurface.c.
2011-11-03 13:52:15 +01:00
Henri Verbeet
fcf96b634a
wined3d: Create the DIB section for DDSCAPS_OWNDC surfaces on initialization.
2011-10-31 23:52:51 +01:00
Henri Verbeet
1bf36a3f40
ddraw: Implement ddraw_surface7_BltFast() on top of wined3d_surface_blt().
2011-10-31 16:46:19 +01:00
Henri Verbeet
5193f6704c
ddraw: Implement copy_mipmap_chain() on top of wined3d_surface_blt().
2011-10-31 16:46:19 +01:00
Henri Verbeet
38abddca68
ddraw: Only update primary_lock when we're actually locking the frontbuffer.
...
This fixes a regression introduced by commit
8330558e12
.
2011-10-27 19:34:09 +02:00
Henri Verbeet
d09ad48328
ddraw: Read/draw from/to the actual screen when there is no swapchain window.
2011-10-25 16:57:24 +02:00
Henri Verbeet
8330558e12
ddraw: Keep track of the affected rectangle for ddraw_surface_update_frontbuffer().
2011-10-25 16:57:24 +02:00
Henri Verbeet
4408c5abc6
ddraw: Clear attached_iface before releasing it in ddraw_surface_delete_attached_surface().
...
Spotted by Dan Kegel / Valgrind.
2011-10-19 12:23:23 +02:00
Henri Verbeet
10b54a7860
ddraw: Initialize the surface desc's dwFlags field to 0 before surface locks.
...
Otherwise DDSD2_to_DDSD() would try to convert uninitialized data on failure.
Spotted by Dan Kegel / Valgrind.
2011-10-19 12:23:15 +02:00
Marcus Meissner
b08d4f597a
ddraw: Lowercase variable names to fix a incorrect sizeof() (Coverity).
2011-10-18 15:17:49 +02:00
Henri Verbeet
14ca56ed97
ddraw: Destroy the swapchain in ddraw_destroy() if it still exists.
2011-10-18 15:10:21 +02:00
Ričardas Barkauskas
472a8f7a67
ddraw: COM cleanup for IDirect3DDevice7 interface.
2011-10-17 18:24:58 +02:00
Ričardas Barkauskas
7dc08745d1
ddraw: Use impl_from_IDirect3DDevice7 for application provided interfaces.
2011-10-17 18:24:42 +02:00
Ričardas Barkauskas
31cf68dd95
ddraw: Use unsafe_impl_from_IDirect3DDevice7 for application provided interfaces.
2011-10-17 18:24:30 +02:00
Ričardas Barkauskas
6b7e3e77d0
ddraw: COM cleanup for IDirect3DDevice3 interface.
2011-10-17 18:24:21 +02:00
Ričardas Barkauskas
bd530d3aba
ddraw: Rename device_from_device3 to impl_from_IDirect3DDevice3.
2011-10-17 18:24:10 +02:00
Ričardas Barkauskas
a90b2ad002
ddraw: Use unsafe_impl_from_IDirect3DDevice3 for application provided interfaces.
2011-10-17 18:23:51 +02:00
Ričardas Barkauskas
d32df839ac
ddraw: COM cleanup for IDirect3DDevice2 interface.
2011-10-17 18:23:42 +02:00
Ričardas Barkauskas
1c045cbb28
ddraw: Rename device_from_device2 to impl_from_IDirect3DDevice2.
2011-10-17 18:23:33 +02:00
Ričardas Barkauskas
a870753dba
ddraw: Use unsafe_impl_from_IDirect3DDevice2 for application provided interfaces.
2011-10-17 18:23:18 +02:00
Ričardas Barkauskas
d5912c533f
ddraw: COM cleanup for IDirect3DDevice interface.
2011-10-17 18:23:09 +02:00
Ričardas Barkauskas
a0c9ab7894
ddraw: Rename device_from_device1 to impl_from_IDirect3DDevice.
2011-10-17 18:22:56 +02:00
Ričardas Barkauskas
d19e416dee
ddraw: Use unsafe_impl_from_IDirect3DDevice for application provided interfaces.
2011-10-17 18:22:44 +02:00