Commit Graph

14 Commits

Author SHA1 Message Date
Stefan Dösinger 725f4bfeb1 d3d9: Rework the converted vertex declaration management.
Instead of creating a converted declaration each time SetFVF is
called, exactly one declaration is created for each FVF(on demand) and
stored for the lifetime of the device. This avoids memory leaks and
makes keeping track of converted declarations easier. Wether a
declaration is converted from a fvf or not is now a static information
inside the declaration. Those declarations are not destroyed in
VertexDeclaration::Release, they stay for the lifetime of the
device. This keeps us free from tracking the declaration through
stateblocks
2007-04-18 13:13:45 +02:00
Stefan Dösinger c4eb3de8d8 d3d9: Fix vertex decl test. 2007-04-13 11:42:24 +02:00
Ivan Gyurdiev 9580c3f6c3 d3d9: Add a test for the converted vertex decl. 2007-04-12 16:11:39 +02:00
Ivan Gyurdiev 46c5d223ff d3d9: Break out two helper functions from test_fvf_to_decl. 2007-04-12 16:11:13 +02:00
Francois Gouget 354b9e7aae d3d9/tests: Warn that tests were skipped if we could not load d3d9.dll.
But report a failed test if a mandatory function is missing from it.
Also warn if the hardware capabilities force us to skip some tests.
2007-01-12 11:25:24 +01:00
Louis Lenders c1cc17d827 d3d9: Fix failing tests on windows, when no 3d hardware acceleration is available. 2007-01-02 13:24:08 +01:00
Ivan Gyurdiev 365852c083 d3d9/tests: Printf format fixes for d3d9 tests. 2006-10-09 20:26:09 +02:00
Ivan Gyurdiev 1309844913 wined3d: Implement FVF to DECL9 conversion (with tests). 2006-07-06 16:07:38 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02: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
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