Commit Graph

424 Commits

Author SHA1 Message Date
Aaryaman Vasishta 858ea7a76e d3drm/tests: Add QueryInterface tests for IDirect3DRMTexture*.
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-01-22 01:26:16 +09:00
Aaryaman Vasishta 47913f1c1c d3drm: Fix QueryInterface for IDirect3DRMTexture*.
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-01-22 01:26:16 +09:00
Aaryaman Vasishta 889176b9d2 d3drm/tests: Add texture loading tests.
Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-17 15:39:57 +09:00
Bernhard Übelacker 669a49e1a2 d3drm/tests: Add missing DestroyWindow.
Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-16 21:18:25 +09:00
Nikolay Sivov 175e68fe05 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:20:30 +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 9eb5361d5a d3drm: Add stubs for IDirect3DRMTexture methods. 2015-08-25 21:09:36 +09:00
Aaryaman Vasishta a883c6207d d3drm: Thunk relevant texture methods from version 2->3. 2015-08-25 21:09:34 +09:00
Aaryaman Vasishta 895e4a1f66 d3drm: Thunk IDirect3DRMTexture2::QueryInterface to version 3. 2015-08-25 21:09:30 +09:00
Aaryaman Vasishta ed411d9701 d3drm: Thunk IDirect3DRMTexture2::Release to version 3. 2015-08-25 21:09:26 +09:00
Aaryaman Vasishta 0c06bb7a81 d3drm: Thunk IDirect3DRMTexture2::AddRef to version 3. 2015-08-25 21:09:23 +09:00
Aaryaman Vasishta 48891483f5 d3drm/tests: Add QueryInterface tests for IDirect3DRMDevice*. 2015-08-21 21:51:15 +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 27f7174d71 d3drm: Implement IDirect3DRM{2-3}::CreateDeviceFromSurface. 2015-08-18 14:40:56 +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 27cc84d143 d3drm: Implement IDirect3DRM{2-3}::CreateDeviceFromClipper. 2015-08-18 14:40:46 +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 f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Francois Gouget 7e1e3a4d6d d3drm: Fix a trailing '\n' in a TRACE(). 2015-08-07 23:44:34 +09:00
Aaryaman Vasishta 59e41ab912 d3drm/tests: Add version specific tests for CreateDeviceFrom* methods. 2015-07-30 23:50:43 +02: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 9939ac8fe0 d3drm/tests: Fix leaks while creating device in tests (Valgrind). 2015-07-17 17:03:22 +09: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
Alistair Leslie-Hughes 3981205c56 d3drm: Add DllCanUnloadNow, DllGetClassObject stubs. 2015-07-07 20:31:53 +09:00
Aaryaman Vasishta c023558b39 d3drm/tests: Add test for IDirect3DRM*::CreateDeviceFromD3D. 2015-07-06 18:42:45 +09:00
Aaryaman Vasishta 65b07a6550 d3drm/tests: Add test for IDirect3DRM*::CreateDeviceFromSurface. 2015-07-06 18:42:41 +09:00
Aaryaman Vasishta 388da78edc d3drm: Fix function signature for IDirect3DRM3::CreateDeviceFromSurface. 2015-07-02 13:48:48 +09:00
Aaryaman Vasishta c20e016eb2 d3drm/tests: Add test for IDirect3DRM*::CreateDeviceFromClipper. 2015-06-30 20:52:23 +09:00
Henri Verbeet e2e1ac2bf6 d3drm/tests: Release the material after a GetGroupMaterial() call in test_MeshBuilder() (Valgrind). 2015-05-04 21:19:00 +09:00
Henri Verbeet e723d2a079 d3drm: Also validate face indices against the vertex count in load_mesh_data() (Valgrind). 2015-05-04 21:18:56 +09:00
Aaryaman Vasishta 33160f5221 d3drm/tests: Remove TODO's from test_qi and TODO field from test tables. 2015-05-04 20:10:40 +09:00
Aaryaman Vasishta 844ce49717 d3drm: Fix refcounting for IDirect3DRM{1-3}. 2015-05-04 20:10:30 +09:00
Henri Verbeet 23f0e97071 d3drm: Release the child object after we're done with it in load_mesh_data() (Valgrind). 2015-05-01 15:17:24 +09:00
Henri Verbeet 90239052ab d3drm: Release the child object after we're done with it in load_data() (Valgrind). 2015-05-01 15:17:21 +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 223f367bee d3drm/tests: Add QueryInterface tests for IDirect3DRMFrame{1-3}. 2015-04-17 17:34:27 +09:00
Aaryaman Vasishta 5bbbf0aeb4 d3drm/tests: Make get_refcount return ULONG instead of int. 2015-04-17 17:34:24 +09:00