Commit Graph

106 Commits

Author SHA1 Message Date
Stefan Dösinger
fce54bcc49 wined3d: Add WINED3DDISPLAYMODE to wined3d_types.h. 2006-04-03 12:17:22 +02:00
Stefan Dösinger
6a8578f847 wined3d: Add WINED3DDEVTYPE to wined3d_types.h. 2006-03-30 12:45:57 +02:00
Stefan Dösinger
1d47556195 wined3d: Use WINED3DSWAPEFFECT in the wined3d headers and code. 2006-03-28 17:51:45 +02:00
Stefan Dösinger
d75fd75d48 wined3d: Add WINED3DPOOL to wined3d_types.h. 2006-03-28 17:34:42 +02:00
Stefan Dösinger
b4b295c2a5 wined3d: Add WINED3DMULTISAMPLE_TYPE to wined3d_types.h. 2006-03-27 11:30:49 +02:00
Stefan Dösinger
0f7eb52789 wined3d: Add WINED3DTRIPATCH_INFO to wined3d_types.h. 2006-03-27 11:30:49 +02:00
Stefan Dösinger
6af24c816d wined3d: Rectpatch code fix.
Update the wined3d code to use WINED3DRECTPATCH_INFO, which was added
with an older patch.
2006-03-24 12:13:50 +01:00
Stefan Dösinger
6cc87406cf wined3d: Add WINED3DINDEXBUFFER_DESC to wined3dtypes.h. 2006-03-15 11:30:39 +01:00
Stefan Dösinger
9f46792ba2 wined3d: Add WINED3DVERTEXBUFFER_DESC to wined3d_types.h. 2006-03-13 13:32:01 +01:00
Stefan Dösinger
913df5b143 wined3d: Consistently use WINED3DRESOURCETYPE. 2006-03-10 21:43:00 +01:00
Stefan Dösinger
6104c67613 wined3d: Use WINED3DPRESENT_PARAMETERS in IWineD3DSwapChain::GetPresentParameters. 2006-03-09 12:51:26 +01:00
H. Verbeet
07004966a8 wined3d: Fix the relation between volumes and their container. 2006-03-06 20:08:36 +01:00
H. Verbeet
f7356a34c3 wined3d: Fix the relation between surfaces and their container. 2006-03-06 20:08:22 +01:00
Francois Gouget
339a4dbd5b d3d: Fix Validate(Pixel|Vertex)Shader() prototypes.
Fix Validate(Pixel|Vertex)Shader() prototypes so they match the spec file.
Fix the stub message so it is more standard and use consistent
parameter names.
2006-03-03 13:17:20 +01:00
H. Verbeet
75ac954cf5 d3d9: Use an invisible window for tests. 2006-02-10 14:52:10 +01:00
H. Verbeet
9aa0d88c95 d3d9: Add a test for IDirect3DVertexDeclaration9_GetDeclaration. 2006-02-07 12:27:23 +01:00
H. Verbeet
d8d70370dd d3d9: Reorganise the vertexdeclaration tests.
- Split the test for getting and setting vertexdeclaration into one
  for creating the declaration and one for the actual getting and
  setting.
- Add traces for when creating the device or vertexdeclaration fails.
2006-02-07 12:26:59 +01:00
H. Verbeet
b994d057ac wined3d/d3d9: Cleanup GetContainer for volumes. 2006-02-07 12:26:10 +01:00
H. Verbeet
2200f3e2ca wined3d/d3d9: Cleanup GetContainer for surfaces. 2006-02-07 12:25:59 +01:00
H. Verbeet
2bb87a90b2 d3d9: Add traces for when shader support is missing in the shader test. 2005-12-21 20:45:07 +01:00
Paul Vriens
636cb19ad0 d3d9: Don't crash on NULL device_ptr. 2005-12-19 10:00:08 +01:00
Paul Vriens
27462d1d40 d3d9: Don't treat missing d3d9.dll as a failure. 2005-12-15 10:25:06 +01:00
H. Verbeet
fa40b77ad7 d3d9: Add a test for Get/SetVertexDeclaration refcounts. 2005-12-14 11:29:38 +01:00
H. Verbeet
0a0e948b28 d3d9: Check for a NULL shader in IDirect3DDevice9Impl_GetVertexShader
before getting the parent.
2005-12-14 11:29:05 +01:00
Paul Vriens
9a1bc10f5d d3d9: Don't treat missing d3d9.dll as a failure. 2005-12-14 10:50:52 +01:00
H. Verbeet
510c94d2d5 d3d9: Add a test for Get/SetVertexShader and Get/SetPixelShader refcounts. 2005-12-13 12:00:25 +01:00
H. Verbeet
c26ad82e75 d3d9: Add a test for BeginStateBlock and EndStateBlock. 2005-12-09 14:53:28 +01:00
Oliver Stieber
7c482cb9a1 wined3d: Vertex shader 8 support.
Start to add support for DirectX 8 vertex shaders, constants and
registers are now correctly assigned and loaded allowing support for
most basic d3d8 shaders.
2005-12-09 11:23:52 +01:00
Alexandre Julliard
0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Oliver Stieber
58fdd892c6 Remove the setting of the result pointer to NULL in creates, tests
show that windows doesn't set the result to NULL on error.
2005-11-14 11:21:46 +00:00
Francois Gouget
0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Francois Gouget
2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Oliver Stieber
5a48acc660 Allow NULL ppQuery to be passed to CreateQuery. 2005-11-08 12:46:21 +00:00
Roderick Colenbrander
9970133f2b In case of D3D9 the CreateQuery call can be used to retrieve status
information. According to MSDN the 'ppQuery' parameter can be set to
NULL to detect if a certain query Type is supported.
2005-10-31 09:59:56 +00:00
Alexandre Julliard
7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Francois Gouget
6ccb80d9a5 Documentation tweaks to make winapi_check happy. 2005-09-26 09:52:56 +00:00
Oliver Stieber
cd159e3a74 Tidy up d3d9 and finalize passing d3d9 calls to wined3d for now. 2005-08-23 09:34:57 +00:00
Mike McCormack
d252fe6439 Fix pointer type warnings. 2005-08-18 11:45:29 +00:00
Oliver Stieber
e403237f47 Pass all the d3d9 calls onto their wined3d equivalents. 2005-08-18 11:45:17 +00:00
Mike McCormack
8955ac43a3 gcc 4.0 -Wpointer-sign fixes. 2005-07-28 10:16:21 +00:00
Oliver Stieber
7cb748fed2 Makes sure any internal reference counting is passed onto the parent,
any objects referenced by the internal stateblock are released when
the stateblock is released (we don't reference count while a
stateblock is recording, so recorded stateblocks have no references to
clean up).
2005-07-26 18:49:30 +00:00
Oliver Stieber
13621056db Move parameters relating to opengl on the surface structure on to a
glDesciption member.
Removed Level and Target from LoadTexture, and reduced the dependency
on surface->device.
Fixed a couple of compiler warnings in d3d9.
2005-07-11 20:38:27 +00:00
Francois Gouget
28dc5a8afc Assorted spelling fixes. 2005-07-11 10:59:41 +00:00
Oliver Stieber
efbd3ac9e2 Relay all the pixel shader calls from d3d9 to wined3d. 2005-07-08 11:29:21 +00:00
Oliver Stieber
3b0b430824 Added support for vertex declarations to wined3d, it's the last patch
to give wined3d basic functionality.
2005-07-07 20:45:39 +00:00
Oliver Stieber
8a6799d47d Implement render targets using either textures, swapchains or
standalone surfaces.
2005-07-07 20:35:05 +00:00
Oliver Stieber
b9786d5c7c Strip out stateblocks from d3d9 and relay all stateblock calls to
wined3d.
2005-07-05 16:17:31 +00:00
Oliver Stieber
111445b944 Check for a null surface returned from CreateSurface.
Relay GetCreationParameters call to wined3d.
2005-07-01 19:15:42 +00:00
Eric Pouech
809edabfbe Const correctness fixes. 2005-06-27 09:53:46 +00:00
Oliver Stieber
46e7c30a71 Implement swapchains. 2005-06-23 11:05:24 +00:00