Commit Graph

440 Commits

Author SHA1 Message Date
Aaryaman Vasishta 2fe8e29140 d3drm/tests: Add tests for IDirect3DRMTexture{2-3}_InitFromImage.
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-04-26 21:35:50 +09:00
Aaryaman Vasishta c64ce8cdbb d3drm/tests: Replace test_Texture.
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-04-26 21:35:46 +09:00
Aaryaman Vasishta e5e499d399 d3drm: Use ref and appdata from d3drm_object in d3drm_texture.
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-04-25 18:48:19 +09:00
Aaryaman Vasishta 93c2196189 d3drm: Use sizeof instead of strlen in d3drm_texture3_GetClassName.
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-04-25 18:48:19 +09:00
Aaryaman Vasishta c44d9dad3f d3drm: Implement IDirect3DRM*::CreateObject.
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-04-21 19:02:59 +09:00
Aaryaman Vasishta 460af458fd d3drm: Implement Add/Delete destroy callbacks 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-04-19 21:25:42 +09:00
Aaryaman Vasishta e62475b0f1 d3drm/tests: Add tests for IDirect3DRMObject::Add/DeleteDestroyCallback.
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-04-12 22:22:35 +09:00
Aaryaman Vasishta 0e6578d16b d3drm/tests: Add tests for IDirect3DRM*::CreateObject.
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-04-12 22:22:31 +09:00
Bernhard Übelacker 82f59928d4 d3drm/tests: Release two retrieved interfaces to allow proper cleanup.
Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 19:48:55 +09:00
Aaryaman Vasishta b05b96a0e2 d3drm: Move struct d3drm_texture to header for global access.
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-03-22 23:51:30 +09:00
Henri Verbeet d868f85ee8 d3drm/tests: Properly initialise context.obj in test_Viewport().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 12:19:45 +09:00
Michael Stefaniuc 62277fb777 d3drm: Use debugstr_a to print a string that can be NULL.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 22:24:50 +09:00
Nikolay Sivov d5d1a288e9 d3drm: Remove first found callback, not all of them.
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-03-04 20:54:42 +09:00
Nikolay Sivov 45743b4d9f d3drm: Implement AddDestroyCallback/DeleteDestroyCallback for a viewport.
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-03-03 22:29:01 +09:00
Nikolay Sivov b54afbc3a1 d3drm: Support IDirect3DRMObject in viewport QI.
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-03-03 21:36:03 +09:00
Nikolay Sivov 7cf81baca4 d3drm: Implement SetAppData/GetAppData for a viewport.
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-03-02 23:30:27 +09:00
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