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
Henri Verbeet
cc5271d1b7
wined3d: Rename WINED3DFORMAT to wined3d_format_id.
2010-08-24 12:25:01 +02:00
Henri Verbeet
b93a9b37fa
wined3d: Pass a WINED3DCOLORVALUE structure to IWineD3DDeviceImpl_ClearRendertargetView().
...
The structure is nicer to work with than the array.
2010-08-23 12:05:24 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens
7cc429312e
d3d10core/tests: Fix a test failure when no adapters are present.
2010-02-01 12:49:37 +01:00
Henri Verbeet
73c6355d75
d3d10core: Add a wined3d geoemtry shader to struct d3d10_geometry_shader.
2010-01-04 11:41:28 +01:00
Henri Verbeet
e4e1c27987
d3d10core: Add a stub ID3D10Query implementation.
2009-12-14 12:04:05 +01:00
Henri Verbeet
efbd38ae84
dxgi: The "unknown0" parameter to DXGID3D10CreateDevice() is a pointer.
...
Fixes stack corruption in the 64-bit tests. Thanks to Paul Vriens for debugging this.
2009-12-08 12:33:43 +01:00
Henri Verbeet
03f61decc9
d3d10core: Allow a NULL vertex buffer to be set in IASetVertexBuffers().
2009-12-02 13:06:07 +01:00
Henri Verbeet
ee396dda28
d3d10core: Allow a NULL input layout to be set in IASetInputLayout().
2009-12-02 13:06:07 +01:00
Henri Verbeet
ccbcf8f291
d3d10core: Add a separate function for device initialization.
2009-11-19 12:22:04 +01:00
Henri Verbeet
e3ac26d58c
d3d10core: Add a stub ID3D10BlendState implementation.
2009-11-04 13:07:56 +01:00
Henri Verbeet
6d6d8eb1d8
d3d10core: Add a stub ID3D10SamplerState implementation.
2009-11-03 21:17:07 +01:00
Henri Verbeet
4b341c252c
d3d10core: Add a stub ID3D10RasterizerState implementation.
2009-11-03 21:17:03 +01:00
Henri Verbeet
d7589589a9
d3d10core: Add a stub ID3D10DepthStencilState implementation.
2009-11-03 21:17:00 +01:00
Henri Verbeet
6075f57168
d3d10core: Add a stub ID3D10ShaderResourceView implementation.
2009-11-03 21:16:23 +01:00
Henri Verbeet
4bb4bad11a
d3d10core: Add a stub ID3D10DepthStencilView implementation.
2009-11-03 21:16:17 +01:00
Henri Verbeet
c214022eca
d3d10core: Fix a small whitespace error.
2009-10-30 11:29:18 +01:00
Henri Verbeet
3333b12487
d3d10core: Add a separate function for d3d10_rendertarget_view initialization.
2009-10-30 11:29:11 +01:00
Henri Verbeet
39d6f64885
d3d10core: Add a separate function for d3d10_geometry_shader initialization.
2009-10-30 11:29:01 +01:00
Henri Verbeet
60e32659a7
wined3d: Rename IWineD3DDevice::SetIndices() to IWineD3DDevice::SetIndexBuffer().
2009-09-25 15:14:44 +02:00
Henri Verbeet
789372afa8
wined3d: Don't free D3D pixel shaders until the wined3d pixel shader is destroyed.
2009-09-24 13:24:53 +02:00
Henri Verbeet
dde50a4748
d3d10core: Add a separate function for d3d10_pixel_shader initialization.
2009-09-24 13:24:34 +02:00
Henri Verbeet
ca05ef5dd0
wined3d: Don't free D3D vertex shaders until the wined3d vertex shader is destroyed.
2009-09-24 13:24:19 +02:00
Henri Verbeet
0a72acc7f4
d3d10core: Add a separate function for d3d10_vertex_shader initialization.
2009-09-24 13:23:58 +02:00
Henri Verbeet
66a7236590
wined3d: Don't free D3D vertex declarations until the wined3d vertex declaration is destroyed.
2009-09-23 12:36:28 +02:00
Henri Verbeet
cc68900d86
d3d10core: Add a separate function for d3d10_input_layout initialization.
2009-09-23 12:34:53 +02:00
Henri Verbeet
802674e078
d3d10core: Mark internal symbols hidden.
2009-09-22 16:17:44 +02:00
Henri Verbeet
93b0600829
wined3d: Don't free D3D buffers until the wined3d buffer is destroyed.
2009-09-18 08:55:25 -05:00
Henri Verbeet
c2a240e8c0
d3d10core: Add a separate function for d3d10_buffer initialization.
2009-09-18 08:54:52 -05:00
Henri Verbeet
a5214c306f
wined3d: Don't free D3D surfaces until the wined3d surface is destroyed.
...
This prevents for example a d3d9 depth stencil from being destroyed when it
has no external references but is still in use by the device/stateblock. A
nice side effect is that it simplifies handling of "implicit" surfaces like
the frontbuffer and backbuffers, as well as the forwarding of reference counts
for surfaces that are part of a texture.
2009-09-16 13:04:32 -05:00
Henri Verbeet
57b196b2e4
d3d10core: Add a separate function for d3d10_texture2d initialization.
2009-09-15 14:32:17 -05:00
Henri Verbeet
fa07d93730
d3d10core: Implement ID3D10Device::DrawIndexed().
2009-09-11 12:09:27 +02:00
Henri Verbeet
956e800c81
d3d10core: Add an initial implementation of ID3D10Device::IASetIndexBuffer().
2009-09-11 12:09:20 +02:00
Henri Verbeet
1ba006037c
d3d10core: Use debugstr_a()/debugstr_an() to trace external strings.
2009-09-10 10:49:53 +02:00
Francois Gouget
3c80cf5210
d3d10core: Fix compilation on systems that don't support nameless unions.
2009-08-31 12:49:21 +02:00
Francois Gouget
64e419ab6c
d3d10core/tests: Fix compilation on systems that don't support nameless unions.
2009-08-31 12:41:37 +02:00
Henri Verbeet
4bc6b376e0
wined3d: Remove the useless "resource_type" parameter from IWineD3DDevice::CreateSurface().
2009-06-12 17:33:15 +02:00
Henri Verbeet
13a05caa97
wined3d: Remove the "declaration" parameter to IWineD3DDeviceImpl_CreateVertexShader().
...
Once upon a time this was used for creating fake vertex shader
attribute semantics for d3d8 shaders. We don't need this anymore since
device_stream_info_from_declaration() will use the vertex
declaration's output slot to load the data, if present. That also
avoids the potentially expensive matching of attribute semantics
between vertex shader and declaration for d3d8.
2009-05-28 12:42:18 +02:00
Henri Verbeet
71382b5cbb
d3d10core: Don't complain as much about setting a NULL geometry shader.
...
Setting a NULL geometry shader doesn't hurt much, and it reduces console spam
a bit.
2009-05-28 12:42:18 +02:00
Henri Verbeet
057513cf66
d3d10core: Implement ID3D10Device::VSSetShader().
2009-05-28 12:42:18 +02:00
Henri Verbeet
fcee1b709c
d3d10core: Implement ID3D10Device::CreateVertexShader().
2009-05-26 13:50:01 +02:00