Stefan Dösinger
9b867f4d91
ddraw: Forward the mag filter correctly to wined3d.
...
Fixes the erros when using anisotropic mag filtering in the d3d7
filter demo.
2007-05-08 18:28:29 +02:00
Stefan Dösinger
0fb41a8845
wined3d: Make the blit -> flip work for windowed rendering.
2007-05-08 18:28:08 +02:00
Stefan Dösinger
d93e161b1f
d3d: Move clippers from DDraw to wined3d.
2007-05-08 18:27:44 +02:00
Detlef Riekenberg
00028b0c37
ddraw/tests: Fix typos in messages.
2007-05-08 13:25:55 +02:00
Stefan Dösinger
00e37a81b2
ddraw: Primary surfaces always have screen size.
2007-05-07 21:43:09 +02:00
Stefan Dösinger
742260d418
ddraw: Adjust the d3d viewport when changing the back buffer.
...
WineD3D sets up the viewport according to the front buffer, so this
needs to be changed to the values of the render target passed when the
d3d7 device is created and this device turns out not to be the known
front or back buffer.
2007-05-07 21:42:59 +02:00
Stefan Dösinger
2ecacc619f
ddraw: Fix reported caps on compressed surfaces.
...
Compressed surfaces in ddraw do not have a pitch, instead the full
surface size is reported. Also adds tests for the extact behavior and
surface flags set.
2007-05-07 21:42:33 +02:00
Francois Gouget
26553b6c1d
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2007-05-07 14:30:14 +02:00
H. Verbeet
0b9808761f
ddraw: Add a surface locking test.
2007-05-04 13:41:37 +02:00
H. Verbeet
7b48db196f
d3d: Fix the surface locking rectangle validation.
2007-05-04 13:41:13 +02:00
Stefan Dösinger
6acc0a151d
ddraw: Forward all 4 world matrices to wined3d.
2007-05-03 14:24:26 +02:00
Stefan Dösinger
d913744f1e
d3d: Calculate the size of WINED3DFVF_XYZBx FVFs.
2007-05-03 14:24:16 +02:00
Stefan Dösinger
ffae39c3f3
ddraw: Update the wined3d depth stencil on device creation, render.
2007-05-01 11:42:25 +02:00
Stefan Dösinger
378005442e
ddraw: Cube map structure test.
2007-05-01 11:42:25 +02:00
Stefan Dösinger
cdaf29f64e
ddraw: Cube texture support.
2007-05-01 11:42:25 +02:00
Stefan Dösinger
94b3fddec8
d3d: Pass the cube face to Create*Texture's surface creation callback.
2007-05-01 11:42:25 +02:00
Stefan Dösinger
7ca369d9b6
ddraw: Store a WineD3DBaseTexture instead of a WineD3DTexture.
2007-05-01 11:42:24 +02:00
Andrew Talbot
0629946e65
ddraw: Exclude unused headers.
2007-05-01 11:42:24 +02:00
Francois Gouget
5a8fc34033
Assorted spelling fixes.
2007-04-30 12:35:11 +02:00
Stefan Dösinger
a61e58dbf4
ddraw: Add a test for surface attachments.
2007-04-30 12:22:14 +02:00
Stefan Dösinger
9e3e799ca3
ddraw: Complex surfaces form a tree.
2007-04-30 12:22:06 +02:00
Stefan Dösinger
87544190a5
ddraw: Move the additional surface creation into a seperate function.
2007-04-30 12:21:21 +02:00
Stefan Dösinger
d30c25be83
ddraw: Do not access the surface connection structure directly in SetPalette.
2007-04-30 12:21:09 +02:00
Stefan Dösinger
b4d48c7fce
ddraw: Search for d3d primary a bit differently.
2007-04-30 12:20:56 +02:00
Stefan Dösinger
88af9702f1
ddraw: Use EnumAttachedSurfaces for SetColorKey.
2007-04-27 11:43:45 +02:00
Stefan Dösinger
a46012eff2
ddraw: Search for texture sublevels with GetAttachedSurface.
2007-04-27 11:43:36 +02:00
Stefan Dösinger
c2ffffe1ff
ddraw: Use EnumAttachedSurfaces to search for a render target.
2007-04-27 11:43:27 +02:00
Stefan Dösinger
86eb79b0c9
ddraw: Add a test for EnumSurfaces.
2007-04-27 11:43:17 +02:00
Stefan Dösinger
460f71dcf8
d3d: Fix ProcessVertices.
...
IDirect3DDevice9::ProcessVertices takes a vertex declaration, not a
vertex buffer. The source for ProcessVertices is taken from the
stateblock, not the vertex declaration.
2007-04-26 14:54:29 +02:00
Stefan Dösinger
0386eed91f
ddraw: Get rid of FVFs.
...
Remove all IWineD3DDevice::SetFVF calls and instead create converted
vertex declarations and use them. The idea is to remove the FVF paths
from wined3d to simplify the code, and optimize the vertex declaration
codepath.
2007-04-26 14:54:17 +02:00
Andrew Talbot
e4253fd8b9
ddraw: Constify some variables.
2007-04-23 14:42:06 +02:00
Stefan Dösinger
725057da47
d3d: Remove dependency on ddraw.h header.
2007-04-16 13:20:15 +02:00
Stefan Dösinger
8a5b6df483
d3d: Enumerate palettized formats for ddraw.
2007-04-16 12:12:34 +02:00
Stefan Dösinger
290f2eb146
wined3d: Add Filtering to IWineD3DSurface::Blt and handle it.
...
This is to allow StretchRect to pass the texture filter to WineD3D.
DirectDraw sets the texture filter to WINED3DTEXF_NONE, simmilar to all
other functions which do not need filtering.
2007-04-07 10:58:10 +02:00
Stefan Dösinger
1d4a4b75bc
ddraw: When changing the back buffers also update the render target.
2007-03-29 21:00:25 +02:00
Francois Gouget
d9e8a0f63e
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
2007-03-28 12:36:13 +02:00
Andrew Talbot
4eb936db33
ddraw: Replace inline static with static inline.
2007-03-20 13:00:45 +01:00
A C Hurst
8f14d4639d
wined3d: Fix struct size calculation in EnumTextureFormats.
2007-03-19 12:23:29 +01:00
Stefan Dösinger
022e884342
wined3d/ddraw: Forward DDSCL_MULTITHREADED to wined3d.
2007-03-19 12:17:18 +01:00
Stefan Dösinger
4b445124d3
direct3d: Add a fixed function fog test.
2007-03-15 12:14:50 +01:00
Stefan Huehner
51a7ca3440
Change some functions arguments from () -> (void).
2007-03-12 12:25:31 +01:00
Francois Gouget
4a1435aa79
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2007-03-05 12:13:20 +01:00
Stefan Dösinger
4a16dbbbec
wined3d: More Clear fixes.
...
Test for rectangles with x1 > x2 and y1 > y2. Empire earth passes such rects.
2007-02-27 12:20:10 +01:00
Francois Gouget
a98b9d76c6
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2007-02-26 17:34:06 +01:00
Francois Gouget
dbbef46e5a
ddraw/tests: There is no unnamed union in D3DLIGHT7.
2007-02-26 17:34:04 +01:00
Stefan Dösinger
efc03f0a34
wined3d: Index buffer fixes.
2007-02-21 10:57:08 +01:00
Stefan Dösinger
76b7cac7af
wined3d: Light parameter fixes.
2007-02-21 10:55:31 +01:00
Francois Gouget
93494f2ac0
Assorted spelling fixes.
2007-02-20 20:30:51 +01:00
Stefan Dösinger
bbcf98209c
wined3d: No bounds checking is done on sampler / texture numbers.
2007-02-20 11:49:42 +01:00
Stefan Dösinger
27113156d9
wined3d: Remove IWineD3DDevice::EnumDisplayModes.
2007-02-20 11:47:46 +01:00