Commit Graph

44 Commits

Author SHA1 Message Date
Matteo Bruni ceba01e2ba d3drm: Add viewport to the device before setting viewport parameters.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:06:31 +02:00
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 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 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
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
Aaryaman Vasishta 7297d4a863 d3drm: Implement IDirect3DRMViewport*::Clear.
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-08-19 20:32:15 +09:00
Aaryaman Vasishta 17f80954e3 d3drm: Implement IDirect3DRMViewport*::GetDevice.
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-08-01 09:57:01 -05:00
Aaryaman Vasishta c17fd6a859 d3drm: Implement IDirect3DRMViewport::GetDirect3DViewport.
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-08-01 09:56:53 -05:00
Aaryaman Vasishta 74b27abb63 d3drm: Implement IDirect3DRMViewport*::Init.
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-08-01 09:56:46 -05:00
Aaryaman Vasishta 3fa736e978 d3drm: Fix IDirect3DRMViewport*::QueryInterface returning wrong HRESULT for invalid interfaces.
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-07-25 23:15:48 +09:00
Aaryaman Vasishta e81d495357 d3drm: Move IUnknown methods of viewports from version 1->2.
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-07-03 10:18:52 +09:00
Aaryaman Vasishta 49f37796d5 d3drm: Rearrange version 1 functions after version 2 for IDirect3DRMViewport*.
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-07-03 10:18:50 +09:00
Aaryaman Vasishta be7bca55e3 d3drm: Introduce d3drm_viewport_destroy().
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-07-03 10:18:47 +09:00
Aaryaman Vasishta f585faff6b d3drm: Fix viewport object creation.
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-06-21 00:23:55 +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
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
Henri Verbeet c5f03c3933 d3drm: Get rid of some incorrect comments. 2015-03-20 21:32:27 +09:00
Henri Verbeet 59dd66df2e d3drm: Get rid of the IDirect3DRMViewportImpl typedef. 2013-11-01 10:53:18 +01: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 cf3053f504 d3drm: Avoid LPDIRECT3DRMPICKEDARRAY. 2013-08-15 16:24:11 +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 2c557b9b5f d3drm: Avoid LPDIRECT3DRMDEVICE3. 2013-04-18 11:43:03 +02:00
Henri Verbeet 4e1bac56b5 d3drm: Avoid LPDIRECT3DRMDEVICE. 2013-04-17 11:36:28 +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
Henri Verbeet f90bdedd90 d3drm: Avoid LPD3DVECTOR. 2013-01-23 12:48:28 +01:00
Henri Verbeet 0ac2b823b5 d3drm: Avoid LPDIRECT3DVIEWPORT. 2012-11-21 13:25:38 +01:00
André Hentschel 4dc0ee57f6 d3drm: Implement IDirect3DRMViewportX_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel 2c6f238281 d3drm: Improve IDirect3DRMViewportX_Render stub. 2012-06-07 16:07:19 +02:00
André Hentschel 8558a948a9 d3drm: Improve IDirect3DRMViewportX_Clear stub. 2012-06-07 16:07:19 +02:00
André Hentschel 7e001ae60e d3drm: Implement IDirect3DRMViewportX_[Get|Set]Projection. 2012-06-07 16:07:19 +02:00
André Hentschel 9a8b788dc5 d3drm: Implement IDirect3DRMViewportX_[Get|Set]Field. 2012-06-07 16:07:18 +02:00
André Hentschel 48b0666d7f d3drm: Implement IDirect3DRMViewportX_[Get|Set]Front. 2012-06-07 16:07:17 +02:00
André Hentschel ece2ca78ea d3drm: Implement IDirect3DRMViewportX_[Get|Set]Back. 2012-06-07 16:07:17 +02:00
Christian Costa ea532f633c d3drm: Add refcount info to AddRef and Release traces. 2012-03-16 15:36:58 +01:00
André Hentschel 3935124d44 d3drm: Add IDirect3DRMViewport2 interface. 2012-01-18 16:22:40 +01:00
André Hentschel c6bd442446 d3drm: Reorder viewport creation function to avoid forward declarations. 2012-01-18 16:22:17 +01:00
André Hentschel 7a96cb4e67 d3drm: Add IDirect3DRMViewport interface. 2012-01-13 18:17:29 +01:00