Commit Graph

128 Commits

Author SHA1 Message Date
Józef Kucia 1275375ef8 d3d11/tests: Port test_create_sampler_state() from d3d10core.
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-10-13 23:35:22 +09:00
Józef Kucia 48b13fe2bc d3d11: Implement d3d11_device_CreateSamplerState().
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-10-13 22:25:18 +09:00
Józef Kucia 702e536ca4 d3d11: Implement d3d11_sampler_state_GetDesc().
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-10-13 22:25:15 +09:00
Józef Kucia 038cb1a691 d3d11: Implement ID3D11SamplerState interface.
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-10-13 22:25:13 +09:00
Józef Kucia 4270030c8b d3d11: Rename d3d10_sampler_state to d3d_sampler_state.
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-10-13 22:25:10 +09:00
Józef Kucia 1d8aa72650 d3d11: Rename d3d10_wined3d_device_parent_ops to d3d_wined3d_device_parent_ops.
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-10-13 22:25:07 +09:00
Józef Kucia 113a94a45d d3d11: Rename d3d10_dxgi_device_parent_vtbl to d3d_dxgi_device_parent_vtbl.
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-10-13 22:25:04 +09:00
Riccardo Bortolato 9c00f968d6 d3d8: Make use of wined3d_texture_map in d3d8_surface_LockRect.
Pass wined3d_texture and sub_resource idx to device_parent_surface_created callback.
Store wined3d_texture and sub_resource in d3d8_surface.
Also updated d3d9, d3d11, ddraw callbacks accordingly.

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 23:34:56 +09:00
Józef Kucia cf18ba1dc4 d3d11/tests: Add test for ID3D11Device::GetImmediateContext().
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-10-09 20:56:00 +09:00
Józef Kucia 1d10c79af0 d3d11: Add ID3D11DeviceContext stub interface.
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-10-09 20:55:57 +09:00
Józef Kucia a865b14aed d3d11: Rename d3d10_null_wined3d_parent_ops to d3d_null_wined3d_parent_ops.
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-10-09 20:55:54 +09:00
Józef Kucia 08fa2f0f73 d3d11: Break lines exceeding 120 characters.
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-10-09 20:55:50 +09:00
Józef Kucia bd8a7f9e5d d3d11/tests: Port test_create_blend_state() from d3d10core.
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-10-08 21:01:12 +09:00
Józef Kucia e2f8517833 d3d11: Implement d3d11_device_CreateBlendState().
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-10-08 21:01:06 +09:00
Józef Kucia abf6b7422d d3d11: Implement ID3D11BlendState interface.
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-10-08 21:01:03 +09:00
Józef Kucia c2a171850f d3d11: Rename d3d10_blend_state to d3d_blend_state.
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-10-08 21:01:00 +09:00
Riccardo Bortolato 33bb9e9610 wined3d: Don't pass a wined3d_volume to device_volume_created callback anymore.
Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:00:07 +09:00
Riccardo Bortolato 9621737c8e wined3d: Pass wined3d_texture and sub_resource idx to device_volume_created callback.
Store wined3d_texture and sub_resource in d3d8_volume.
Updated the d3d8_volume_LockBox to make use of wined3d_texture_map.
Also updated d3d9, d3d11, ddraw callbacks accordingly.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:52 +09:00
Riccardo Bortolato eac95d30b6 wined3d: Introduce new wined3d_texture_(un)map functions.
Initial usage in d3d11.
Also removed wined3d_volume_from_resource.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:52 +09:00
Józef Kucia 43bbdac1f0 d3d11/tests: Check that shaders implement d3d10 interfaces.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:26:29 +09:00
Józef Kucia 9ea0083477 d3d11/tests: Add test for geometry shader to test_create_shader().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:26:26 +09:00
Józef Kucia d8a6972bd2 d3d11/tests: Check that private data is shared between d3d10 and d3d11 interfaces.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:24:12 +09:00
Józef Kucia dae7e7487a d3d11/tests: Port test_private_data() from d3d10core.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:24:09 +09:00
Józef Kucia 894ef070bc d3d11/tests: Port test_device_removed_reason() from d3d10core.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:24:05 +09:00
Józef Kucia 30fe161469 d3d11: Implement private data methods for ID3D11Device.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:23:57 +09:00
Marcus Meissner 59a0e3d1f5 d3d11: Remove useless NULL check (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
2015-10-05 19:24:41 +09:00
Józef Kucia 36249205fd d3d11/tests: Port test_create_depthstencil_state() from d3d10core.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-05 19:24:21 +09:00
Józef Kucia a77015c795 d3d11: Implement d3d11_device_CreateDepthStencilState().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-05 19:24:18 +09:00
Józef Kucia 16e570f4a1 d3d11: Implement ID3D11DepthStencilState interface.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-05 19:24:11 +09:00
Józef Kucia ce0c094218 d3d11: Rename d3d10_depthstencil_state to d3d_depthstencil_state.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-05 19:24:08 +09:00
Józef Kucia e348fefa2e d3d11: Implement {d3d10, d3d11}_geometry_shader_GetDevice().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-05 19:23:58 +09:00
Józef Kucia 9c9b594912 d3d11: Rename d3d10_shader_info to d3d_shader_info.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-05 19:23:50 +09:00
Józef Kucia 7da86b434a d3d11: Implement d3d11_device_CreateGeometryShader().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-05 19:23:43 +09:00
Józef Kucia d8f8194b15 d3d11: Implement ID3D11GeometryShader interface.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-05 19:23:37 +09:00
Józef Kucia 6c8c61f411 d3d11: Rename d3d10_geometry_shader to d3d_geometry_shader.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-05 19:23:27 +09:00
Józef Kucia 9754cda53b d3d11: Rename d3d10_device_inner to d3d_device_inner.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-01 00:01:29 +09:00
Józef Kucia 5fb0281399 d3d11: Rename d3d10_device_init() to d3d_device_init().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-01 00:01:27 +09:00
Józef Kucia 934e4d1852 d3d11/tests: Port test_create_rasterizer_state() from d3d10core.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-01 00:01:26 +09:00
Józef Kucia b8bcac5100 d3d11: Implement d3d11_device_CreateRasterizerState().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-01 00:01:23 +09:00
Józef Kucia e006be15b9 d3d11: Implement ID3D11RasterizerState interface.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-01 00:01:16 +09:00
Józef Kucia 3068f0470d d3d11: Rename d3d10_rb_{alloc, realloc, free} to d3d_rb_{alloc, realloc, free}.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-01 00:01:14 +09:00
Józef Kucia 84efabb6c3 d3d11: Rename d3d10_rasterizer_state to d3d_rasterizer_state.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-01 00:01:12 +09:00
Józef Kucia dc54d70207 d3d11/tests: Port test_create_shader() from d3d10core.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-01 00:00:59 +09:00
Józef Kucia 8d253f8401 d3d11: Implement d3d11_device_CreatePixelShader(). 2015-09-16 22:10:43 +09:00
Józef Kucia 13a80eaab1 d3d11: Implement ID3D11PixelShader interface. 2015-09-16 22:10:41 +09:00
Józef Kucia f210c42de7 d3d11: Rename d3d10_pixel_shader to d3d_pixel_shader. 2015-09-16 22:10:39 +09:00
Józef Kucia 70fdfdb11b d3d11: Implement d3d11_device_CreateVertexShader(). 2015-09-16 22:10:38 +09:00
Józef Kucia 32892beba9 d3d11: Implement ID3D11VertexShader interface. 2015-09-16 22:10:36 +09:00
Józef Kucia 92a71ae09c d3d11: Rename d3d10_vertex_shader to d3d_vertex_shader. 2015-09-16 22:10:33 +09:00
Józef Kucia cad6ad9208 d3d11/tests: Add tests for D3D11CreateDeviceAndSwapChain(). 2015-09-16 22:10:30 +09:00