Commit Graph

65 Commits

Author SHA1 Message Date
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 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 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 217516ce79 d3drm: Define NONAMELESSUNION and NONAMELESSSTRUCT 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:42 +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
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 3987417688 d3drm: Store reference to render target in IDirect3DRM*::CreateDeviceFromD3D.
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-12 12:31:04 +09:00
Aaryaman Vasishta 17f80954e3 d3drm: Implement IDirect3DRMViewport*::GetDevice.
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:57:01 -05:00
Francois Gouget 43cf833c5d d3drm: Make d3drm_device_set_ddraw_device_d3d() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-27 22:21:13 +09:00
Aaryaman Vasishta 5fca0a70af d3drm: Implement IDirect3DRMDevice{2-3}::InitFromD3D2.
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-07-19 19:59:31 +09:00
Aaryaman Vasishta 3d343d6eee d3drm: Implement IDirect3DRMDevice*::InitFromD3D.
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-07-19 19:59:31 +09:00
Aaryaman Vasishta 88fc3a3ef5 d3drm: Fix IDirect3DRMDevice{2-3}::GetDirect3DDevice2 return values on failure.
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-07-15 21:34:51 +09:00
Aaryaman Vasishta ce64ef51e2 d3drm: Implement IDirect3DRMDevice*::Add/DeleteDestroyCallback.
Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:12 +09:00
Aaryaman Vasishta 474b6e3e0e d3drm: Rearrange version 1, 2 functions after version 3 for IDirect3DRMDevice*.
Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:11 +09:00
Aaryaman Vasishta 90d97a9346 d3drm: Move struct d3drm_device to d3drm_private.h.
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-07-14 17:40:11 +09:00
Aaryaman Vasishta 44af0bb81b d3drm: Store reference to IDirect3DRM in d3drm_device_create().
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-07-14 17:40:11 +09:00
Aaryaman Vasishta 9729d15a1a d3drm: Fix device not assigning width and height after creation.
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-07-06 00:26:49 +09:00
Aaryaman Vasishta 88f6c2aa2e d3drm/tests: Modify all QI tests to compare vtables.
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 a9bde7f85b d3drm: Fix IDirect3DRMDevice3_QueryInterface returning incorrect HRESULT on unsupported interfaces. 2015-08-21 21:51:10 +09:00
Aaryaman Vasishta d8329ecfa8 d3drm: Add IDirect3DRMObject to be queried from IDirect3DRMDevice*. 2015-08-21 21:51:02 +09:00
Aaryaman Vasishta c453cb7023 d3drm: GetDirect3DDevice2 returns D3DRM_OK when IDirect3DDevice2 is not available. 2015-08-21 21:50:55 +09:00
Aaryaman Vasishta ed1d4f86c3 d3drm: Implement IDirect3DRM{2-3}::CreateDeviceFromD3D. 2015-08-21 21:50:43 +09:00
Aaryaman Vasishta 9603125efc d3drm: Implement IDirect3DRM::CreateDeviceFromD3D. 2015-08-21 21:50:37 +09:00
Aaryaman Vasishta 35b17f50f1 d3drm: Implement IDirect3DRM::CreateDeviceFromSurface. 2015-08-18 14:40:54 +09:00
Aaryaman Vasishta a5d09b6bd7 d3drm: Implement IDirect3DRMDevice{2-3}::GetDirect3DDevice2. 2015-08-18 14:40:50 +09:00
Aaryaman Vasishta 0041c56004 d3drm: Implement IDirect3DRMDevice*::GetDirect3DDevice. 2015-08-18 14:40:43 +09:00
Aaryaman Vasishta 1075d71135 d3drm: Implement IDirect3DRM::CreateDeviceFromClipper. 2015-08-18 14:40:40 +09:00
Aaryaman Vasishta b6f197c7a8 d3drm: Add helper for destroying device. 2015-08-18 14:40:30 +09:00
Aaryaman Vasishta f421e78bc5 d3drm: Change signature of d3drm_device_create. 2015-08-18 14:40:25 +09:00
Francois Gouget 7e1e3a4d6d d3drm: Fix a trailing '\n' in a TRACE(). 2015-08-07 23:44:34 +09:00
Aaryaman Vasishta e1e614d180 d3drm: Add stubs for IDirect3DRMDevice methods. 2015-07-22 17:41:36 +02:00
Aaryaman Vasishta d06bc848f5 d3drm: Thunk relevant IDirect3DRMDevice2 stubs to version 3. 2015-07-22 17:41:33 +02:00
Aaryaman Vasishta 8184f5f68f d3drm: Move QueryInterface from device2->device3. 2015-07-13 22:08:18 +09:00
Aaryaman Vasishta 0339e57f32 d3drm: Move Release from device2->device3. 2015-07-13 22:07:07 +09:00
Aaryaman Vasishta ee6004ce0c d3drm: Move AddRef from device2->device3. 2015-07-13 22:06:59 +09:00
Henri Verbeet c5f03c3933 d3drm: Get rid of some incorrect comments. 2015-03-20 21:32:27 +09:00
Henri Verbeet 0160b9a385 d3drm: Get rid of the IDirect3DRMDeviceImpl typedef. 2013-10-07 14:44:35 +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
Henri Verbeet 31f9cae2bd d3drm: Avoid LPDIRECT3DRMVIEWPORTARRAY. 2013-06-05 17:31:39 +02:00
Michael Stefaniuc 5ef8a8b2f2 d3drm: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-08 10:44:31 +01:00
Henri Verbeet bb163ef0b9 d3drm: Avoid LPDDPIXELFORMAT. 2013-01-22 12:13:35 +01:00
Henri Verbeet 4904156946 d3drm: Avoid LPDIRECT3DDEVICE. 2012-11-21 13:25:50 +01:00
Henri Verbeet 55ee76431c d3drm: Avoid LPDIRECT3DDEVICE2. 2012-11-21 13:25:45 +01:00
Henri Verbeet 0a7e2accc4 d3drm: Avoid LPDIRECTDRAWCLIPPER. 2012-11-20 11:44:16 +01:00
Henri Verbeet 34dd6ff2e4 d3drm: Avoid LPDIRECTDRAWSURFACE. 2012-11-20 11:44:11 +01:00