Commit Graph

97 Commits

Author SHA1 Message Date
Alexandre Julliard c70e8b64ab d3drm: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
Henri Verbeet 8cfa75f176 d3drm: Use the global memory allocation helpers.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-09 09:19:21 +01:00
Nikolay Sivov 671ac168e2 d3drm: Use existing helper to manage visuals array.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:51:11 +02:00
Nikolay Sivov 0459a3273d d3drm: Use existing helper to manage lights array.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:51:10 +02:00
Nikolay Sivov b3903a1377 d3drm: Use existing helper to manage child frames array.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:51:10 +02:00
Nikolay Sivov 2f2e5b998a d3drm: Implement DeleteKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-07 09:08:23 +02:00
Nikolay Sivov 6704fc8b20 d3drm: Initial support for storing animation keys.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-07 09:08:19 +02:00
Nikolay Sivov 3276e7eebe d3drm: Store frame traversal options.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-04 19:47:48 +02:00
Nikolay Sivov 9ba36da711 d3drm: Use AddKey() method internally to add all types of keys.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 10:47:05 +02:00
Nikolay Sivov 1f38c0b165 d3drm: Store animation options.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 11:29:36 +02:00
Nikolay Sivov 9b35d5c6d4 d3drm: Store animated frame pointer in animation object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 19:14:51 +02:00
Nikolay Sivov 7fd7f6557e d3drm: Added IDirect3DRMAnimation stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-23 19:45:31 +02:00
Nikolay Sivov 4e258f2985 d3drm: Implement appdata property for the rest of objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 14:19:30 +02:00
Nikolay Sivov e2090c5c6d d3drm: Implement object name property.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 14:19:28 +02:00
Nikolay Sivov 02c085e313 d3drm: Make it possible to create frames with CreateObject().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-12 13:50:09 +02:00
Nikolay Sivov 12967d88e5 d3drm: Consolidate GetClassName() implementation, reduce tests duplication.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:47:19 +02:00
Henri Verbeet 601a847a32 d3drm: Cleanup the includes.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-10 16:30:01 +01:00
Henri Verbeet 2bdc13efc6 d3drm: Define COBJMACROS in d3drm_private.h.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-10 16:29:30 +01:00
Henri Verbeet 060ea15ae2 d3drm: Introduce d3drm_set_color().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-10 16:29:15 +01:00
Nikolay Sivov bd592609e7 d3drm: Remove stub messages for implemented methods TRACEs.
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-10-26 15:21:06 +02:00
Aaryaman Vasishta be90480c3c d3drm: Implement IDirect3DRMFrame*::GetScene.
Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-16 22:39:00 +09:00
Aaryaman Vasishta 74b27abb63 d3drm: Implement IDirect3DRMViewport*::Init.
Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-01 09:56:46 -05:00
Aaryaman Vasishta e6feb9b031 d3drm: Fix frame object creation method.
Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 00:23:55 +09:00
Aaryaman Vasishta e6f11af272 d3drm: Add stubs for IDirect3DRMFrame interface.
Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 00:23:55 +09:00
Aaryaman Vasishta ad1d0f4f15 d3drm: Rearrange version 2 functions after version 3 for IDirect3DRMFrame*.
Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 00:23:54 +09:00
Nikolay Sivov f6689b6ce2 d3drm: Avoid HRESULT codes for BOOL retval methods (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 22:19:18 +09:00
Aaryaman Vasishta dbee90a728 d3drm: Move Release from frame2->frame3. 2015-04-30 16:50:09 +09:00
Aaryaman Vasishta 1e3737f152 d3drm: Move AddRef from frame2->frame3. 2015-04-30 16:50:04 +09:00
Aaryaman Vasishta b8b7a72f26 d3drm: Move QueryInterface from frame2->frame3. 2015-04-30 16:49:58 +09:00
Aaryaman Vasishta 1b1d77268f d3drm: Add more interfaces to be queried from IDirect3DRMFrame2::QueryInterface. 2015-04-10 17:13:17 +09:00
Aaryaman Vasishta 415b7c1fec d3drm: Fix IDirect3DRMFrame2::QueryInterface returning incorrect HRESULT. 2015-04-10 17:13:13 +09:00
Aaryaman Vasishta bb83e30635 d3drm: Fix hard-coded HRESULT return in Direct3DRMFrame_create. 2015-03-31 00:04:44 +09:00
Andrey Gusev e7f0a8a081 Assorted spelling and typos fixes. 2014-01-27 17:00:11 +01:00
Henri Verbeet 7dc0738911 d3drm: Initialize the actual array in d3drm_light_array_create() as well. 2013-10-28 14:22:41 +01:00
Henri Verbeet c0d05d9f4f d3drm: Initialize the actual array in d3drm_visual_array_create() as well. 2013-10-28 14:22:38 +01:00
Henri Verbeet bf235a6669 d3drm: Initialize the actual array in d3drm_frame_array_create() as well. 2013-10-28 14:22:36 +01:00
Marcus Meissner 8431e75af3 d3drm: Added some freeing of memory in error paths (Coverity). 2013-10-14 10:48:23 +02:00
Henri Verbeet 34548b4dfe d3drm: Get rid of the IDirect3DRMFrameImpl typedef. 2013-10-11 11:06:25 +02:00
Henri Verbeet 666c6b36f1 d3drm: Get rid of the IDirect3DRMFrameArrayImpl typedef. 2013-10-11 11:06:23 +02:00
Henri Verbeet 3ffd998c46 d3drm: Get rid of the IDirect3DRMVisualArrayImpl typedef. 2013-10-10 10:45:05 +02:00
Henri Verbeet cb49cff060 d3drm: Introduce impl_from_IDirect3DRMFrameArray(). 2013-10-10 10:45:02 +02:00
Henri Verbeet 44f5d4bd64 d3drm: Introduce impl_from_IDirect3DRMVisualArray(). 2013-10-09 11:11:11 +02:00
Henri Verbeet cd16932bf3 d3drm: Compare with the correct IID in IDirect3DRMVisualArrayImpl_QueryInterface(). 2013-10-09 11:11:09 +02:00
Henri Verbeet e9f2fce16b d3drm: Get rid of the IDirect3DRMLightArrayImpl typedef. 2013-10-08 09:09:09 +02:00
Henri Verbeet 7a0390d85a d3drm: Avoid VOID. 2013-09-23 20:38:18 +02:00
Henri Verbeet 39991e759a d3drm: Avoid LPDWORD. 2013-09-10 11:10:14 +02:00
Henri Verbeet 16c48f9d84 d3drm: Avoid LPVOID. 2013-09-09 22:09:58 +02:00
Henri Verbeet a9f3bc43e5 d3drm: Avoid LPSTR. 2013-09-09 22:09:58 +02:00
Henri Verbeet 75deeb4589 d3drm: Avoid LPCSTR. 2013-09-06 12:00:26 +02:00
Henri Verbeet be6b54f52f d3drm: Avoid LPUNKNOWN. 2013-08-20 11:50:41 +02:00