Commit Graph

362 Commits

Author SHA1 Message Date
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