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
Henri Verbeet
32eb698612
d3d10core: Implement ID3D10Device::PSSetShader().
2009-05-11 12:43:25 +02:00
Henri Verbeet
cc4d5dc97f
d3d10core: Release the wined3d shader when the d3d10 pixel shader is destroyed.
2009-05-11 12:43:20 +02:00
Henri Verbeet
bb3b5a7305
d3d10core: Parse pixelshader output signatures and pass them to CreatePixelShader().
2009-05-11 12:43:15 +02:00
Henri Verbeet
d6fa27f5a1
d3d10core: Improve the shader input/output signature parsing code.
...
Make a copy of the string data, and move the function to shader.c.
2009-05-11 12:43:08 +02:00
Henri Verbeet
9a579a43b1
wined3d: Use the output signature to map SM4 pixel shader outputs to the appropriate register.
2009-05-11 12:43:00 +02:00