Commit Graph

138 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 2d9089d8aa d3drm: Use existing helper to manage mesh groups.
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-07-10 20:51:11 +02:00
Nikolay Sivov 6704fc8b20 d3drm: Initial support for storing animation keys.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-07 09:08:19 +02:00
Nikolay Sivov 5697821917 d3drm: Added IDirect3DRMWrap stub.
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-26 14:54:08 +02:00
Nikolay Sivov d72c858693 d3drm: Make it possible to create meshes with CreateObject().
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:32 +02: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 48a047027b d3drm: Make it possible to create material objects with CreateObject().
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:26 +02:00
Nikolay Sivov a22e464746 d3drm: Make it possible to create mesh builder with CreateObject().
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-09 15:16:32 +02:00
Nikolay Sivov 4997364905 d3drm: Make it possible to create faces with CreateObject().
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-09 15:16:30 +02:00
Nikolay Sivov 79b474425a d3drm: Implement AddNormal() for mesh builder.
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-08 16:44:59 +02:00
Nikolay Sivov 837ddde132 d3drm: Implement AddVertex() for mesh builder.
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-08 16:44:59 +02:00
Nikolay Sivov c0c08a428e d3drm: Use consistent naming for mesh builder implementation pointers.
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-08 16:44:59 +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
Nikolay Sivov 99e0442acc d3drm: Fix IDirect3DRMMeshBuilder::QueryInterface to support IDirect3DRMObject and IDirect3DRMVisual.
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-05 19:47:52 +02:00
Nikolay Sivov c75c8e7f53 d3drm: Fix IDirect3DRMMesh::QueryInterface to support IDirect3DRMObject and IDirect3DRMVisual.
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-05 19:47:50 +02:00
Henri Verbeet ca49f8f120 d3drm: Don't import libdxguid and libuuid.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-10 16:29:56 +01: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
Henri Verbeet 060ea15ae2 d3drm: Introduce d3drm_set_color().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-10 16:29:15 +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 bebe679d51 d3drm: Keep a reference to IDirect3DRM 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-05-23 14:08:17 +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
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
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
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
Marcus Meissner 369cf7118b d3drm: Avoid potential double free (Coverity). 2015-04-07 15:16:46 +09:00
Michael Stefaniuc dcba8edba6 d3drm: Remove an unused assignment (PVS-Studio). 2015-01-13 19:54:03 +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 13e3219c2f d3drm: Get rid of the Header typedef. 2013-10-04 12:45:26 +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 d6ac5a4b88 d3drm: Avoid LPDIRECT3DRMFACEARRAY. 2013-06-04 10:14:45 +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 769efb1f63 d3drm: Avoid LPDIRECT3DRMTEXTURE. 2013-05-27 19:29:04 +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 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
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