Józef Kucia
4c9fd0286f
d3d10core/tests: Test conversion from D3D10_SAMPLER_DESC to D3D11_SAMPLER_DESC.
...
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:21 +09:00
Józef Kucia
5f2e825b53
d3d10core/tests: Use full name of structure field in ok() messages.
...
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:44 +09:00
Józef Kucia
a80902084f
d3d10core/tests: Test conversion from D3D10_BLEND_DESC to D3D11_BLEND_DESC.
...
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:09 +09:00
Józef Kucia
b27efb4bdf
d3d10core/tests: Add test for geometry shader to test_create_shaders().
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:26:22 +09:00
Józef Kucia
44293175a3
d3d10core/tests: Check that shaders implement d3d11 interfaces.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:26:18 +09:00
Józef Kucia
17ad42fcf5
d3d10core/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:52 +09:00
Józef Kucia
5b0fb73c1b
d3d10core/tests: Use 'd3d10core_test' as window name in test_scissor().
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:23:54 +09:00
Józef Kucia
6d916dc3e5
d3d10core/tests: Check that shader resource view implements ID3D11ShaderResourceView.
2015-09-14 22:30:50 +09:00
Józef Kucia
c32def6c41
d3d10core/tests: Check that render target view implements ID3D11RenderTargetView.
2015-09-14 22:30:48 +09:00
Józef Kucia
fbf7b84d10
d3d10core/tests: Port test_depthstencil_view_interfaces() from d3d11.
2015-09-14 22:30:45 +09:00
Józef Kucia
d7af6664ac
d3d10core/tests: Port test_buffer_interfaces() from d3d11.
2015-09-07 20:07:59 +09:00
Józef Kucia
f9ecce38ef
d3d10core/tests: Port test_texture2d_interfaces() from d3d11.
2015-09-01 20:59:17 +09:00
Józef Kucia
adaf08d178
d3d10core/tests: Use win_skip() instead of skip().
2015-08-31 20:13:27 +09:00
Henri Verbeet
662cfd4144
d3d10core: Get rid of some redundant includes.
...
d3d11.h includes d3d10_1.h, which includes d3d10.h.
2015-08-25 21:13:24 +09:00
Józef Kucia
66b2d96a69
d3d10core/tests: Add test for device feature level.
2015-08-24 20:46:09 +09:00
Józef Kucia
a9cb14dd71
d3d11: Move d3d10core to d3d11.
2015-08-21 21:49:43 +09:00
Józef Kucia
2d13e0f10c
d3d11: Add ID3D11Device stub interface.
2015-08-21 21:48:31 +09:00
Józef Kucia
1cb7878beb
d3d10core: Do not use '\n' in the middle of TRACEs.
2015-08-18 18:34:43 +09:00
Henri Verbeet
62a02a047f
d3d10core: Implement d3d10_device_UpdateSubresource().
2015-08-18 18:28:47 +09:00
Henri Verbeet
63d279430d
d3d10core: Add locking around wined3d calls.
2015-08-13 15:03:57 +09:00
Józef Kucia
96322fbefc
d3d10core/tests: Fix copy-paste mistake.
2015-08-13 14:58:56 +09:00
Henri Verbeet
82dffc9567
d3d10core: Ensure the information we return in d3d10_texture2d_GetDesc() is current.
2015-08-06 23:36:01 +09:00
Henri Verbeet
4a843f2826
dxgi: Implement dxgi_surface_GetDesc() on top of wined3d.
2015-08-06 23:36:01 +09:00
Henri Verbeet
7f416ff339
wined3d: Validate "data" in buffer_init().
2015-07-31 12:08:53 +02:00
Henri Verbeet
62454ae71d
wined3d: Validate "data" in wined3d_texture_upload_data().
2015-07-31 12:08:49 +02:00
Henri Verbeet
e2c0c611d4
d3d10core: Implement d3d10_device_CopySubresourceRegion().
2015-07-20 11:50:27 +02:00
Henri Verbeet
8dd93c7e33
d3d10core: Translate d3d10 usage to wined3d usage for buffers.
2015-06-16 16:48:58 +09:00
Henri Verbeet
39fc855316
d3d10core: Release the wined3d query in d3d10_query_Release() (Valgrind).
2015-04-29 12:24:43 +09:00
Henri Verbeet
0a12107604
d3d10core: Don't use potentially uninitialized data in the depth/stencil state key (Valgrind).
2015-04-29 12:24:40 +09:00
Henri Verbeet
f35cc97911
d3d10core/tests: Port the d3d9 vPos test to d3d10.
2015-03-31 18:49:28 +09:00
Henri Verbeet
e72845e648
d3d10core/tests: Add a test for D3D10_APPEND_ALIGNED_ELEMENT.
2015-03-24 17:41:20 +09:00
Henri Verbeet
010ff106dd
d3d10core: Implement d3d10_device_DrawInstanced().
2015-03-24 17:41:17 +09:00
Henri Verbeet
1b08196c5a
wined3d: Implement d3d10 style instance data step rates.
2015-03-24 17:41:06 +09:00
Henri Verbeet
88f230b56e
d3d10core: Also pass unused input layout elements to wined3d.
...
While these won't be used by the shader, they potentially affect the
calculated offset for WINED3D_APPEND_ALIGNED_ELEMENT elements.
2015-03-23 22:59:12 +09:00
Henri Verbeet
df16cb2cfe
d3d10core/tests: Fix a typo in shader source in test_clear_state().
2015-03-20 21:32:06 +09:00
Henri Verbeet
777ae5b7c5
d3d10core: Implement d3d10_shader_resource_view_GetPrivateData().
2015-03-13 21:57:27 +09:00
Henri Verbeet
171d61a06a
d3d10core: Implement d3d10_shader_resource_view_SetPrivateDataInterface().
2015-03-13 21:57:27 +09:00
Henri Verbeet
b0da585aeb
d3d10core: Implement d3d10_shader_resource_view_SetPrivateData().
2015-03-13 21:57:26 +09:00
Henri Verbeet
57c76e10e0
d3d10core: Implement d3d10_rendertarget_view_GetPrivateData().
2015-03-13 00:28:17 +09:00
Henri Verbeet
656be74d13
d3d10core: Implement d3d10_rendertarget_view_SetPrivateDataInterface().
2015-03-13 00:28:17 +09:00
Henri Verbeet
c81446a7cc
d3d10core: Implement d3d10_depthstencil_view_GetPrivateData().
2015-03-13 00:28:16 +09:00
Henri Verbeet
3c65bff802
d3d10core: Implement d3d10_rendertarget_view_SetPrivateData().
2015-03-13 00:28:16 +09:00
Henri Verbeet
c3fab65647
d3d10core: Implement d3d10_depthstencil_view_SetPrivateDataInterface().
2015-03-13 00:28:15 +09:00
Henri Verbeet
4a965589a6
d3d10core: Implement d3d10_depthstencil_view_SetPrivateData().
2015-03-11 22:10:24 +09:00
Henri Verbeet
c840645bc2
d3d10core: Implement d3d10_texture3d_GetPrivateData().
2015-03-11 22:10:22 +09:00
Henri Verbeet
2d96cefbb7
d3d10core: Implement d3d10_texture3d_SetPrivateDataInterface().
2015-03-11 22:10:20 +09:00
Henri Verbeet
721d399038
d3d10core: Implement d3d10_texture3d_SetPrivateData().
2015-03-11 22:10:19 +09:00
Henri Verbeet
f205b413f4
d3d10core: Implement d3d10_sampler_state_GetPrivateData().
2015-03-11 22:10:16 +09:00
Henri Verbeet
5b5498a8b4
d3d10core: Implement d3d10_sampler_state_SetPrivateDataInterface().
2015-03-10 21:37:22 +09:00
Henri Verbeet
21d94883bc
d3d10core: Implement d3d10_sampler_state_SetPrivateData().
2015-03-10 21:37:20 +09:00
Henri Verbeet
3b2c28d8cf
d3d10core: Implement d3d10_rasterizer_state_GetPrivateData().
2015-03-10 21:37:04 +09:00
Henri Verbeet
da48976de9
d3d10core: Implement d3d10_rasterizer_state_SetPrivateDataInterface().
2015-03-10 21:37:02 +09:00
Henri Verbeet
7531acd360
d3d10core: Implement d3d10_rasterizer_state_SetPrivateData().
2015-03-10 21:36:59 +09:00
Henri Verbeet
11b4200012
d3d10core: Implement d3d10_depthstencil_state_GetPrivateData().
2015-03-09 22:07:34 +09:00
Henri Verbeet
f8656657fc
d3d10core: Implement d3d10_depthstencil_state_SetPrivateDataInterface().
2015-03-09 22:07:32 +09:00
Henri Verbeet
5cb14ba454
d3d10core: Implement d3d10_depthstencil_state_SetPrivateData().
2015-03-09 22:07:30 +09:00
Henri Verbeet
3aafb12c78
d3d10core: Implement d3d10_blend_state_GetPrivateData().
2015-03-09 22:07:28 +09:00
Henri Verbeet
e6aabcd716
d3d10core: Implement d3d10_blend_state_SetPrivateDataInterface().
2015-03-09 22:07:26 +09:00
Henri Verbeet
2971a92840
d3d10core: Implement d3d10_blend_state_SetPrivateData().
2015-02-27 20:30:30 +09:00
Henri Verbeet
8204919828
d3d10core: Implement d3d10_pixel_shader_GetPrivateData().
2015-02-27 20:30:28 +09:00
Henri Verbeet
ed0c1c2ad5
d3d10core: Implement d3d10_pixel_shader_SetPrivateDataInterface().
2015-02-27 20:30:26 +09:00
Henri Verbeet
cae40a1653
d3d10core: Implement d3d10_pixel_shader_SetPrivateData().
2015-02-27 20:30:23 +09:00
Henri Verbeet
6cd05c38a8
d3d10core: Implement d3d10_geometry_shader_GetPrivateData().
2015-02-27 20:30:20 +09:00
Henri Verbeet
e0e909ec48
d3d10core: Implement d3d10_geometry_shader_SetPrivateDataInterface().
2015-02-26 20:09:22 +09:00
Henri Verbeet
450a3fbfc2
d3d10core: Implement d3d10_geometry_shader_SetPrivateData().
2015-02-26 20:09:20 +09:00
Henri Verbeet
4345219274
d3d10core: Implement d3d10_vertex_shader_GetPrivateData().
2015-02-26 20:09:17 +09:00
Henri Verbeet
e8dc68a8e4
d3d10core: Implement d3d10_vertex_shader_SetPrivateDataInterface().
2015-02-26 20:09:15 +09:00
Henri Verbeet
fe06bb1492
d3d10core: Implement d3d10_vertex_shader_SetPrivateData().
2015-02-26 20:09:12 +09:00
Henri Verbeet
7c8f053880
d3d10core: Implement d3d10_input_layout_GetPrivateData().
2015-02-25 20:35:27 +09:00
Henri Verbeet
e30032a64d
d3d10core: Implement d3d10_input_layout_SetPrivateDataInterface().
2015-02-25 20:35:26 +09:00
Henri Verbeet
2ffa29d660
d3d10core: Implement d3d10_input_layout_SetPrivateData().
2015-02-25 20:35:26 +09:00
Henri Verbeet
e7c892850b
d3d10core: Implement d3d10_buffer_GetPrivateData().
2015-02-25 20:35:26 +09:00
Henri Verbeet
3cf80b7fb7
d3d10core: Implement d3d10_buffer_SetPrivateDataInterface().
2015-02-25 20:35:25 +09:00
Henri Verbeet
0d59cba5c9
d3d10core: Implement d3d10_buffer_SetPrivateData().
2015-02-24 12:36:11 +09:00
Henri Verbeet
5dfb4c1266
d3d10core: Implement d3d10_query_GetPrivateData().
2015-02-24 12:36:09 +09:00
Henri Verbeet
9c97e156e8
d3d10core: Implement d3d10_query_SetPrivateDataInterface().
2015-02-24 12:36:07 +09:00
Henri Verbeet
14643cf8d4
d3d10core: Implement d3d10_query_SetPrivateData().
2015-02-24 12:36:05 +09:00
Henri Verbeet
e5dd9b2a18
d3d10core: Implement d3d10_texture2d_GetPrivateData().
2015-02-24 12:36:02 +09:00
Henri Verbeet
21da7be665
d3d10core: Implement d3d10_texture2d_SetPrivateDataInterface().
2015-02-24 12:36:00 +09:00
Henri Verbeet
c2e6a7d0b1
d3d10core: Implement d3d10_texture2d_SetPrivateData().
2015-02-24 12:35:57 +09:00
Henri Verbeet
34f4c407b2
d3d10core: Implement d3d10_device_GetPrivateData().
2015-02-24 12:35:54 +09:00
Henri Verbeet
7f7844a79d
d3d10core: Implement d3d10_device_SetPrivateDataInterface().
2015-02-24 12:35:51 +09:00
Henri Verbeet
c9fd72d80c
d3d10core: Implement d3d10_device_SetPrivateData().
2015-02-24 12:35:46 +09:00
Henri Verbeet
e46bdc28f6
d3d10core: Get rid of the "partial stub" FIXME in d3d10_device_CreateTexture2D().
2015-02-18 23:21:46 +09:00
Henri Verbeet
58896c610f
d3d10core: Get rid of the "partial stub" FIXME in d3d10_device_CreateBuffer().
...
At this point it doesn't really add anything anymore.
2015-02-18 23:21:43 +09:00
Henri Verbeet
849149d5d3
wined3d: Add support for appending vertex declaration elements.
2015-02-13 18:53:17 +09:00
Henri Verbeet
6b4623008f
d3d10core/tests: Add a basic texturing test.
2015-01-19 14:31:43 +01:00
Henri Verbeet
c6232e1d11
wined3d: Create GL sampler objects for wined3d sampler objects.
2015-01-15 17:24:43 +01:00
Henri Verbeet
4b480f5519
wined3d: Introduce struct wined3d_sampler_desc.
2015-01-15 17:24:32 +01:00
Henri Verbeet
ea534c9ab4
wined3d: Allow initial texture contents to be specified with wined3d_texture_create().
2015-01-05 20:15:35 +01:00
Henri Verbeet
c0cb43311b
d3d10core: Calculate the texture level count before texture creation.
2014-12-10 19:32:16 +01:00
Henri Verbeet
0e8f2786e9
wined3d: Keep a reference to the resource in shader resource views.
2014-12-01 11:00:23 +01:00
André Hentschel
5ddc53f30e
d3d10core: Remove unused struct (Clang).
2014-11-25 13:47:11 +01:00
Henri Verbeet
1c116c3527
d3d10core/tests: Port alpha_test() to d3d10core.
2014-11-17 19:30:40 +09:00
Henri Verbeet
ed9188c4f8
d3d10core: Set wined3d state in d3d10_device_OMSetBlendState().
2014-11-04 16:54:37 +09:00
Henri Verbeet
875a7c5426
wined3d: Use the input signature to setup SM4 pixel shader input semantics.
2014-11-04 16:54:35 +09:00
Henri Verbeet
a21784b116
d3d10core: Free the output signature after creating the wined3d shader.
2014-11-04 16:54:32 +09:00
Henri Verbeet
cab0d8ca31
d3d10core/tests: Add a test for ID3D10Device_ClearState().
2014-11-03 20:31:41 +09:00
Henri Verbeet
a0c6cdd5c9
d3d10core: Implement d3d10_device_ClearState().
2014-11-03 20:31:29 +09:00
Johannes Brandstätter
db2e44a9bc
d3d10core: Add support for map_type flags D3D10_MAP_READ, D3D10_MAP_WRITE_NO_OVERWRITE and D3D10_MAP_DISCARD.
2014-09-26 13:29:49 +02:00
André Hentschel
8a7d4c7f22
d3d10core: Fix out of bounds access (Coverity).
2014-09-22 21:21:56 +02:00
Henri Verbeet
a3daed9604
d3d10core: Implement d3d10_device_GetPredication().
2014-09-19 10:49:24 +02:00
Henri Verbeet
fdf60e51fc
d3d10core: Implement d3d10_device_SetPredication().
2014-09-19 10:49:11 +02:00
Henri Verbeet
686546b6d3
d3d10core: Create wined3d queries for queries.
2014-09-19 10:49:02 +02:00
Henri Verbeet
f50e543c7a
d3d10core: Set the initial sample mask to D3D10_DEFAULT_SAMPLE_MASK.
2014-09-18 13:06:40 +02:00
Henri Verbeet
0ed857fdcc
d3d10core: Set the initial blend factors to 1.0f.
2014-09-18 13:06:37 +02:00
Henri Verbeet
f06a57f678
d3d10core: Implement d3d10_device_PSGetShaderResources().
2014-09-17 11:05:08 +02:00
Henri Verbeet
8080212f43
d3d10core: Implement d3d10_device_PSSetShaderResources().
2014-09-17 11:05:05 +02:00
Henri Verbeet
354a6d4e2c
d3d10core: Implement d3d10_device_GSGetShaderResources().
2014-09-17 11:05:01 +02:00
Henri Verbeet
9c3266fe1d
d3d10core: Implement d3d10_device_GSSetShaderResources().
2014-09-17 11:04:58 +02:00
Henri Verbeet
482e5f589b
d3d10core: Implement d3d10_device_VSGetShaderResources().
2014-09-17 11:04:54 +02:00
Henri Verbeet
1e434b52d0
d3d10core: Implement d3d10_device_VSSetShaderResources().
2014-09-16 12:24:59 +02:00
Henri Verbeet
e01d207699
d3d10core: Create wined3d views for shader resource views.
2014-09-16 12:24:50 +02:00
Henri Verbeet
204ffe15a6
d3d10core: Properly handle parentless views in d3d10_device_OMGetRenderTargets().
2014-09-01 20:26:34 +02:00
Henri Verbeet
d276bde09c
d3d10core/tests: Add a basic scissoring test.
2014-09-01 20:26:23 +02:00
Henri Verbeet
1cccd02428
d3d10core: Set wined3d state in d3d10_device_RSSetState().
...
At some point we'll probably want to switch to using state objects inside
wined3d, although that would require some changes to the other users of
wined3d as well.
2014-09-01 13:12:52 +02:00
Henri Verbeet
2fa847280a
d3d10core: Implement d3d10_device_OMGetRenderTargets().
2014-08-22 12:53:30 +02:00
Henri Verbeet
28d7affa90
d3d10core: Implement d3d10_device_OMSetRenderTargets().
2014-08-22 12:53:28 +02:00
Henri Verbeet
736b9e1c1c
wined3d: Get rid of wined3d_device_color_fill().
2014-08-22 12:53:26 +02:00
Henri Verbeet
b005ad6f90
wined3d: Use rendertarget views for color output instead of surfaces.
2014-08-21 12:24:42 +02:00
Henri Verbeet
fb7135efd1
wined3d: Introduce struct wined3d_rendertarget_view_desc.
2014-08-21 12:24:28 +02:00
Henri Verbeet
6a1a18e7e2
d3d10core: Implement d3d10_device_CopyResource().
2014-08-04 14:23:36 +02:00
Henri Verbeet
d17bd8d821
dxgi: Implement dxgi_surface_GetDesc().
2014-07-22 12:37:26 +02:00
Henri Verbeet
09fda3b805
d3d9: Improve d3d9_device_TestCooperativeLevel().
2014-06-27 10:37:36 +02:00
Henri Verbeet
8d23f13b16
d3d10core: Implement d3d10_device_GetDeviceRemovedReason().
2014-06-13 10:12:06 +02:00
Alexandre Julliard
a3ab118b1e
d3d10core: Remove unnecessary DllMain implementation.
2014-05-16 11:33:45 +02:00
Henri Verbeet
f38b36ee33
d3d10core: Implement d3d10_query_GetDevice().
2014-02-17 11:32:09 +01:00
Henri Verbeet
569a2e758a
d3d10core: Implement d3d10_rasterizer_state_GetDevice().
2014-02-17 11:32:05 +01:00
Henri Verbeet
c7fb7ba539
d3d10core: Implement d3d10_depthstencil_state_GetDevice().
2014-02-17 11:32:01 +01:00
Henri Verbeet
dbc4bcd69d
d3d10core: Implement d3d10_blend_state_GetDevice().
2014-02-17 11:31:58 +01:00
Henri Verbeet
3363d49236
d3d10core: Implement d3d10_sampler_state_GetDevice().
2014-02-17 11:31:54 +01:00
Henri Verbeet
e4eee4ddb9
d3d10core: Implement d3d10_pixel_shader_GetDevice().
2014-02-13 17:52:14 +01:00
Henri Verbeet
687c1c7358
d3d10core: Implement d3d10_vertex_shader_GetDevice().
2014-02-13 17:52:14 +01:00
Henri Verbeet
539a579d54
d3d10core: Implement d3d10_shader_resource_view_GetDevice().
2014-02-13 17:52:13 +01:00
Henri Verbeet
40686f48cb
d3d10core: Implement d3d10_rendertarget_view_GetDevice().
2014-02-13 17:52:13 +01:00
Henri Verbeet
01d435288f
d3d10core: Implement d3d10_depthstencil_view_GetDevice().
2014-02-13 17:52:13 +01:00
Henri Verbeet
82fc81b644
d3d10core: Implement d3d10_buffer_GetDevice().
2014-02-13 17:52:13 +01:00
Henri Verbeet
6e3619c42b
d3d10core: Implement d3d10_texture3d_GetDevice().
2014-02-13 17:52:13 +01:00
Henri Verbeet
387f65baf8
d3d10core: Implement d3d10_texture2d_GetDevice().
2014-02-13 17:52:13 +01:00
Henri Verbeet
28510c73c2
d3d10core: Implement ID3D10Multithread.
2014-02-12 19:15:19 +01:00
Henri Verbeet
409c872c99
d3d10core: Implement ID3D10Device1.
2014-02-11 19:19:14 +01:00
Henri Verbeet
2be432b4df
dxgi/tests: Also test for ID3D10Device1 and ID3D11Device in test_device_interfaces().
2014-02-11 19:19:14 +01:00
Henri Verbeet
80ce3b319a
d3d10core/tests: Use D3D10CreateDevice() to create a device.
2014-01-27 17:39:47 +01:00
Frédéric Delanoy
91f2435469
Assorted spelling fixes.
2014-01-09 17:39:59 +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
Henri Verbeet
15c1a26b55
wined3d: Create volumes inside wined3d.
2013-12-06 13:14:52 +01:00
Henri Verbeet
4b3db52b53
wined3d: Merge the texture creation functions.
2013-11-27 11:30:15 +01:00
Henri Verbeet
afc3d2ab70
wined3d: Create surfaces inside wined3d.
2013-11-15 12:00:26 +01:00
Henri Verbeet
cfe16a4bd1
d3d10core: Translate d3d10 bind flags / usage to wined3d usage for textures.
2013-09-25 11:49:05 +02:00
Henri Verbeet
6d02c19f2b
d3d10core: Avoid LPVOID.
2013-09-17 12:01:27 +02:00
Henri Verbeet
592b347c79
d3d10core: Avoid LPSTR.
2013-09-17 12:01:25 +02:00
Stefan Dösinger
ac871305f8
wined3d: Store the mipmap level in the volume.
2013-08-22 20:15:18 +02:00
Henri Verbeet
d6bc4fe71a
wined3d: Allow surface flags to be passed to texture creation functions.
2013-06-06 11:47:19 +02:00
Henri Verbeet
91096dd7ad
wined3d: Pass a wined3d_resource_desc structure to wined3d_texture_create_3d().
2013-06-06 11:47:07 +02:00
Henri Verbeet
9d4cbd6195
wined3d: Pass a wined3d_resource_desc structure to wined3d_texture_create_2d().
2013-06-05 17:31:39 +02:00
Henri Verbeet
13a38e8d5e
wined3d: Pass a wined3d_resource_desc structure to device_parent_create_swapchain_surface().
2013-06-04 10:14:28 +02:00
Henri Verbeet
a4d2660c9b
wined3d: Pass a wined3d_resource_desc structure to device_parent_create_texture_surface().
2013-06-04 10:14:26 +02:00
Henri Verbeet
c97c51120c
d3d10core/tests: Add a small test for ID3D10Device_CreatePredicate().
2013-05-31 11:57:48 +02:00
Henri Verbeet
7b84e3234b
d3d10core: Implement d3d10_device_CreatePredicate().
2013-05-31 11:57:44 +02:00
Michael Stefaniuc
1eff4669ff
d3d10core: Remove ERR() on HeapAlloc failure for small sizes known at compile time.
2013-02-07 15:48:14 +01:00
Henri Verbeet
ce912d5149
wined3d: Get rid of the surface_type parameter to wined3d_surface_create().
2013-01-17 12:21:55 +01:00
Henri Verbeet
8e9f0af2a9
d3d10core/tests: Add a small test for ID3D10Device_CreateRasterizerState().
2013-01-02 13:15:16 +01:00
Henri Verbeet
5d38662235
d3d10core: Only create unique rasterizer state objects.
2013-01-02 13:15:14 +01:00
Henri Verbeet
4f9814c536
d3d10core: Implement d3d10_rasterizer_state_GetDesc().
2013-01-02 13:11:22 +01:00
Henri Verbeet
93700423e8
d3d10core/tests: Add a small test for ID3D10Device_CreateDepthStencilState().
2012-12-14 11:49:31 +01:00
Henri Verbeet
0ffda86f76
d3d10core: Only create unique depthstencil state objects.
2012-12-14 11:49:28 +01:00
Henri Verbeet
d158289020
d3d10core: Implement d3d10_depthstencil_state_GetDesc().
2012-12-14 11:49:23 +01:00
Henri Verbeet
3cd98e15fa
d3d10core/tests: Add a small test for ID3D10Device_CreateBlendState().
2012-12-13 11:21:33 +01:00
Henri Verbeet
525e3da051
d3d10core: Only create unique blend state objects.
2012-12-13 11:21:28 +01:00
Henri Verbeet
9d86c8b07c
d3d10core: Implement d3d10_blend_state_GetDesc().
2012-12-13 11:21:22 +01:00
Henri Verbeet
4ec1c78ec4
d3d10core/tests: Add a small test for ID3D10Device_CreateSamplerState().
2012-12-12 11:59:17 +01:00
Henri Verbeet
a9e241e4fe
d3d10core: Only create unique sampler state objects.
2012-12-12 11:59:08 +01:00
Henri Verbeet
14eadb71bc
d3d10core: Implement d3d10_sampler_state_GetDesc().
2012-12-12 11:59:01 +01:00
Henri Verbeet
fc50e2b70b
d3d10core: Get rid of a FIXME in d3d10_device_CreateGeometryShader().
2012-12-11 12:03:38 +01:00
Henri Verbeet
9fbd3bbed6
d3d10core: Implement d3d10_device_PSGetSamplers().
2012-12-10 11:25:49 +01:00
Henri Verbeet
4c4131cd78
d3d10core: Implement d3d10_device_PSSetSamplers().
2012-12-10 11:25:46 +01:00
Henri Verbeet
2c01e11eca
d3d10core: Implement d3d10_device_GSGetSamplers().
2012-12-07 10:35:51 +01:00
Henri Verbeet
047d607e07
d3d10core: Implement d3d10_device_GSSetSamplers().
2012-12-07 10:35:44 +01:00
Henri Verbeet
c98767a425
d3d10core: Implement d3d10_device_VSGetSamplers().
2012-12-06 12:55:59 +01:00
Henri Verbeet
e5805c316c
d3d10core: Implement d3d10_device_VSSetSamplers().
2012-12-06 12:55:50 +01:00
Henri Verbeet
6ac3c48384
d3d10core: Implement d3d10_device_PSGetConstantBuffers().
2012-12-05 12:44:07 +01:00
Henri Verbeet
b034f49183
d3d10core: Implement d3d10_device_PSSetConstantBuffers().
2012-12-05 12:44:01 +01:00
Henri Verbeet
d906c94382
d3d10core: Implement d3d10_device_GSGetConstantBuffers().
2012-12-04 00:02:06 +01:00
Henri Verbeet
feda45279e
d3d10core: Implement d3d10_device_GSSetConstantBuffers().
2012-12-04 00:02:00 +01:00
Henri Verbeet
027ef4ccdb
d3d10core: Implement d3d10_device_VSGetConstantBuffers().
2012-11-30 11:42:54 +01:00
Henri Verbeet
ae5e15319e
d3d10core: Implement d3d10_device_VSSetConstantBuffers().
2012-11-30 11:42:48 +01:00
Henri Verbeet
7c722bea28
d3d10core/tests: Use the correct enum in test_create_shader_resource_view().
2012-11-28 14:42:35 +01:00
Henri Verbeet
be65d6ab3c
d3d10core/tests: Don't reuse the device.
2012-11-28 14:42:22 +01:00
Henri Verbeet
7f62678c16
d3d10core: Implement d3d10_device_DrawIndexedInstanced().
2012-11-27 16:54:57 +01:00
Henri Verbeet
86779241c6
d3d10core: Implement d3d10_device_IAGetInputLayout().
2012-11-26 11:50:30 +01:00
Henri Verbeet
dc67be012f
d3d10core: Implement d3d10_device_SOGetTargets().
2012-11-23 14:40:36 +01:00
Henri Verbeet
5b781d709d
d3d10core: Implement d3d10_device_SOSetTargets().
2012-11-23 14:40:30 +01:00
Henri Verbeet
9e97bff539
d3d10core: Implement d3d10_device_RSGetScissorRects().
2012-11-22 14:54:19 +01:00
Henri Verbeet
2a8359d44c
d3d10core: Implement d3d10_device_RSSetScissorRects().
2012-11-22 14:54:14 +01:00
Henri Verbeet
860c0eb24e
d3d10core: Implement d3d10_device_IAGetVertexBuffers().
2012-11-21 13:26:03 +01:00
Henri Verbeet
d0d213f7d1
d3d10core: Implement d3d10_device_IAGetIndexBuffer().
2012-11-21 13:25:57 +01:00
Andrew Talbot
608be1715b
d3d10core: Remove unused variables.
2012-11-21 13:25:11 +01:00
Henri Verbeet
e00f1590db
d3d10core: Fix the stream index in d3d10_device_IASetVertexBuffers().
2012-11-15 12:19:41 +01:00
Henri Verbeet
25c449247f
d3d10core: Implement d3d10_device_GSGetShader().
2012-11-14 11:27:44 +01:00
Henri Verbeet
9081f8afb1
d3d10core: Implement d3d10_device_GSSetShader().
2012-11-14 11:27:40 +01:00
Henri Verbeet
d2fa9a75b2
d3d10core: Implement d3d10_device_PSGetShader().
2012-11-13 16:54:53 +01:00
Henri Verbeet
5dc94d04a5
d3d10core: Implement d3d10_device_VSGetShader().
2012-11-13 16:54:53 +01:00
Henri Verbeet
2bf46c60fb
wined3d: Replace the face and level parameters to device_parent_create_texture_surface() with the sub-resource index.
2012-10-25 11:48:25 +02:00
Henri Verbeet
ddbe791d37
wined3d: Set texture_level in surface_set_texture_target() as well.
2012-10-24 11:24:22 +02:00
Henri Verbeet
272f63263e
d3d10core: Implement d3d10_device_OMGetBlendState().
2012-10-04 14:09:43 +02:00
Henri Verbeet
e69c28a0f7
d3d10core: Implement d3d10_device_OMSetBlendState().
2012-10-04 14:09:40 +02:00
Henri Verbeet
e4df956f95
d3d10core: Implement d3d10_device_OMGetDepthStencilState().
2012-10-03 11:19:40 +02:00
Henri Verbeet
a78fa40816
d3d10core: Implement d3d10_device_OMSetDepthStencilState().
2012-10-03 11:19:40 +02:00
Henri Verbeet
c7caabb864
d3d10core: Implement d3d10_device_RSGetState().
2012-10-01 23:07:46 +02:00
Henri Verbeet
fbcce6787a
d3d10core: Implement d3d10_device_RSSetState().
2012-10-01 23:07:43 +02:00
Henri Verbeet
2f350a5a2d
d3d10core: Add a missing return to d3d10_device_CreateGeometryShader().
2012-09-19 23:54:51 +02:00
Henri Verbeet
843db2c364
d3d10core: Replace a FIXME with a TRACE in d3d10_device_CreateSamplerState().
2012-09-19 13:04:37 +02:00
Henri Verbeet
9fb039bb01
d3d10core: Implement d3d10_device_RSGetViewports().
2012-09-18 10:18:33 +02:00
Henri Verbeet
69a63024ef
d3d10core: Implement d3d10_device_RSSetViewports().
2012-09-18 10:18:28 +02:00
Henri Verbeet
bf23df7980
d3d10core/tests: Add a small test for ID3D10Device_CreateShaderResourceView().
2012-09-14 15:43:16 +02:00
Henri Verbeet
83e21f8793
d3d10core: Implement d3d10_shader_resource_view_GetDesc().
2012-09-14 15:43:12 +02:00
Henri Verbeet
9235336894
d3d10core/tests: Add a small test for ID3D10Device_CreateDepthStencilView().
2012-09-13 10:23:05 +02:00
Henri Verbeet
05d1fbb392
d3d10core: Implement d3d10_depthstencil_view_GetDesc().
2012-09-13 10:22:59 +02:00
Henri Verbeet
b6b9c15696
d3d10core: Implement d3d10_shader_resource_view_GetResource().
2012-09-12 12:46:00 +02:00
Henri Verbeet
d2fdeaa4fe
d3d10core: Implement d3d10_depthstencil_view_GetResource().
2012-09-11 18:03:49 +02:00
Henri Verbeet
739e302e6f
d3d10core: Store the resource in the d3d10core rendertarget view.
2012-09-10 11:40:08 +02:00
Henri Verbeet
129ad9cbf5
d3d10core: Update the MipLevels field after texture creation.
2012-09-06 15:45:31 +02:00
Jacek Caban
57074556d2
d3d10core: Use proper helpers for iface calls.
2012-08-28 14:41:11 +02:00
Henri Verbeet
7e2999e70f
d3d10core: Implement d3d10_texture2d_Map().
2012-07-12 11:45:28 -05:00
Henri Verbeet
21a7b18311
d3d10core: Implement d3d10_texture2d_Unmap().
2012-07-12 11:45:25 -05:00
Henri Verbeet
2b4c72b13b
d3d10core: Always create a wined3d texture for d3d10core textures.
2012-07-12 11:45:21 -05:00
Henri Verbeet
0821c8024b
wined3d: Merge the device parent create_rendertarget() and create_depth_stencil() handlers.
2012-07-11 09:57:07 -05:00
Henri Verbeet
8ad98cdbee
wined3d: Get rid of the "discard" parameter to device_parent_create_depth_stencil().
2012-07-10 10:39:42 -05:00
Henri Verbeet
9b74ebd794
wined3d: Get rid of the "lockable" parameter to device_parent_create_rendertarget().
2012-07-10 10:39:34 -05:00
Henri Verbeet
0a9ac7e992
d3d10core: COM cleanup for the ID3D10Buffer interface.
2012-04-16 12:04:48 +02:00
Henri Verbeet
8cef8b3587
wined3d: Unify the wined3d_mapped_rect and wined3d_mapped_box structures.
2012-04-13 10:48:51 +02:00
Michael Stefaniuc
b01ce6b633
d3d10core: Standardize COM aggregation for d3d10_device.
2012-03-26 18:15:04 +02:00
Henri Verbeet
3769afa33d
wined3d: Get rid of the WINED3DSURFTYPE typedef.
2012-01-20 13:31:33 +01:00
Henri Verbeet
c35c30fa68
wined3d: Get rid of the WINED3DDECLMETHOD typedef.
2012-01-19 11:56:41 +01:00
Henri Verbeet
e53a277305
wined3d: Get rid of the WINED3DPOOL typedef.
2012-01-18 12:37:38 +01:00
Henri Verbeet
a44b062aed
wined3d: Get rid of the WINED3DCUBEMAP_FACES typedef.
2012-01-13 17:34:31 +01:00
Henri Verbeet
9a8491045e
wined3d: Get rid of the WINED3DMULTISAMPLE_TYPE typedef.
2012-01-09 12:22:17 +01:00
Henri Verbeet
e6a4a86608
wined3d: Get rid of the WINED3DPRIMITIVETYPE typedef.
2011-12-12 10:21:01 +01:00
Henri Verbeet
2fa5a22100
wined3d: Get rid of the WINED3DLOCKED_BOX typedef.
2011-12-06 15:50:58 +01:00
Henri Verbeet
94c9b0b4fc
wined3d: Get rid of the WINED3DPRESENT_PARAMETERS typedef.
2011-12-02 11:51:29 +01:00
Henri Verbeet
3430e11605
wined3d: Add a flags parameter to wined3d_surface_create().
2011-11-30 11:50:48 +01:00
Henri Verbeet
82dd612d50
ddraw: Resize the swapchain window on mode changes in exclusive mode.
2011-11-30 11:50:42 +01:00
Henri Verbeet
6a529e5847
wined3d: Get rid of the WINED3DVERTEXELEMENT typedef.
2011-11-25 16:21:57 +01:00
Henri Verbeet
7459180a51
wined3d: Get rid of the WINED3DCOLORVALUE typedef.
2011-11-16 09:41:50 +01:00
Matteo Bruni
7c65ab91ad
d3d10core/tests: Add some shader creation tests.
2011-09-26 17:57:57 +02:00
Matteo Bruni
d9c9b5c365
d3d10core: Fixup HRESULT in a bunch of error cases.
2011-09-26 17:57:50 +02:00
Matteo Bruni
2a146448f4
wined3d: When creating a new shader, check shader type and version.
2011-09-26 17:57:48 +02:00
Michael Stefaniuc
3808a6f371
d3d10core: COM cleanup for the ID3D10InputLayout iface.
2011-07-12 13:25:43 +02:00
Michael Stefaniuc
6c866e06bf
d3d10core: Use unsafe_impl_from_ID3D10InputLayout for an app provided iface.
2011-07-12 13:25:40 +02:00
Michael Stefaniuc
dc3ee8b947
d3d10core: COM cleanup for the ID3D10RenderTargetView iface.
2011-07-12 13:25:37 +02:00
Michael Stefaniuc
0b78866a0f
d3d10core: Use unsafe_impl_from_ID3D10RenderTargetView for app provided ifaces.
2011-07-12 13:25:34 +02:00
Michael Stefaniuc
f196050f28
d3d10core: COM cleanup for the ID3D10PixelShader iface.
2011-07-12 11:37:01 +02:00
Michael Stefaniuc
887a4ff3cc
d3d10core: Use unsafe_impl_from_ID3D10PixelShader for an app provided iface.
2011-07-12 11:36:57 +02:00
Michael Stefaniuc
cc0cc6a80f
d3d10core: COM cleanup for the ID3D10VertexShader iface.
2011-07-12 11:36:53 +02:00
Michael Stefaniuc
ec415eaf3c
d3d10core: Use unsafe_impl_from_ID3D10VertexShader for an app provided iface.
2011-07-12 11:36:49 +02:00
Michael Stefaniuc
eeacb8f2c9
d3d10core: COM cleanup for the ID3D10Device iface.
2011-07-11 18:32:23 +02:00
Michael Stefaniuc
2f76274df9
d3d10core: COM cleanup for the ID3D10Query iface.
2011-06-02 16:24:07 +02:00
Michael Stefaniuc
db9823e02a
d3d10core: COM cleanup for the ID3D10SamplerState iface.
2011-06-02 16:24:03 +02:00
Michael Stefaniuc
54ac05a871
d3d10core: COM cleanup for the ID3D10RasterizerState iface.
2011-06-02 16:24:00 +02:00
Michael Stefaniuc
815470e68b
d3d10core: COM cleanup for the ID3D10DepthStencilState iface.
2011-06-02 16:23:54 +02:00
Michael Stefaniuc
a4a4a420f8
d3d10core: COM cleanup for the ID3D10BlendState iface.
2011-06-01 15:16:36 +02:00
Michael Stefaniuc
2b1001907f
d3d10core: COM cleanup for the ID3D10GeometryShader iface.
2011-06-01 15:16:32 +02:00
Michael Stefaniuc
36de21b3a1
d3d10core: COM cleanup for the ID3D10ShaderResourceView iface.
2011-06-01 15:16:29 +02:00
Michael Stefaniuc
7aff686ea1
d3d10core: COM cleanup for the ID3D10DepthStencilView iface.
2011-06-01 15:16:23 +02:00
Michael Stefaniuc
a8712d5522
d3d10core: COM cleanup for the ID3D10Texture3D iface.
2011-06-01 15:16:19 +02:00
Michael Stefaniuc
7d295ddfa4
d3d10core: COM cleanup for the ID3D10Texture2D iface.
2011-06-01 15:15:57 +02:00
Henri Verbeet
3032b40c80
wined3d: Get rid of the IWineD3DDeviceParent interface.
2011-05-19 10:06:21 +02:00
Frédéric Delanoy
32f79acc1f
d3d10core: dxgi_format_from_wined3dformat should return DXGI_FORMAT enum values in all cases.
2011-05-18 17:07:19 +02:00
Henri Verbeet
8d4ca1f815
wined3d: Remove COM from the device implementation.
2011-05-17 10:06:18 +02:00
Henri Verbeet
979e3744f7
wined3d: Remove state management methods from the IWineD3DDevice interface.
2011-05-17 10:06:15 +02:00
Marcus Meissner
cb58f81a38
d3d10core: Mark a struct as static.
2011-05-16 16:35:33 +02:00
Henri Verbeet
00a5f38595
wined3d: Remove object creation methods from the IWineD3DDevice interface.
2011-05-11 14:56:48 +02:00
Henri Verbeet
1c1de920e3
wined3d: Remove COM from the surface implementation.
2011-04-29 16:52:13 +02:00
Henri Verbeet
2c450571e5
wined3d: Remove COM from the volume implementation.
2011-04-15 10:07:57 +02:00
Henri Verbeet
3ec19590d5
wined3d: Remove COM from the swapchain implementation.
2011-04-14 17:13:57 +02:00
Henri Verbeet
2ab5b833d7
wined3d: Remove COM from the rendertarget view implementation.
2011-04-06 12:05:07 +02:00
Henri Verbeet
f8f83ff2f7
wined3d: Remove COM from the shader implementation.
2011-03-31 12:37:46 +02:00
Henri Verbeet
3d4fe0b750
wined3d: Get rid of IWineD3DPixelShader.
2011-03-30 12:18:03 +02:00
Henri Verbeet
9ea2ee5f4e
wined3d: Get rid of IWineD3DGeometryShader.
2011-03-30 12:17:56 +02:00
Henri Verbeet
49725ba583
wined3d: Get rid of IWineD3DVertexShader.
2011-03-30 12:17:51 +02:00
Henri Verbeet
fd8e18bd2b
wined3d: Remove COM from the texture implementation.
2011-03-28 17:08:52 +02:00
Henri Verbeet
ed0037854a
wined3d: Get rid of IWineD3DVolumeTexture.
2011-03-16 14:14:21 +01:00
Henri Verbeet
e409b83bcb
wined3d: Get rid of IWineD3DVolumeTexture::Unmap().
2011-03-15 17:14:06 +01:00
Henri Verbeet
4c3d55f10e
wined3d: Get rid of IWineD3DVolumeTexture::Map().
2011-03-15 17:14:06 +01:00
Henri Verbeet
b9fae5e9a8
wined3d: Don't require container parents for IWineD3DDeviceParent methods to be COM objects.
2011-03-08 12:27:41 +01:00
Henri Verbeet
a27ee75ed2
wined3d: Remove COM from the buffer implementation.
2011-03-04 16:25:58 +01:00
Henri Verbeet
1de6adfbae
wined3d: Make IWineD3DResourceImpl an independent structure.
2011-03-01 13:21:59 +01:00
Henri Verbeet
5765632d9f
wined3d: Remove COM from the vertex declaration.
2011-02-03 13:15:17 +01:00
Henri Verbeet
bbc7b5ac20
d3d10core: Try to create a software adapter when no regular adapters are found as well.
2010-10-25 14:29:42 +02:00
Henri Verbeet
4a626fda42
d3d10core: Implement ID3D10Texture3D::Map().
2010-10-20 18:37:07 +02:00
Henri Verbeet
292c8c36de
d3d10core: Implement ID3D10Texture3D::Unmap().
2010-10-20 18:37:07 +02:00
Henri Verbeet
8ebc180055
d3d10core: Implement ID3D10Buffer::Map().
2010-10-15 16:20:02 +02:00
Henri Verbeet
0749d139b4
d3d10core: Implement ID3D10Buffer::Unmap().
2010-10-15 16:19:58 +02:00
Henri Verbeet
0d4e0bc9ba
d3d10core: Add a stub ID3D10Texture3D implementation.
2010-10-14 17:54:52 +02:00
Henri Verbeet
81c3f289a3
d3d10core: Rename texture2d.c to texture.c.
2010-10-14 17:54:52 +02:00
Henri Verbeet
07ace95fcd
d3d10core: Implement device_parent_CreateVolume().
2010-10-14 17:54:52 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Henri Verbeet
6c4c351791
wined3d: Don't require wined3d object parents to be COM objects.
2010-09-01 14:01:02 +02:00
Henri Verbeet
c568916f9e
wined3d: Implicit depth/stencil surfaces don't have a container.
...
They're owned by the device instead of the swapchain.
2010-08-31 14:23:47 +02:00