Commit Graph

522 Commits

Author SHA1 Message Date
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
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
Marcus Meissner 369cf7118b d3drm: Avoid potential double free (Coverity). 2015-04-07 15:16:46 +09:00
Aaryaman Vasishta bb83e30635 d3drm: Fix hard-coded HRESULT return in Direct3DRMFrame_create. 2015-03-31 00:04:44 +09:00
Michael Stefaniuc 8abed244a2 d3drm/tests: Test the correct return code. 2015-03-30 19:10:30 +09:00
Henri Verbeet c5f03c3933 d3drm: Get rid of some incorrect comments. 2015-03-20 21:32:27 +09:00
Aaryaman Vasishta b436b4b2b9 d3drm/tests: Remove dynamic loading in vector.c. 2015-03-18 23:59:27 +09:00
Aaryaman Vasishta 57281caa23 d3drm/tests: Remove dynamic loading in d3drm.c. 2015-03-18 23:59:23 +09:00
Aaryaman Vasishta 6c0f864c0f d3drm/tests: Add tests for invalid interfaces in IDirect3DRM::QueryInterface. 2015-03-18 23:59:16 +09:00
Aaryaman Vasishta c3c9cd1e1f d3drm: Fix IDirect3DRM::QueryInterface returning incorrect HRESULT on unsupported interfaces. 2015-03-18 23:58:06 +09:00
Aaryaman Vasishta cb1e856612 d3drm/tests: Add tests for querying between IDirect3DRM interfaces. 2015-03-17 23:50:30 +09:00
Francois Gouget f289bab06a d3drm: Mark internal symbols with hidden visibility. 2015-03-17 14:18:31 +09:00
Michael Stefaniuc dcba8edba6 d3drm: Remove an unused assignment (PVS-Studio). 2015-01-13 19:54:03 +01:00
Michael Stefaniuc 0726542ded d3drm: Pass the correct pointer to IDirectXFileData_GetData (PVS-Studio).
Also remove an uneeded initialization of "size" as that is purely an
[OUT] parameter.
2014-10-30 23:09:09 +09:00
Nikolay Sivov 023e885156 d3drm/tests: Release frame instance (Valgrind). 2014-06-16 09:30:29 +02:00
Alexandre Julliard 7d3559bfe9 dxguid: Remove some symbols that aren't exported in native. 2014-04-24 12:41:38 +02:00
Andrey Gusev e7f0a8a081 Assorted spelling and typos fixes. 2014-01-27 17:00:11 +01: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
Frédéric Delanoy 464110b1cb d3drm/tests: Use BOOL type where appropriate. 2013-11-08 12:46:27 +01:00
Henri Verbeet 59dd66df2e d3drm: Get rid of the IDirect3DRMViewportImpl typedef. 2013-11-01 10:53:18 +01:00
Henri Verbeet 08eef6dad2 d3drm: Get rid of the IDirect3DRMTextureImpl typedef. 2013-11-01 10:53:16 +01:00
Henri Verbeet c35485d627 d3drm: Get rid of the IDirect3DRMMeshBuilderImpl typedef. 2013-10-31 09:58:44 +01:00
Henri Verbeet 22d40f0305 d3drm: Get rid of the mesh_material typedef. 2013-10-31 09:58:44 +01:00
Henri Verbeet 71168d9dcc d3drm: Get rid of the Coords2d typedef. 2013-10-30 11:21:32 +01:00
Henri Verbeet 64a778848f d3drm: Get rid of the IDirect3DRMMeshImpl typedef. 2013-10-30 11:21:32 +01:00
Henri Verbeet ff08d70f4a d3drm: Get rid of the mesh_group typedef. 2013-10-29 10:34:22 +01:00
Henri Verbeet 0365d7a93b d3drm: Get rid of the color_rgb typedef. 2013-10-29 10:34:21 +01:00
Henri Verbeet 687e5cd330 d3drm: Get rid of the IDirect3DRMMaterialImpl typedef. 2013-10-28 14:22:46 +01:00
Henri Verbeet f4ca38eded d3drm: Get rid of the IDirect3DRMLightImpl typedef. 2013-10-28 14:22:43 +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 7320f3b87e d3drm: Get rid of the IDirect3DRMFaceImpl typedef. 2013-10-08 09:09:06 +02:00
Henri Verbeet 0160b9a385 d3drm: Get rid of the IDirect3DRMDeviceImpl typedef. 2013-10-07 14:44:35 +02:00
Henri Verbeet 3dffb34f7c d3drm: Get rid of the IDirect3DRMImpl typedef. 2013-10-07 14:44:35 +02:00
Henri Verbeet 13e3219c2f d3drm: Get rid of the Header typedef. 2013-10-04 12:45:26 +02:00
Henri Verbeet 7a0390d85a d3drm: Avoid VOID. 2013-09-23 20:38:18 +02:00
Henri Verbeet 4b772c2cf2 d3drm: Avoid LPRECT. 2013-09-10 11:10:17 +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 19b8ba0cb9 d3drm: Avoid LPDIRECTXFILEDATA. 2013-08-20 11:50:38 +02:00
Henri Verbeet db2d54ffd0 d3drm: Avoid LPDIRECTXFILEENUMOBJECT. 2013-08-19 12:53:21 +02:00
Henri Verbeet 34743e7044 d3drm: Avoid LPDIRECTXFILE. 2013-08-19 12:53:21 +02:00
Henri Verbeet d7e052f8f1 d3drm/tests: Avoid LPDIRECT3DRMWINDEVICE. 2013-08-16 11:55:24 +02:00
Henri Verbeet c635b2fc7d d3drm: Avoid LPDIRECT3DRMPROGRESSIVEMESH. 2013-08-16 11:55:24 +02:00
Henri Verbeet ee6734e848 d3drm: Avoid LPDIRECT3DRMLIGHTARRAY. 2013-08-15 16:24:13 +02:00
Henri Verbeet cf3053f504 d3drm: Avoid LPDIRECT3DRMPICKEDARRAY. 2013-08-15 16:24:11 +02:00
Henri Verbeet 861b1053e2 d3drm: Avoid LPDIRECT3DRMVISUALARRAY. 2013-06-06 11:47:26 +02:00
Henri Verbeet 8c882f6819 d3drm: Avoid LPDIRECT3DRMFRAMEARRAY. 2013-06-05 17:31:40 +02:00
Henri Verbeet 31f9cae2bd d3drm: Avoid LPDIRECT3DRMVIEWPORTARRAY. 2013-06-05 17:31:39 +02:00
Henri Verbeet d6ac5a4b88 d3drm: Avoid LPDIRECT3DRMFACEARRAY. 2013-06-04 10:14:45 +02:00
Henri Verbeet 8550e69af0 d3drm: Avoid LPDIRECT3DRMDEVICEARRAY. 2013-06-04 10:14:43 +02:00
Henri Verbeet 97bc1eb389 d3drm: Avoid LPDIRECT3DRMUSERVISUAL. 2013-06-03 11:30:47 +02:00
Henri Verbeet 007d50e983 d3drm: Avoid LPDIRECT3DRMANIMATIONSET2. 2013-05-31 11:57:54 +02:00
Henri Verbeet 78afa17fbe d3drm: Avoid LPDIRECT3DRMANIMATIONSET. 2013-05-31 11:57:52 +02:00
Henri Verbeet 85f83800e3 d3drm: Avoid LPDIRECT3DRMANIMATION2. 2013-05-30 10:57:21 +02:00
Henri Verbeet eff68af5a0 d3drm: Avoid LPDIRECT3DRMANIMATION. 2013-05-30 10:57:19 +02:00
Henri Verbeet 735e69f94e d3drm: Avoid LPDIRECT3DRMMATERIAL2. 2013-05-29 12:12:33 +02:00
Henri Verbeet 19a519e90a d3drm: Avoid LPDIRECT3DRMMATERIAL. 2013-05-28 14:55:15 +02:00
Henri Verbeet 397cc3f42d d3drm: Avoid LPDIRECT3DRMTEXTURE3. 2013-05-28 14:55:12 +02:00
Henri Verbeet 41fe35583d d3drm: Avoid LPDIRECT3DRMTEXTURE2. 2013-05-27 19:29:08 +02:00
Henri Verbeet 769efb1f63 d3drm: Avoid LPDIRECT3DRMTEXTURE. 2013-05-27 19:29:04 +02:00
Francois Gouget a17d518122 d3drm/tests: Fix compilation on systems that don't support nameless unions. 2013-05-20 12:06:36 +02:00
André Hentschel 0867e37768 d3drm/tests: Add more face tests. 2013-05-13 11:16:19 +02:00
André Hentschel 60aaed781c d3drm: Implement IDirect3DRMMeshBuilder3_GetNormals. 2013-05-13 11:16:10 +02:00
André Hentschel edacd0772e d3drm: Implement IDirect3DRMMeshBuilder3_GetNormalCount. 2013-05-13 11:16:03 +02:00
André Hentschel 1a2271830b d3drm/tests: Initial IDirect3DRMFace tests. 2013-05-09 20:44:53 +02:00
André Hentschel 9dcdbfab49 d3drm: Add IDirect3DRMFace2 interface. 2013-05-09 20:37:39 +02:00
André Hentschel 9bce3a920b d3drm: Add IDirect3DRMFace interface. 2013-05-09 20:37:21 +02:00
André Hentschel 7f5a3a4d80 d3drm: Return a IDirect3DRMTexture in texture loading methods instead of error. 2013-05-07 11:26:14 +02:00
Henri Verbeet b8e3cee783 d3drm: Avoid LPDIRECT3DRMLIGHT. 2013-04-25 13:40:00 +02:00
Henri Verbeet 1013b54915 d3drm: Avoid LPDIRECT3DRMFACE2. 2013-04-25 13:40:00 +02:00
Henri Verbeet 589eea0ca0 d3drm: Avoid LPDIRECT3DRMFACE. 2013-04-25 13:39:58 +02:00
Henri Verbeet 68c4f61dc5 d3drm: Avoid LPDIRECT3DRMMESHBUILDER3. 2013-04-23 15:35:11 +02:00
Henri Verbeet 5c442f8dc8 d3drm: Avoid LPDIRECT3DRMMESHBUILDER2. 2013-04-23 15:35:10 +02:00
Henri Verbeet ec1c18b65c d3drm: Avoid LPDIRECT3DRMMESHBUILDER. 2013-04-23 15:35:09 +02:00
Henri Verbeet cbf3ade4b9 d3drm: Avoid LPDIRECT3DRMMESH. 2013-04-22 15:26:19 +02:00
Henri Verbeet c179bee494 d3drm: Avoid LPDIRECT3DRMVISUAL. 2013-04-22 15:26:17 +02:00
Henri Verbeet 65f9ddc2ca d3drm: Avoid LPDIRECT3DRMFRAME3. 2013-04-22 15:26:15 +02:00
Henri Verbeet c050cdb3d2 d3drm: Avoid LPDIRECT3DRMFRAME. 2013-04-19 10:43:48 +02:00
Henri Verbeet 24acd7c82a d3drm: Avoid LPDIRECT3DRMVIEWPORT. 2013-04-19 10:43:45 +02:00
Francois Gouget 3bc96bcb03 d3drm: Remove a no longer used debug channel. 2013-04-18 19:12:19 +02:00
Henri Verbeet 2c557b9b5f d3drm: Avoid LPDIRECT3DRMDEVICE3. 2013-04-18 11:43:03 +02:00
Henri Verbeet 00393fd804 d3drm: Avoid LPDIRECT3DRMDEVICE2. 2013-04-18 11:43:00 +02:00
Henri Verbeet 4e1bac56b5 d3drm: Avoid LPDIRECT3DRMDEVICE. 2013-04-17 11:36:28 +02:00
Henri Verbeet 9eae7aed1b d3drm: Avoid LPDIRECT3DRMOBJECT. 2013-04-17 11:36:25 +02:00
Henri Verbeet 1ce059d692 d3drm/tests: Avoid LPDIRECT3DRM3. 2013-04-16 12:14:08 +02:00
Henri Verbeet 5e3b4c8751 d3drm: Avoid LPDIRECT3DRM. 2013-04-16 12:14:06 +02:00
Henri Verbeet 0656177911 d3drm: Get rid of Direct3DRM_create(). 2013-04-15 15:16:26 +02:00
Henri Verbeet 0c228f5faf d3drm: Just use RGBA_MAKE.
D3DCOLOR_ARGB is a d3d8+ thing, ddraw has RGBA_MAKE.
2013-04-15 15:16:22 +02:00