Alexandre Julliard
ebe3c529b1
Janitorial: C booleans must not be compared against TRUE.
2004-12-09 14:07:59 +00:00
Dmitry Timoshkov
627260f89e
Avoid crashes in ddraw.dll when loading it without x11drv, for
...
instance from wineprefixcreate in a text mode console.
2004-12-06 16:21:27 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Francois Gouget
3bb5b093e8
Assorted spelling fixes.
2004-10-22 22:27:51 +00:00
Alexandre Julliard
f5f7a1822c
Removed some more uses of the non-standard ICOM_THIS macro.
2004-09-08 01:50:37 +00:00
Hans Leidekker
fe442b21f7
Fix signed/unsigned comparison warnings.
2004-09-08 01:23:57 +00:00
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard
48c4bb3c31
Get rid of the non-standard ICOM_VTABLE macro.
2004-08-12 23:00:51 +00:00
Christian Costa
479c13b84e
Implemented IDirect3DDevice{2,3}::GetLightState.
...
Fixed traces in execute buffers.
Updated copyright info.
2004-08-06 17:30:44 +00:00
Christian Costa
eac96b5606
Added native and emulated S3TC support.
2004-07-30 18:54:32 +00:00
Lionel Ulmer
c9eb05e560
Better handle the frame-buffer locking case.
2004-07-12 19:47:48 +00:00
Lionel Ulmer
112c426c47
Move the FPS computation from the D3D code to the common code.
2004-06-04 19:37:16 +00:00
Christian Costa
a501ea73ea
Do not return an error when setting a material to NULL.
...
Fixed access to d3d private data.
2004-03-23 23:02:37 +00:00
Christian Costa
7e51de6ea7
Improve D3D7 compatibility.
2004-03-20 02:33:17 +00:00
Lionel Ulmer
2ae876fadf
Fix the Z transform in the XYRZHW case.
2004-01-30 22:57:43 +00:00
Lionel Ulmer
266223ddf1
Also remove in the D3D code the pedantic check on the GetProcAddress
...
extension.
2003-12-30 19:13:32 +00:00
Lionel Ulmer
88b928fd0d
Limit usage of vertex arrays to correct states.
2003-12-08 21:53:40 +00:00
Lionel Ulmer
1eaee42399
Use vertex arrays when possible.
2003-11-25 00:06:33 +00:00
Lionel Ulmer
63d9cfcf11
Fix some other multi-texturing problems.
2003-11-18 23:20:25 +00:00
Lionel Ulmer
a122673ebf
Fix graphical corruption on surface lock when multi-texturing is
...
active.
2003-11-17 20:02:33 +00:00
Lionel Ulmer
a39afdd633
Fix parsing of GL version string in X.Y cases.
2003-11-11 20:38:20 +00:00
Lionel Ulmer
b6ddd8cadb
Better color-keying support.
2003-11-11 00:31:16 +00:00
Lionel Ulmer
4a078c8376
Fix some stupid bug with missing braces.
2003-11-09 01:21:25 +00:00
Christian Costa
4bf5d02c23
Add support for all Z buffer depths that are lower that the current
...
one.
2003-10-16 19:08:33 +00:00
Daniel Marmier
0348649853
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-06 21:03:32 +00:00
Christian Costa
0accacecb2
Small lighting fix.
2003-09-30 00:29:11 +00:00
Lionel Ulmer
8c1c276b5b
- add ZBuffer write support
...
- some TRACEing fixes
2003-09-15 20:00:03 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Lionel Ulmer
4d8d0f03ca
Added support for multi-texturing.
2003-08-18 19:55:11 +00:00
Lionel Ulmer
50fbe7330e
Support the mimap lod bias extension.
2003-08-05 19:18:19 +00:00
Lionel Ulmer
1d45ab4aab
Proper MIRROR texture address support.
2003-08-05 18:28:07 +00:00
Lionel Ulmer
4bc97ce8b4
Report some news caps that were added in DX6.
2003-08-02 00:41:03 +00:00
Lionel Ulmer
1b2f56e62e
Fixed the TEXCOORDINDEX code.
2003-07-30 03:40:39 +00:00
Lionel Ulmer
d1291ba19a
Better caps support (ie more in line with what GL reports).
2003-07-28 19:05:49 +00:00
Lionel Ulmer
3057315863
- added a ddraw_fps debug channel
...
- checked what Windows does on empty surface description
- fix the GetTextureStageStage call
2003-07-26 20:33:23 +00:00
Lionel Ulmer
08cc0d1c73
- do not forget to set the 'initial_upload_done' flag (to have better
...
performance)
- better handling of the 'initial' flag for frame-buffer flushes
2003-07-16 23:28:37 +00:00
Francois Gouget
3ca761220a
Spelling fixes (s/occured/occurred/ and variants).
2003-07-15 20:53:39 +00:00
Lionel Ulmer
ad912cf257
- added fast-path for color-keyed Blts
...
- fix 565 colour-keying conversion
- properly handles Pitch in colour conversion
- easier and less buggy UNPACK_WIDTH support
2003-07-11 03:50:43 +00:00
Lionel Ulmer
51df9314d8
- fix FPS computation
...
- some TRACEing fixes
- optimize BltFast locking rectangles
2003-07-08 21:10:01 +00:00
Lionel Ulmer
3dfdfbfa6f
- some TRACEing fixes
...
- faster Blt to the framebuffer using texture engine
2003-06-23 03:34:34 +00:00
Lionel Ulmer
e10a0fd375
- rewrote the buffer to buffer fast path using Texture engine (much
...
faster on my NVIDIA hardware)
- small optimizations
2003-06-16 20:22:46 +00:00
Lionel Ulmer
c203d68e98
- fix some regressions
...
- GetDC does not lock in ReadOnly mode as it leads to problems with
some D3D optimizations
- added a fast Back => Front / Front => Back Blt fast path
2003-06-16 19:41:34 +00:00
Lionel Ulmer
815118a092
- GL state change optimizations
...
- some more preparations for GL-accelerated Blts
- added debug code to compute FPS (nice when adding optimizations)
2003-06-16 01:23:58 +00:00
Lionel Ulmer
26f51af674
- fixes the COLORFILL case for front-buffer
...
- some preparations for GL-accelerated Blts
- some small optimizations in the Clear code
2003-06-13 23:17:59 +00:00
Lionel Ulmer
f0339d222d
Fix the BLT COLOR_FILL case.
2003-06-13 16:29:18 +00:00
Lionel Ulmer
068fa5d471
- fix the texture upload code when RECT is actually used
...
- optimize FB Locks / Unlocks when RECTs are used
2003-06-04 23:43:29 +00:00
Lionel Ulmer
3f61d28661
- small TRACEing fix
...
- fix bug in texture upload (I wonder how I missed this :-/ )
- improve the D3D1/2 texture mapping modes
2003-06-04 23:38:22 +00:00
Lionel Ulmer
ed88304868
- fix (stupid) regressions introduced by last series of patch
...
- 24 bpp handling for lock / unlock code
- some better checks for AlphaPixel value
- better TRACEing to better catch threading problems
2003-06-04 23:36:48 +00:00
Lionel Ulmer
fc58c2a933
- some GL critical section fixes
...
- only bind textures at start of rendering
- optimized the texture parameter code
- optimize of the 'dirty checking code' for mipmapping
- handles the MAXMIPLEVEL texture parameter
2003-06-04 23:34:58 +00:00
Lionel Ulmer
4aba282bb8
- proper (tested on Win2K) reference counting for Direct3D object
...
- fix one case of reference counting on textures
- fix stupid bug in texture upload code
- yet another texture enumeration reordering
2003-06-04 23:31:39 +00:00