Commit Graph

25 Commits

Author SHA1 Message Date
Józef Kucia bf293b70c9 d3d11: Add ID3D11Device2 stub.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-16 18:47:30 +02:00
Nikolay Sivov f01d1034d9 d3d11: Add ID3D11Device1 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>
2018-04-30 20:41:59 +02:00
Henri Verbeet b6f917b102 d3d11: Set resource access based on usage and CPU access flags.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-16 14:24:55 +01:00
Henri Verbeet 600d6b0199 d3d11: Use the global memory allocation helpers.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 10:00:07 +01:00
Henri Verbeet 8623bd3b6b wined3d: Replace the CPU access flags in struct wined3d_buffer_desc with resource access flags.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 10:00:07 +01:00
Józef Kucia a2fe3ff066 d3d11: Validate resource access flags for buffers and 2D textures.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:59 +01:00
Matteo Bruni 8c3019ca71 d3d11: Validate buffer MiscFlags.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 20:30:05 +01:00
Józef Kucia d867c6aa1e wined3d: Pass structure byte stride to wined3d_buffer_create().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 20:13:07 +01:00
Józef Kucia 6640bc323a d3d11: Do not keep mutex locked when D3D11_BUFFER_DESC validation fails.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-10 21:29:15 +01:00
Henri Verbeet d039ee73f8 d3d11: Use wined3d_resource_unmap() in d3d10_buffer_Unmap().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:22:59 +09:00
Henri Verbeet cec2ff4f86 d3d11: Use wined3d_resource_map() in d3d10_buffer_Map().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:22:59 +09:00
Józef Kucia 888de4efd8 d3d11: Validate "MiscFlags" and "StructureByteStride" for raw and structured buffers.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-21 23:36:02 +09:00
Józef Kucia 75db69ad02 d3d11: Implement d3d11_immediate_context_Map().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:37 +09:00
Józef Kucia 07ce357505 d3d11: Implement d3d11_depthstencil_view_GetResource().
The intent is to eventually eliminate wined3d_resource_from_d3d10_resource().
2015-09-08 21:59:17 +09:00
Józef Kucia ae2b1539a9 d3d11: AddRef device returned from d3d11_buffer_GetDevice(). 2015-09-07 20:07:55 +09:00
Józef Kucia b500ae04b4 d3d11: Implement d3d11_device_CreateBuffer(). 2015-09-07 20:07:50 +09:00
Józef Kucia 4444917f1a d3d11: Implement d3d10_buffer_GetDesc(). 2015-09-07 20:07:48 +09:00
Józef Kucia 378bec23ef d3d11: Implement d3d11_buffer_GetDesc(). 2015-09-07 20:07:45 +09:00
Józef Kucia ba9d80bacd d3d11: Implement d3d11_buffer_GetDevice(). 2015-09-03 21:11:07 +09:00
Józef Kucia c05e8d1460 d3d11: Implement private data methods for ID3D11Buffer. 2015-09-03 21:11:07 +09:00
Józef Kucia 9abc17dcce d3d11: Add ID3D11Buffer interface stub. 2015-09-03 21:11:07 +09:00
Józef Kucia 9c907997f0 d3d11: Rename d3d10_buffer to d3d_buffer. 2015-09-03 21:11:07 +09:00
Józef Kucia 1bc7413946 d3d11: Rename d3d10_{get, set}_private_data functions to d3d_{get, set}_private_data. 2015-09-03 21:11:07 +09:00
Józef Kucia e29a0cf417 d3d11: Rename d3d10_device to d3d_device. 2015-08-21 21:50:16 +09:00
Józef Kucia a9cb14dd71 d3d11: Move d3d10core to d3d11. 2015-08-21 21:49:43 +09:00