Józef Kucia
c3da067216
ddraw: Avoid passing invalid device type to wined3d.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:31 +02:00
Michael Stefaniuc
27ef844bd1
ddraw: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 12:40:54 +01:00
Henri Verbeet
9cc7c6e99f
ddraw: Use the global memory allocation helpers.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 20:23:26 +01:00
Henri Verbeet
1a14a6efd5
ddraw: Avoid destroying ddraw objects from DllMain().
...
It's not clear we're supposed to clean up after the application like this, and
it seems questionable whether it makes things better in general.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-01 10:29:18 +01:00
Henri Verbeet
ebcf5196fc
ddraw: Implement GetSurfaceFromDC().
...
Many thanks to Dmitry Timoshkov for helping figure this out.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-10 21:29:40 +01:00
Henri Verbeet
31fcbb6bf2
ddraw: Kill stray tabs.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 11:25:53 +01:00
Nikolay Sivov
a4fabd283d
ddraw: Fix its vs it's typos.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 06:08:44 -05:00
Henri Verbeet
af196e5f25
dxgi: Implement dxgi_output_GetDesc().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 13:21:47 +09:00
Nikolay Sivov
b2855505b9
ddraw: Use proper prototype for internal enumeration callback (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:19 +09:00
Matteo Bruni
b963c73abb
wined3d: Introduce D3D7+ normal matrix computation.
2015-04-24 19:07:52 +09:00
Henri Verbeet
94967c28b9
wined3d: Add support for half-integer pixel centers.
...
Like in OpenGL and Direct3D 10+.
2015-03-30 19:10:29 +09:00
Henri Verbeet
1dea0c1d67
ddraw: Get rid of some comments in the middle of the copyright headers.
2015-03-20 21:32:21 +09:00
Erich E. Hoover
3d5fe2074e
ddraw: Fix inverted logic for enumerating secondary devices.
2014-12-11 16:41:05 +01:00
Stefan Dösinger
938529e1f9
wined3d: Remove the version parameter.
2014-03-20 19:04:37 +01:00
Henri Verbeet
c7d05d2d60
ddraw: Pass the monitor to the callback in ddraw_enumerate_secondary_devices().
2014-01-10 12:06:22 +01:00
Erich E. Hoover
eba5132bfa
ddraw: Make DirectDrawEnumerateEx report the driver description.
2014-01-09 17:39:57 +01:00
Erich E. Hoover
639f9335c2
ddraw: Make DirectDrawEnumerateEx only enumerate secondary display devices when requested.
2014-01-09 17:39:56 +01:00
Henri Verbeet
ff3014221e
ddraw: Use GET_MODULE_HANDLE_EX_FLAG_PIN.
2013-10-30 11:21:32 +01:00
Henri Verbeet
73a0327487
ddraw: Avoid LPBYTE.
2013-09-11 09:59:06 +02:00
Henri Verbeet
87ef65ab7b
ddraw: Avoid LPVOID.
2013-09-11 09:59:04 +02:00
Henri Verbeet
9ccced6f41
ddraw: Get rid of get_config_key().
2013-09-11 09:58:55 +02:00
Henri Verbeet
e4816996c3
ddraw: Handle the "DirectDrawRenderer" registry key in wined3d.
2013-05-30 10:57:08 +02:00
Alexandre Julliard
0ad26e27f3
ddraw: Don't bother to unregister classes at process exit.
2013-05-14 11:31:31 +02: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
56b256cb77
ddraw: Update DefaultSurfaceType if we had to fallback to a wined3d object without 3D support.
2013-01-16 12:22:48 +01:00
Henri Verbeet
7595a58085
ddraw: Explicitly create a wined3d object without 3D capabilities when creating a normal wined3d object fails.
2013-01-14 11:01:53 +01:00
Henri Verbeet
99daff8f03
ddraw: Avoid LPDIRECTDRAW.
2012-11-08 15:37:46 +01:00
Erich Hoover
b0cefe897c
ddraw: Enumerate wined3d interfaces with DirectDrawEnumerateEx.
2012-09-18 18:02:41 +02:00
Erich Hoover
83b02573cc
ddraw: Convert calls to DirectDrawEnumerate into DirectDrawEnumerateEx.
2012-09-18 18:01:52 +02:00
Henri Verbeet
f95f466060
ddraw: Prevent ddraw from being unloaded.
2012-06-28 18:52:29 +02:00
Henri Verbeet
9fd2d34d68
ddraw: Get rid of IClassFactoryImpl.
2012-04-26 19:26:11 +02:00
Henri Verbeet
2071026acd
ddraw: Don't return a pointer to the implementation in IDirectDrawClassFactoryImpl_QueryInterface().
2012-03-14 11:48:41 +01:00
Henri Verbeet
5f43cd2631
ddraw: Get rid of IDirectDrawSurfaceImpl.
2012-03-12 10:44:01 +01:00
Henri Verbeet
1cee1891fd
ddraw: Get rid of IDirectDrawImpl.
2012-03-09 11:32:35 +01:00
Henri Verbeet
3769afa33d
wined3d: Get rid of the WINED3DSURFTYPE typedef.
2012-01-20 13:31:33 +01:00
Henri Verbeet
67bca436ee
wined3d: Get rid of the WINED3DDEVTYPE typedef.
2011-12-13 18:58:58 +01:00
Henri Verbeet
9d55388156
ddraw: Destroy the swapchain after the D3D device in DllMain().
2011-12-12 10:20:41 +01:00
Henri Verbeet
05acde9cd1
ddraw: Just read the actual reference counts in DestroyCallback().
2011-12-07 17:49:55 +01:00
Henri Verbeet
ecb2859d3c
ddraw: Destroy the swapchain in the DllMain() cleanup handler.
...
This is mostly to make sure there aren't any resources still being referenced
by wined3d.
2011-12-07 17:49:55 +01:00
Henri Verbeet
a2963b662c
ddraw: Use wined3d_mutex_lock() / wined3d_mutex_unlock() for locking.
2011-11-14 15:25:21 +01:00
Marcus Meissner
b08d4f597a
ddraw: Lowercase variable names to fix a incorrect sizeof() (Coverity).
2011-10-18 15:17:49 +02:00
Ričardas Barkauskas
472a8f7a67
ddraw: COM cleanup for IDirect3DDevice7 interface.
2011-10-17 18:24:58 +02:00
Henri Verbeet
ec04f80cf6
ddraw: Implement ddraw7_Initialize().
2011-09-19 17:56:05 +02:00
Henri Verbeet
feb96511a9
ddraw: Get rid of IDirectDraw3.
2011-09-19 17:56:05 +02:00
Henri Verbeet
f60b54d952
ddraw: Get rid of the surfaces field in IDirectDrawImpl.
2011-09-15 15:41:40 +02:00
Henri Verbeet
94ae743ea6
ddraw: Make the OpenGL renderer the default one.
2011-08-31 12:08:02 +02:00
Ričardas Barkauskas
68f3d21f02
ddraw: Print IDirectDrawGammaControl interface reference count for easier debugging.
2011-08-22 17:16:04 +02:00
Alexandre Julliard
b56dc9a6f7
winecrt0: Remove the clsid parameter in __wine_(un)register_resources.
2011-08-02 20:47:49 +02:00
Ričardas Barkauskas
5f6d7021aa
ddraw: Separate IDirectDrawSurface and IDirectDrawSurface7 reference counts.
2011-06-28 11:57:50 -05:00
Ričardas Barkauskas
9190d349d2
ddraw: Separate IDirectDrawSurface4 reference count.
2011-06-28 11:57:50 -05:00