Commit Graph

73 Commits

Author SHA1 Message Date
Francois Gouget b035f5c74c ddrawex: Tweak the createDD() name to make CodeSpell happy.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-09 16:25:56 +02:00
Alexandre Julliard e432e4c296 ddrawex: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 08:48:22 +02:00
Henri Verbeet 71c2c2dad2 ddrawex: Use the global memory allocation helpers.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 15:33:09 +01:00
Amine Khaldi 21bfc8c440 include: Correct DDSCAPS2 and DDSURFACEDESC2 structures and their uses. 2015-03-02 23:00:32 +09:00
Stefan Dösinger 28850ae5f8 ddrawex: Don't leak surfaces.
dds_get_outer AddRefs the inner surface when it creates the wrapper
surface. The wrapper releases only one reference when it is destroyed,
leaking one of the two. AddRefing in dds_get_outer makes sense because
this is also used by e.g. GetAttachedSurface, where it creates a new
wrapper for surfaces ddrawex didn't know about yet.
2014-09-04 20:21:03 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
André Hentschel ef6cc1a282 ddrawex/tests: Don't crash when IDirectDraw4 query fails. 2013-11-27 10:53:55 +01:00
Henri Verbeet 8c97327da6 ddrawex: Get rid of the IDirectDrawSurfaceImpl typedef. 2013-11-12 14:16:03 +01:00
Henri Verbeet 38b4364ce4 ddrawex: Get rid of the IDirectDrawImpl typedef. 2013-11-12 14:15:28 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Henri Verbeet b9e1bcb7f6 ddrawex: Get rid of the IDirectDrawFactoryImpl typedef. 2013-11-04 11:05:56 +01:00
Henri Verbeet ec37ac6f20 ddrawex: Get rid of the IClassFactoryImpl typedef. 2013-11-04 11:05:54 +01:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Henri Verbeet 545f83bc8f ddrawex: Avoid LPVOID. 2013-09-12 10:59:24 +02:00
Henri Verbeet 5cea0f122c ddraw: Avoid LPDDOVERLAYFX. 2012-12-10 11:25:41 +01:00
Michael Stefaniuc 715372be62 ddrawex: COM cleanup for the IDirectDrawSurface4 iface. 2012-08-17 16:25:37 +02:00
Michael Stefaniuc 8ad17a79f0 ddrawex: Forward to the wrapped surface instead of recursing forever. 2012-08-17 16:25:30 +02:00
Michael Stefaniuc 9aba74a8f3 ddrawex: Rename impl_from_dds4 to impl_from_IDirectDrawSurface4. 2012-08-17 16:25:26 +02:00
Michael Stefaniuc f452057ef6 ddrawex: Get rid of dds_get_inner(). 2012-08-17 16:25:18 +02:00
Michael Stefaniuc cb1248da33 ddrawex: Use unsafe_impl_from_IDirectDrawSurface4() for application provided ifaces. 2012-08-17 16:25:14 +02:00
Henri Verbeet 13f483a2a2 ddrawex: Don't return a pointer to the implementation in IDirectDrawClassFactoryImpl_QueryInterface(). 2012-04-05 14:51:33 +02:00
Henri Verbeet d8d89887d1 ddrawex: Don't return a pointer to the implementation in IDirectDrawFactoryImpl_QueryInterface(). 2012-04-05 14:51:33 +02:00
André Hentschel b5ba054ce8 Assorted header comment cleanup. 2012-01-04 19:35:13 +01:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Michael Stefaniuc 04f57b9b0c ddrawex/tests: Use FAILED instead of !SUCCEEDED. 2011-07-19 18:26:20 +02:00
Marcus Meissner a6b714d082 ddrawex: Remove superflous NULL checks, add error skips (Coverity). 2011-06-27 13:28:05 -05:00
Marcus Meissner 71673dc8f9 ddrawex: Mark internal symbols as hidden and vtables as static. 2011-05-16 16:35:32 +02:00
Michael Stefaniuc e415b3828b ddrawex: COM cleanup for the IDirectDrawSurface3 iface. 2011-01-25 12:37:53 +01:00
Michael Stefaniuc 3d559eb11e ddrawex: Rename impl_from_dds3() to impl_from_IDirectDrawSurface3(). 2011-01-25 12:37:52 +01:00
Michael Stefaniuc 1cce3d6854 ddrawex: Use unsafe_impl_from_IDirectDrawSurface3() for application provided ifaces. 2011-01-25 12:37:52 +01:00
Michael Stefaniuc 3a95fe8476 ddrawex: COM cleanup for the IDirectDraw4 iface. 2011-01-24 14:43:24 +01:00
Michael Stefaniuc eb850bf522 ddrawex: Rename impl_from_dd4() to impl_from_IDirectDraw4(). 2011-01-24 14:43:24 +01:00
Michael Stefaniuc 3f7a060c37 ddrawex: COM cleanup for the IDirectDraw3 iface. 2011-01-24 14:43:23 +01:00
Michael Stefaniuc 9b77bdff54 ddrawex: COM cleanup for the IDirectDraw2 iface. 2011-01-24 14:43:23 +01:00
Michael Stefaniuc 8003b48421 ddrawex: COM cleanup for the IDirectDraw iface. 2011-01-24 14:43:23 +01:00
Michael Stefaniuc 0b9cfcfcc9 ddrawex: COM cleanup for the IDirectDrawFactory iface. 2011-01-24 14:43:23 +01:00
Michael Stefaniuc 3799ad3482 ddrawex: COM cleanup for the IClassFactory iface. 2011-01-24 14:43:23 +01:00
Alexandre Julliard d3bb2ee811 ddrawex: Convert dll registration to the IRegistrar mechanism. 2010-12-07 12:37:09 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Paul Vriens 9a787f7021 ddrawex/tests: Don't crash on Windows 95. 2010-04-08 12:28:58 +02:00
Paul Vriens d82bd17dd1 ddrawex/tests: Don't crash on some Win98/WinMe boxes. 2010-03-31 11:35:57 +02:00
Henri Verbeet d14b7e6a32 ddrawex/tests: Add some tests for GetSurfaceFromDC(). 2010-03-29 15:51:15 +02:00
Henri Verbeet d38f535c05 ddrawex: Correctly retrieve the "outer" surface in IDirectDraw3Impl_GetSurfaceFromDC(). 2010-03-29 15:51:11 +02:00
Henri Verbeet 6ae96807c0 ddrawex: Directly return the ddraw surface in IDirectDraw4Impl_GetSurfaceFromDC(). 2010-03-29 15:51:02 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00