Francois Gouget
94532dbd08
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2011-09-05 10:54:00 +02:00
Ričardas Barkauskas
d9ada7929a
ddraw: Don't allow SetPalette on mipmap sublevels instead of root surfaces.
2011-09-02 18:28:25 +02:00
Stefan Dösinger
4107963967
ddraw: Fix a test message.
2011-09-02 14:42:53 +02:00
Stefan Dösinger
6057041deb
ddraw: Make the overlay tests pass on Windows 7.
2011-09-02 14:42:48 +02:00
Stefan Dösinger
e0db367aef
ddraw: Set the viewport after changing the render target.
2011-09-02 14:42:43 +02:00
Stefan Dösinger
5ce2e1f39e
ddraw: Mark DepthFill blit failures between beginScene and EndScene broken.
2011-09-02 14:42:34 +02:00
Stefan Dösinger
2fc534edf2
ddraw: Simplify Z format parsing a bit, remove ERRs.
2011-09-02 14:42:28 +02:00
Francois Gouget
3a9343e520
ddraw/tests: Make enum_z_fmt_cb() static.
2011-09-02 14:42:10 +02:00
Stefan Dösinger
05b3222b39
ddraw: Add a test for DDSD_ZBUFFERBITDEPTH and DDSD_PIXELFORMAT.
2011-08-31 19:43:09 +02:00
Stefan Dösinger
6176eb87de
ddraw: Set dwZBufferBitDepth in old z buffers.
2011-08-31 19:43:09 +02:00
Stefan Dösinger
42b7ad4fd4
ddraw: Convert dwZBufferBitDepth into a DDPIXELFORMAT.
2011-08-31 19:43:09 +02:00
Stefan Dösinger
c42277883a
ddraw: Introduce a function to convert a DDSURFACEDESC2 to a DDSURFACEDESC.
2011-08-31 19:43:09 +02:00
Stefan Dösinger
76fecde8fb
ddraw: Introduce a function to convert a DDSURFACEDESC to a DDSURFACEDESC2.
2011-08-31 19:43:09 +02:00
Stefan Dösinger
167b65ca5e
ddraw: Show that ddraw reads ddsCaps without DDSD_CAPS set.
2011-08-31 19:43:09 +02:00
Henri Verbeet
43ad90ce31
ddraw: Get rid of the ImplType fields in IDirectDrawImpl and IDirectDrawSurfaceImpl.
2011-08-31 19:42:55 +02:00
Henri Verbeet
c89a3ffe80
ddraw: Get rid of the surface implementation switching code.
2011-08-31 19:42:52 +02:00
Henri Verbeet
94ae743ea6
ddraw: Make the OpenGL renderer the default one.
2011-08-31 12:08:02 +02:00
Henri Verbeet
8f46cb6b8b
ddraw: Introduce a separate function for setting the focus window.
2011-08-29 19:42:46 +02:00
Henri Verbeet
93b5f681d9
ddraw: Remove a redundant check from ddraw7_SetCooperativeLevel().
2011-08-29 19:42:41 +02:00
Henri Verbeet
cad9cbe445
ddraw: Trace which surfaces we enumerate in ddraw7_EnumSurfaces().
2011-08-29 19:42:31 +02:00
Stefan Dösinger
899b278558
ddraw: Emulate a 24 bit depth format without stencil or padding.
2011-08-29 13:56:33 +02:00
Stefan Dösinger
caff742d41
ddraw: Trust wined3d to give us what we asked for.
2011-08-29 13:56:17 +02:00
Stefan Dösinger
30d9926a95
ddraw: Don't re-write the surface's pixelformat.
...
The pixelformat is passed in in ddraw form in the desc parameter, which is copied
into the surface's DDSURFACEDESC2 structure, so the format is already set.
2011-08-29 13:56:11 +02:00
Ričardas Barkauskas
bf7df85169
ddraw: Do not create implicit depth buffer.
2011-08-25 11:31:38 +02:00
Stefan Dösinger
138a12545d
ddraw: Correct WINED3DFMT_X8D24_UNORM.
2011-08-24 11:52:07 +02:00
Stefan Dösinger
8e7ff78354
ddraw: Correct WINED3DFMT_D24_UNORM_S8_UINT.
2011-08-24 11:52:07 +02:00
Ričardas Barkauskas
68f3d21f02
ddraw: Print IDirectDrawGammaControl interface reference count for easier debugging.
2011-08-22 17:16:04 +02:00
Ričardas Barkauskas
5c8ad26757
ddraw: Do not AddRef IDirectDraw7 iface in CreateSurface helper.
2011-08-22 17:15:54 +02:00
Ričardas Barkauskas
abf8728e1f
ddraw: Don't allow setting palette on non root surfaces.
2011-08-22 17:15:48 +02:00
Ričardas Barkauskas
1a609ecab8
ddraw/tests: Properly release no longer used interfaces.
2011-08-22 17:15:41 +02:00
Henri Verbeet
831801dd60
ddraw: Remove rectangle validation from ddraw_surface7_BltFast().
...
This is already done by wined3d_surface_blt().
2011-08-05 09:17:43 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Henri Verbeet
92e616f355
ddraw: Remove rectangle validation from ddraw_surface7_Blt().
...
This is already done by wined3d_surface_blt().
2011-08-04 09:04:44 +02:00
Alexandre Julliard
b56dc9a6f7
winecrt0: Remove the clsid parameter in __wine_(un)register_resources.
2011-08-02 20:47:49 +02:00
Frédéric Delanoy
f932abf326
dlls: Assorted spelling fixes.
2011-08-01 18:26:27 +02:00
Ričardas Barkauskas
c1aaacd58c
ddraw: Change IDirect3DTexture2_vtbl to IDirect3DTexture2_iface.
2011-07-29 19:19:32 +02:00
Ričardas Barkauskas
8000fc4e35
ddraw: Rename surface_from_texture2 to impl_from_IDirect3DTexture2.
2011-07-29 19:19:25 +02:00
Ričardas Barkauskas
15f16e8f5e
ddraw: Use unsafe_impl_from_IDirect3DTexture2 for application provided interfaces.
2011-07-29 19:19:11 +02:00
Ričardas Barkauskas
91a1ed8be9
ddraw: COM cleanup for IDirect3DTexture interface.
2011-07-29 19:19:07 +02:00
Ričardas Barkauskas
0a3582865e
ddraw: Use unsafe_impl_from_IDirect3DTexture() for application provided interfaces.
2011-07-29 19:18:59 +02:00
Ričardas Barkauskas
f5c46b01f4
ddraw: Do not increase wined3d texture refcount in IDirect3DDevice7_GetTexture.
2011-07-29 18:47:18 +02:00
Henri Verbeet
2256a7e804
wined3d: wined3d_device_evict_managed_resources() doesn't need a return value.
2011-07-29 12:09:39 +02:00
Matteo Bruni
0c34811612
ddraw/tests: Add a couple of fog tests.
2011-07-28 11:29:02 +02:00
Matteo Bruni
b6af8a7ef9
ddraw/tests: Fix some messages.
2011-07-27 11:53:02 +02:00
Matteo Bruni
2308f4cfda
ddraw/tests: Rename a variable.
2011-07-27 11:52:54 +02:00
Henri Verbeet
e55121773a
ddraw/tests: Add tests to show that resizing the window on mode changes is a property of DDSCL_EXCLUSIVE.
2011-07-22 12:57:19 +02:00
Henri Verbeet
84413298de
ddraw: Resize the window after setting the new display mode.
2011-07-22 12:57:18 +02:00
Henri Verbeet
04d541c26d
ddraw: Just use SetWindowPos() in ddraw_set_display_mode().
...
Instead of going through wined3d_device_restore_fullscreen_window() /
wined3d_device_setup_fullscreen_window(). The main point of those functions is
changing the window styles, but we don't actually need that here. More
importantly, we filter the messages generated by those functions in wined3d,
while tests show that messages generated by SetDisplayMode() /
RestoreDisplayMode() are visible to the application. Applications depend on
WM_SIZE in particular.
2011-07-19 14:05:56 +02:00
Michael Stefaniuc
faa269c42a
ddraw: Use unsafe_impl_from_IDirect3DExecuteBuffer for an app provided iface.
2011-07-08 14:45:23 +02:00
Michael Stefaniuc
663483e16e
ddraw: COM cleanup for the IDirect3DExecuteBuffer iface.
2011-07-08 14:45:19 +02:00