Alexandre Julliard
b34fb35b31
Fixed warnings caused by conversion to -DSTRICT.
2002-10-18 23:48:57 +00:00
Christian Costa
ce35cc03a8
Main_DirectDrawSurface_QueryInterface: enable creation of a
...
IDirect3DTexture2 from a surface.
2002-10-10 23:27:32 +00:00
Lionel Ulmer
1c0a8ac4c0
Added some TRACEs to the ddraw code.
2002-10-10 22:47:02 +00:00
Alexandre Julliard
e969027104
Fixed warnings.
2002-10-02 01:34:17 +00:00
Christian Costa
74d0d4c562
Enable creation of our OpenGL Direct3D device from a surface used as
...
rendering target.
Enable creation of a texture from a surface.
2002-09-26 03:20:07 +00:00
Gregg Mattinson
8c9bdcc9e1
Fixes for Sparc build.
2002-08-07 01:18:41 +00:00
Lionel Ulmer
00b088bc25
Support negative values in RECTs during Blts.
2002-08-03 19:11:55 +00:00
Lionel Ulmer
262cbcdb09
Be less strict on parameter checking in the SetSurfaceDesc function.
2002-08-02 19:10:16 +00:00
Ove Kaaven
1af798920c
Wait for the asynchronous update thread to complete if the app
...
requests it. Fixed blit offseting issues in windowed mode.
2002-07-20 20:01:57 +00:00
Gregg Mattinson
8a191ff5b8
Avoid structures or arrays of size 0.
2002-07-19 03:18:05 +00:00
Tony Lambregts
2c5a41b027
Added support DDBLT_DDFX flag in DirectDrawSurface_Blt.
2002-07-16 01:42:47 +00:00
Lionel Ulmer
b6051dec93
- DDRAW_SYSTEMMEMORY is handled like OFFSCREENPLAIN for now
...
- added more logging
2002-07-16 01:16:14 +00:00
Alexandre Julliard
a80a814234
Fixed corruption when copying to the same surface (with the help of
...
Tony Lambregts and Lionel Ulmer).
2002-07-10 23:10:54 +00:00
Ove Kaaven
1d8f92c88c
Removed the flags fields of IDirectDrawPaletteImpl, as we should use
...
the dwFlags field of DDRAWI_DDRAWPALETTE_GBL structure instead.
2002-07-10 03:05:43 +00:00
Ove Kaaven
ea20614e39
Handle WM_SYNCPAINT with DefWindowProc.
2002-07-10 03:04:58 +00:00
Gregg Mattinson
bac71315d2
Removed non-static structure initializers.
2002-07-03 21:06:58 +00:00
Gregg Mattinson
2e38a17021
Void functions can't return a value, even if it is the return value
...
from another void function.
2002-07-03 01:20:07 +00:00
Jukka Heinonen
9859606ec8
Disable OWN_WINDOW as it no longer works.
2002-06-28 23:26:57 +00:00
Tony Lambregts
fede234ed0
Added support for DDBLT_KEYSRCOVERRIDE/DDBLT_KEYDESTOVERRIDE.
2002-06-28 17:32:25 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Vincent Béron
6a5ba8fba2
Fixed some more missing \n in traces.
2002-05-29 19:09:54 +00:00
Alexandre Julliard
85cacd8fe9
Removed call to DIB_GetDIBWidthBytes.
2002-03-28 22:25:02 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Lionel Ulmer
e88edac600
Fix crash in the X11 HAL when setting a NULL palette to a surface.
2002-02-26 00:36:21 +00:00
Andreas Mohr
a69c039c80
Documentation update.
2001-12-26 20:40:47 +00:00
Jukka Heinonen
2547121843
When a surface becomes primary surface, mark the whole surface damaged.
2001-10-17 17:45:53 +00:00
Marcus Meissner
4d2f173ce3
Added dwFlags to lock_update private functions so we can pass
...
WRITEONLY/READONLY.
Added those flags to the internal Lock() calls.
Only copy the surface from screen to surface if not writeonly.
Restrict blitting between display window and surface to the
locked/unlocked rectangle and the clipwindow section.
Added defines for DDHAL_UNLOCKDATA/DDHAL_LOCKDATA, added calls to HAL
implementation.
2001-09-10 23:12:16 +00:00
Alexandre Julliard
e994d5036e
Added Interlocked*Pointer functions.
...
Fixed InterlockedCompareExchange prototype.
2001-08-09 21:21:13 +00:00
Alexandre Julliard
502d83b1d2
Fixed a few problems with DCX_* flags handling.
2001-07-31 00:14:06 +00:00
Dmitry Timoshkov
822429ad55
Fix out of the source tree build (again).
2001-07-19 19:09:33 +00:00
Patrik Stridvall
33929be46f
- Made sure that the files that contains the declarations
...
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Alexandre Julliard
b735928ba1
Removed a few obsolete files.
2001-04-18 17:41:07 +00:00
Ove Kaaven
c14bed35f6
Fix DGA so it works properly again.
2001-04-18 17:40:43 +00:00
Ove Kaaven
71c6984901
Implemented DirectDraw's Hardware Abstraction Layer (HAL) interface.
...
Disabled DirectDraw's old XVidMode and DGA2 drivers, it now depends on the
display driver (x11drv) HAL implementations of these features.
2001-04-17 17:48:19 +00:00
Ove Kaaven
793bf04e24
Removed the obsolete DIBTexture surface class.
2001-04-17 17:36:44 +00:00
Ove Kaaven
fe01f0e7d0
Fill in some more HAL fields. Flip some of them when appropriate.
...
Allow SetSurfaceDesc to change client memory surface address.
Propagate DIB color table updates to backbuffers too (thanks to
Stephen Clouse).
2001-04-17 17:36:28 +00:00
Ove Kaaven
2043c42cef
Implemented gamma control on the DirectDraw primary window.
...
Ensured that the primary window is created before the constructor returns.
Flag the primary window as transparent so mouse clicks pass through it.
Put the primary window handle into a reserved field for x11drv HAL use.
2001-04-17 17:34:11 +00:00
Ove Kaaven
e37b1d31a8
Implemented the IDirectDrawGammaControl interface.
2001-04-16 19:35:18 +00:00
Ove Kaaven
01b9436018
Added ddraw HAL and gamma ramp stuff to implementation structures.
...
Added a parameter and return value to flip_data and flip_update.
2001-04-16 19:06:13 +00:00
Marcus Meissner
c5d2f5efeb
Handle differently sized structs by using their dwSize parameters.
2001-02-12 03:43:53 +00:00
Marcus Meissner
15a525973b
- Siedler3 appears to have rather limited buffers for device/description
...
strings and crashes with those long strings. Shortened those strings.
- Also driver needs to be "display" for display devices (some other
programs rely on that info I seem to remember).
- Fixed DSurface::GetSurfaceDesc to not just blindly copy a
DDSURFACEDESC2 struct over a smaller DDSURFACEDESC one.
2001-01-28 23:15:17 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Patrik Stridvall
d5f824b482
Fixed some issues found by winapi_check.
2001-01-25 22:23:08 +00:00
Gavriel State
ba3c18df69
Warning fixes.
2001-01-12 23:18:22 +00:00
Gerald Pfeifer
ab75b89a55
Fixed some incorrect format strings.
2001-01-09 21:50:01 +00:00
Alexandre Julliard
d6c0f9f784
Authors: Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
...
Major DirectDraw restructure/reimplementation, using an improved component
object model hierarchy. The implementation currently supports:
- DirectDraw over GDI/USER in a window (using DIBsections and
asynchronous updates)
- XVidMode
- XF86DGA2
- All DirectDraw interfaces from versions 1 to 7 (at least in theory)
- Hooks for Direct3D interfaces
2001-01-04 22:44:55 +00:00
Marcus Meissner
a337437706
IDirectDrawSurface::Blt::SRCCOPY is the default ROP operation, do not
...
throw error.
2000-12-22 01:39:22 +00:00
Marcus Meissner
e38b41911f
Truncate dest blit rectangle down to surface size.
2000-11-27 23:06:36 +00:00
Andreas Mohr
bb84359c41
Avoid division by zero.
2000-11-04 02:55:08 +00:00
Lionel Ulmer
85f4a49c2d
Support non-buffered overlays.
2000-10-12 23:09:40 +00:00