Commit Graph

475 Commits

Author SHA1 Message Date
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
Michael Stefaniuc 5ef8a8b2f2 d3drm: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-08 10:44:31 +01:00
Michael Stefaniuc 9affa153fd d3drm: Let C look like C. 2013-02-07 12:03:58 +01:00
Henri Verbeet 740c44f5ff d3drm: Avoid LPD3DRMMATERIALOVERRIDE. 2013-01-28 14:05:26 +01:00
Henri Verbeet 33f0e190f2 d3drm: Avoid LPD3DRMIMAGE. 2013-01-28 14:05:23 +01:00
Henri Verbeet 1557d2e4ff d3drm: Avoid LPD3DRMBOX. 2013-01-25 11:18:02 +01:00
Henri Verbeet 5114cbd23c d3drm: Avoid LPD3DRMRAY. 2013-01-24 14:32:55 +01:00
Henri Verbeet e84e2e8c9a d3drm: Avoid LPD3DRMQUATERNION. 2013-01-24 14:32:51 +01:00
Henri Verbeet f90bdedd90 d3drm: Avoid LPD3DVECTOR. 2013-01-23 12:48:28 +01:00
Henri Verbeet e650f49f0e d3drm: Avoid LPD3DVALUE. 2013-01-23 12:48:20 +01:00
Henri Verbeet bb163ef0b9 d3drm: Avoid LPDDPIXELFORMAT. 2013-01-22 12:13:35 +01:00
Christian Costa 1db9fb9036 d3drm: Avoid LP stuff and rename some variables. 2013-01-08 19:08:55 +01:00
Christian Costa 26640c8e7c d3drm: Avoid LP stuff and rename some variables. 2013-01-07 19:30:28 +01:00
Christian Costa 1adda4cfbc d3drm: Remove unused variable. 2013-01-04 12:14:14 +01:00
Andrew Talbot c39f7e7fdb d3drm: Avoid signed-unsigned integer comparisons. 2013-01-03 11:52:16 +01:00
Frédéric Delanoy 8ec82dfaae d3drm: Fix a leak (coverity). 2012-12-24 13:33:06 +01:00
Christian Costa f0dd310018 d3drm: Fix return error code. 2012-12-17 20:31:24 +01:00
Christian Costa 871aa9d14d d3drm: Check params in IDirect3DRMMeshBuilder2Impl_GetVertices + tests. 2012-12-17 20:31:23 +01:00
Christian Costa ec51c5f737 d3drm: Face data size is in number of DWORD. 2012-12-14 11:56:53 +01:00
Christian Costa 53e37121a4 d3drm: Handle texture load proc when loading mesh data. 2012-12-14 11:56:48 +01:00
Christian Costa 7a5b12c8ef d3drm: Handle all materials in material list and create corresponding mesh groups + tests. 2012-12-13 20:18:05 +01:00
Christian Costa 6595cdd41f d3drm: Load object only if it is top level and requested or if it is part of another object. 2012-12-12 20:18:13 +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 0ac2b823b5 d3drm: Avoid LPDIRECT3DVIEWPORT. 2012-11-21 13:25:38 +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
Christian Costa 1b2aacc97b d3drm: Implement texture SetAppData and GetAppData. 2012-11-13 18:10:21 +01:00
Frédéric Delanoy 1ae9acb0df d3drm: Fix a leak (coverity). 2012-11-08 15:37:53 +01:00
Christian Costa de690b8dae d3drm: Move mesh builder data cleaning code into a separate function. 2012-10-31 18:13:05 +01:00
Christian Costa 43d3ba36a1 d3drm: Init vertices before creating group. 2012-10-31 18:09:19 +01:00
Christian Costa 2978dbea0b d3drm: When creating a mesh, if all faces have the same number of vertex, set vertex_per_face and don't put nb indices in face data. 2012-10-25 16:51:59 +02:00
Christian Costa cb131bf030 d3drm: Fix normals computation and add according tests. 2012-10-22 12:06:21 +02:00
Christian Costa 466c244d18 d3drm: Enum all materials even if only the first one is handled. 2012-10-22 12:05:53 +02:00
Christian Costa 5e1d854ee5 d3drm: Fix child leak. 2012-10-22 12:05:48 +02:00
Christian Costa ff0e82502f d3drm: Fix wrong condition. 2012-10-22 12:05:44 +02:00
André Hentschel 2a42410e7c d3drm: Fix memcpy arguments for matrix transformations (coverity). 2012-10-19 11:16:16 +02:00
André Hentschel c10d95b64a d3drm: Add SceneBackground handling. 2012-08-13 17:01:43 +02:00
Michael Stefaniuc 9e183990f2 d3drm: Make IDirect3DRMx_CreateFrame() more forgiving about the parent frame. 2012-07-02 10:54:49 +02:00
Michael Stefaniuc 4754a3d605 d3drm: Get rid of unsafe_impl_from_IDirect3DRMFrame2(). 2012-06-27 11:36:41 +02:00
André Hentschel 6f3c571a05 d3drm/tests: Destroy window after use. 2012-06-19 11:10:23 +02:00
André Hentschel 4dc0ee57f6 d3drm: Implement IDirect3DRMViewportX_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel d9ec2b6dfd d3drm: Implement IDirect3DRMWinDevice_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel 069e93f715 d3drm: Implement IDirect3DRMDeviceX_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel e5de199289 d3drm: Implement IDirect3DRMTextureX_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel b2de41308e d3drm: Fix initial specular value of the Material2 interface. 2012-06-18 11:59:40 +02:00
André Hentschel d71bf7fdb7 d3drm: Implement IDirect3DRMX_CreateTexture. 2012-06-18 11:59:40 +02:00
André Hentschel 029318107b d3drm: Implement IDirect3DRMMaterial2_GetClassName. 2012-06-18 11:59:40 +02:00