Commit Graph

882 Commits

Author SHA1 Message Date
Stefan Dösinger ee13cc4903 ddraw: Some EnumZBufferFormat fixes. 2008-03-27 11:10:29 +01:00
Stefan Dösinger 8662bd7555 ddraw: Fix some Z buffer formats. 2008-03-27 11:10:20 +01:00
Francois Gouget eab196b35a ddraw: Remove trailing spaces in ok() calls. 2008-03-27 11:05:40 +01:00
Stefan Dösinger 8869c0f147 d3d: De-pointerize the WINED3DCAPS structure. 2008-03-25 19:36:38 +01:00
Kolbjørn Fredheim a40185f12f ddraw: Don't clear the return value anymore, we fill the fields anyway, also a test for the behaviour. 2008-03-25 12:50:33 +01:00
Alexander Dorofeyev 7a012df64d ddraw/tests: Add test for ddraw 8-bit mode.
Adds rudimentary test for 8 bit mode ddraw (palettized primary surface). Tests 
things like GetDC and its palette handling and SetPalette affected by patches 
that follow.
2008-03-25 11:53:06 +01:00
Christian Costa c8837b8205 ddraw: DDRAW_dump_flags_nolf must not add LF. 2008-03-25 11:45:05 +01:00
Alexander Dorofeyev e2d8e291d6 ddraw: Fix vertex processing. 2008-03-24 20:41:19 +01:00
Alexander Dorofeyev eddbdbef47 ddraw/tests: Test executebuffer triangle instruction with zero count. 2008-03-24 20:40:18 +01:00
Alexander Dorofeyev bacd2340b4 ddraw/tests: Test SetPalette on non-palettized surfaces. 2008-03-24 20:40:05 +01:00
Alexander Dorofeyev 4b53dde0f5 ddraw: Make SetPalette fail for non-palettized surfaces. 2008-03-24 20:40:00 +01:00
Roderick Colenbrander 41310080a5 ddraw: Use a correct resource type and a valid format. 2008-03-21 15:20:21 +01:00
Cihan Altinay 49c682470c ddraw: Fix refcounting of palettes. 2008-03-17 15:16:03 +01:00
Denver Gingerich 248ae8f112 ddraw: Implement ForceRefreshRate registry entry for overriding DirectX refresh rate. 2008-03-11 15:30:37 +01:00
Rico Schüller 4188af790a ddraw: Fix diffuse and specular color types. 2008-03-06 12:46:46 +01:00
Francois Gouget 9381f22653 ddraw/tests: Don't use 0xaa to avoid any confusion when running with +heap. 2008-03-05 12:18:36 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Stefan Dösinger 069b9c8c1c ddraw: Catch No-op SetRenderTarget operations. 2008-03-03 20:45:54 +01:00
James Hawkins 26ad93947b janitorial: Remove links to any microsoft site. 2008-03-01 12:04:09 +01:00
Rob Shearman f2b77031c3 ddraw: Don't use typeof as it's not portable. 2008-02-27 14:52:24 +01:00
Günther Brammer df5116cc7d ddraw: Return a nullpointer as lpSurface in Lock() if the rect is invalid. 2008-02-25 19:50:30 +01:00
Roderick Colenbrander e2d70fff6b ddraw: Add yv12 detection support. 2008-02-22 12:04:01 +01:00
Alexander Dorofeyev 29d87c6cbf ddraw/tests: Add a test of D3DTBLEND_MODULATE with P8 texture. 2008-02-21 12:53:00 +01:00
Alexander Dorofeyev 9af59fb7f0 ddraw: Release interfaces when exiting with error. 2008-02-21 12:53:00 +01:00
Detlef Riekenberg 1eb52667ac ddraw/tests: Avoid endless loop, when T&L is not supported. 2008-02-20 12:06:28 +01:00
Michael Stefaniuc 01cba07624 ddraw: Add missing unlock on error path. Found by Smatch. 2008-02-19 20:54:50 +01:00
Alexander Dorofeyev 74c380cb7b ddraw/tests: Add test for palette handling in IDirect3DTexture_Load. 2008-02-19 13:39:24 +01:00
Alexander Dorofeyev cfa40a22c9 ddraw/tests: Split d3d1 initialization and destruction into separate functions.
Slight rewrite to make creating additional D3D1 tests easier.
2008-02-19 13:39:23 +01:00
Alexander Dorofeyev ed44f9d130 ddraw: Fix palette handling in IDirect3DTexture_Load.
This fixes a potential refcounting problem and makes the function fail with NULL
destination texture's palette and non-NULL source palette like it does on native.
2008-02-19 13:39:17 +01:00
Alexander Dorofeyev ddd0ec1670 ddraw/tests: Add test for branch instruction with non-zero offset. 2008-02-19 12:06:50 +01:00
Alexander Dorofeyev 4981eda895 ddraw: Fix executebuffer branching with non-zero offset.
Fixes a crash in Moto Racer 2.
2008-02-19 12:06:38 +01:00
Roderick Colenbrander 1079f37407 wined3d: When DDCAPS_ALLOW256 is set, palette entry 0 and 255 are filled with black and white. 2008-02-19 12:06:25 +01:00
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Reece H. Dunn 8354995482 ddraw: Spelling fixes in the d3d test output. 2008-02-06 13:49:45 +01:00
Stefan Dösinger 8ad3a1f49e ddraw: Some drivers return a refresh rate of 0. 2008-02-06 12:43:53 +01:00
Francois Gouget 20b41af9f1 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2008-02-05 12:19:37 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Lei Zhang 8bbb3d68e1 ddraw: Register the DirectDraw 7 Object. 2008-01-23 11:31:42 +01:00
Alexander Dorofeyev 320e253805 ddraw/tests: Add test for D3DTBLEND_MODULATE. 2008-01-22 11:19:34 +01:00
Alexander Dorofeyev 6810ebb4c1 ddraw: Fix handling of alpha with D3DTBLEND_MODULATE. 2008-01-22 11:19:18 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Francois Gouget 7478d9c44d ddraw/tests: Fix compilation on systems that don't support nameless unions. 2008-01-16 12:46:09 +01:00
Alexander Dorofeyev d14ef91c92 ddraw/tests: Add test for rendering vertices with zero rhw. 2008-01-08 12:53:31 +01:00
Peter Dons Tychsen 6e8b7c4cef ddraw: Add missing pitch in callback from EnumDisplayModes(). 2008-01-04 13:55:12 +01:00
Andrew Talbot f074c0e162 ddraw: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Alexander Dorofeyev 18143f693b ddraw: Remove redundant iface<->impl casts in IDirect3DTextureImpl_Load.
The implementation pointer retrieved from interface ptr wasn't being used for
anything except retrieving same interface ptr back.
2007-12-31 17:48:39 +01:00
Alexander Dorofeyev 9dbdacbd82 ddraw: Release palette interfaces. 2007-12-31 17:48:16 +01:00
Alexander Dorofeyev f4337b4714 ddraw: Fix incorrect WARN text. 2007-12-17 12:38:43 +01:00
Francois Gouget 05170942de ddraw/tests: Fix compilation on systems that don't support nameless unions. 2007-12-10 12:06:09 +01:00
Alexander Dorofeyev 4051a09eb2 ddraw: Fix wrong initialization order in IDirect3DDevice vtable. 2007-12-08 19:54:51 +01:00