Ove Kaaven
d3e7e214e2
Made X11DRV_DIB_MapColor map back to the original color index if the
...
XImage pixel's physical color is still the same.
2000-05-18 00:03:09 +00:00
Alexandre Julliard
adcf7b455f
Use the correct display for cached metrics file name.
...
Store metrics in specified config dir.
2000-05-15 02:47:25 +00:00
Lionel Ulmer
61e4283585
- set debug messages after a TRACE_ON test
...
- prevent crash when making the NULL context current
2000-05-14 22:53:17 +00:00
Lionel Ulmer
bedf40b58b
Added support for OpenGL.
2000-05-12 20:18:14 +00:00
Marcus Meissner
11353fcb6c
Fixed asm() constraints.
2000-05-11 21:45:09 +00:00
Alexandre Julliard
8c8237b756
Specify the service thread timers in ms instead of us.
2000-05-10 04:43:32 +00:00
Marcus Meissner
3cec2ce3d3
SetImageBits_8: added ->15 conversion in optimized assembler.
2000-05-07 20:24:08 +00:00
Alexandre Julliard
40aa8c92a8
Jean-Claude Batista (Macadamian/Corel)
...
Top-down images have a negative biHeight, the scanlines of theses
images were inverted in X11DRV_DIB_GetImageBits_xx. To prevent this I
simply changed the sign of lines, the scanlines were correctly handled
afterwards
2000-05-07 18:27:57 +00:00
Rob Farnum
ebe7831a75
Removed warnings from freeing path in DeleteDC.
2000-05-05 18:25:29 +00:00
Alexandre Julliard
f818d42fae
Fixed COORD structure definition.
...
Fixed GetLargestConsoleWindowSize to not return a structure when
called from the Window binary.
2000-05-03 17:48:21 +00:00
Dimitrie O. Paun
4d48dd3048
Removed HEAP_xalloc.
2000-04-30 12:22:18 +00:00
Ove Kaaven
8b9f33851a
Added DIB_CreateDIBSection with extra parameter ovr_pitch, added
...
ovr_pitch to pCreateDIBSection in DC_FUNCS. If ovr_pitch is nonzero,
it is a pitch override (specifies bytes per line), and tells to treat
the offset parameter as an already-mapped virtual memory address (if
the section parameter is zero). Fixed a DIB status init bug in
creating DIB sections from file mappings (if created from mapping, the
DIB is *not* really InSync).
2000-04-29 16:47:07 +00:00
Eric Pouech
12222f0d54
Fixed a few compilation warnings.
2000-04-29 14:29:41 +00:00
Dimitrie O. Paun
abdbced4fd
Removed some HEAP_xalloc calls.
2000-04-29 14:20:28 +00:00
Patrik Stridvall
3d511617f4
Removed X_DISPLAY_MISSING.
2000-04-25 19:55:35 +00:00
Dimitrie O. Paun
cb18dbf9ce
Removed the last xmalloc calls.
2000-04-24 17:33:06 +00:00
Huw D M Davies
a3d3ff8d34
Implement StrokeAndFillPath.
...
Call DeleteObject when finished with hrgn in PATH_FillPath.
2000-04-18 11:54:12 +00:00
Sheri Steeves
118ce5dec1
EMR_SELECTOBJECT records stock objects with their id as the object
...
handle and the high bit set.
2000-04-18 11:53:23 +00:00
Patrik Stridvall
f0deb8a17e
Fixed some issues reported by winapi_check.
2000-04-15 20:44:21 +00:00
Huw D M Davies
000facfb8d
A few corrections to bounding boxes.
2000-04-14 14:07:51 +00:00
Huw D M Davies
e5b3a693dd
Don't close groups of polylines.
2000-04-14 14:07:30 +00:00
Marcus Meissner
4b34a45203
Only copy dstwidth*3 bytes in the 24bit case.
2000-04-11 19:38:12 +00:00
Dimitrie O. Paun
a20b7921ad
Replaced xmalloc calls with malloc/HeapAlloc calls.
2000-04-09 18:41:15 +00:00
Alexandre Julliard
227a0894d4
Removed a number of global handle allocations and critical section
...
initializations.
2000-04-08 21:06:06 +00:00
Gerard Patel
66e47407d0
Fixed pixmap leak with the 1x1 bitmap in memory DCs.
2000-04-08 20:21:01 +00:00
Patrik Stridvall
54fe8380a1
Fixed some issues reported by winapi_check.
2000-04-06 20:21:16 +00:00
Alexandre Julliard
f64c404ea6
Fixed ttydrv compile when using curses. Cleaned up a few #ifdefs.
2000-03-30 19:26:44 +00:00
Niels Kristian Bech Jensen
c9742b3204
- Fix some compiler warnings.
...
- Remove superfluous #include statement.
2000-03-28 20:44:59 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Alexandre Julliard
a7116b0559
Fixed memory allocations.
2000-03-28 20:02:37 +00:00
Alexandre Julliard
a08e2cf19f
Merged DDBitmap and physBitmap into the generic bitmap structure
...
(suggested by Andrew Lewycky).
2000-03-28 13:37:50 +00:00
Francois Gouget
6d77d3a1df
Use min/max instead of MIN/MAX.
2000-03-25 21:44:35 +00:00
Alexandre Julliard
7f3418fba0
Store monitor size and depth in the generic structure.
...
Merged monitor driver into USER driver.
2000-03-25 17:30:13 +00:00
Alexandre Julliard
9383eb94a7
A few simplifications and optimizations in the x11 driver.
2000-03-25 14:05:06 +00:00
Patrik Stridvall
3b233623cc
Fixed some warnings.
2000-03-24 21:19:02 +00:00
Patrik Stridvall
bbaf0ea799
Made the include files self sufficient.
2000-03-24 21:13:57 +00:00
Patrik Stridvall
98fde73f14
Fixed some issues reported by winapi_check.
2000-03-24 20:43:33 +00:00
Alexandre Julliard
28c3a1baf3
Moved graphics initialisation to the x11drv/ttydrv dll init code.
...
Merged event, keyboard and mouse drivers into USER driver.
2000-03-20 18:21:19 +00:00
Alexandre Julliard
aafd54dab9
Moved font resource functions out of the X11 driver.
2000-03-19 21:20:54 +00:00
Alexandre Julliard
07e4213642
Added GetDCOrgEx in graphics device interface and removed X11 code
...
from dc.c.
2000-03-19 21:19:21 +00:00
Dimitrie O. Paun
9ad9636725
Removed most calls to xmalloc/xrealloc.
2000-03-19 14:29:50 +00:00
Andrew Lewycky
e4c4651833
Delete the shm segment as soon as wine and X have attached it.
2000-03-19 12:41:20 +00:00
Alexandre Julliard
9b59da0dd9
Misc small cleanups.
2000-03-18 22:25:41 +00:00
Alexandre Julliard
62f824f7cb
Avoid calling the *Rect USER functions from inside GDI.
...
Moved a few USER functions to a more appropriate location.
2000-03-18 22:12:33 +00:00
Alexandre Julliard
fe08568a0d
Moved command-line option handling out of the X11 driver.
...
Added support for "--" prefix on options.
Replaced a few X11 command-line options by wine.conf parameters.
2000-03-18 21:56:10 +00:00
Alexandre Julliard
ddce652cae
Made ddraw and dinput separate dlls.
2000-03-17 16:58:10 +00:00
Karl Lessard
38828c4e3a
Update DIB sections in text output and for graphics primitives.
2000-03-15 19:56:40 +00:00
Marcus Meissner
87a2cc134e
Implemented stretched blts for depth 24 (unoptimized).
2000-03-12 20:15:28 +00:00
Huw D M Davies
a4caf05179
Add Black as a valid font weight.
...
Cope with afm files that do not contain {Family|Full}Name entries.
2000-03-09 18:44:38 +00:00
Jim Aston
d78e2e5ed0
Handle 24 bit DIBs <-> 24 bit deep/24 bits per pixel XImages.
2000-03-09 18:41:36 +00:00
Rein Klazes
a99fa8601b
Include in the AddFontResourceA/W fixme message a pointer to the fonts
...
document. In this document tell the user how to find the needed tools.
2000-03-07 12:24:26 +00:00
Joerg Mayer
f02fcfc33c
Fix a sign bug where memcpy was called with negative length.
2000-03-04 19:00:42 +00:00
Patrik Stridvall
0ee98cc39f
Fixed ANSI C violations.
2000-02-26 13:17:55 +00:00
James Abbatiello
1758f2d81a
Misc. fixes for compiler warnings.
2000-02-25 21:01:50 +00:00
Marcus Meissner
e8742dddde
Check for NULL ptr in PSDRV_GetDeviceCapabilities.
2000-02-20 13:35:54 +00:00
Alexandre Julliard
00377a78b7
Store config file contents in the registry so we only have to load it
...
once per session.
Replaced PROFILE_EnumerateWineIniSection by PROFILE_EnumWineIniString.
Removed a few unnecessary/unused command-line options.
2000-02-19 20:50:00 +00:00
Alexandre Julliard
90476d6b4a
Moved SystemHeap allocations to the process heap.
2000-02-16 22:47:24 +00:00
James Abbatiello
b96c6e2b1f
Moved CLIPPING_UpdateGCClipping call outside of the X11 section.
2000-02-13 16:08:19 +00:00
Lionel Ulmer
c3bc0fa2e3
Replaced fprintfs by proper debug macros and fixed some compilation warnings.
2000-02-12 13:20:20 +00:00
Alexandre Julliard
383da68cf9
Optimized debugging API to reduce code size.
2000-02-10 22:15:21 +00:00
Alexandre Julliard
fc296da4e2
Removed extra includes from ole.h and wingdi.h.
2000-02-10 19:39:48 +00:00
Jeremy White
d3e22d9d55
Removed #include of wingdi.h and windef.h from winuser.h (and resolved
...
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Marcus Meissner
d16895beef
Use window properties instead of window long, also use them to
...
determine if we really own a window and can destroy it.
The pixelformat for 256 colors has PALETTE|RGB flags (Tomb Raider 2)
Set paintable flag for application passed cooperative/drawing window.
GetDisplayMode: We might have and do support 2 backbuffers.
2000-02-07 16:02:13 +00:00
Alexandre Julliard
b2f6f0e7d2
Removed resource.h.
2000-02-03 01:54:36 +00:00
Ove Kaaven
c9307edf0c
Added alphanumeric mode to the VGA emulation.
...
Use service thread for the periodic refresh.
2000-02-03 00:46:29 +00:00
Andreas Mohr
8cd93514f0
- add some documentation items
...
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Ove Kaaven
b44a83cf67
Wait for ShmCompletion during Flip.
2000-01-26 02:03:32 +00:00
Ove Kaaven
2527a33351
Added -dxgrab command line option, which confines cursor motion to the
...
DirectX primary surface.
2000-01-23 22:31:24 +00:00
Marcus Meissner
6fdd8ada09
Corrected arguments to VirtualFree().
2000-01-23 21:58:56 +00:00
Ove Kaaven
b030d20fc4
Supercharged XShm implementation for DirectDraw.
2000-01-23 02:28:48 +00:00
Alexandre Julliard
681c75bf17
Added debugstr_guid function and used it to replace
...
WINE_StringFromCLSID in all debugging messages.
2000-01-18 05:09:49 +00:00
Marcus Meissner
243f76963d
EnumDisplayModes must pass lPitch.
2000-01-17 22:22:41 +00:00
Peter Hunnisett
40d5f4cddc
Store reference hdc size into enhanced metafile header when creating.
2000-01-15 22:16:51 +00:00
Alexandre Julliard
24ea884488
Backed out scalable bitmap change (gives ugly results).
2000-01-08 22:27:31 +00:00
Lionel Ulmer
48c0816476
- detect if the OpenGL implementation defines the paletted texture and
...
color table extensions
- small warning fixes
- fix the double '-lXxf86dga' when having DGA 2.0
2000-01-05 01:51:02 +00:00
Alexandre Julliard
81ee21ddff
Cosmetics.
1999-12-27 05:26:00 +00:00
Francois Gouget
baa9bf9a23
Buffer overflows and strncpy fixes.
1999-12-27 05:24:06 +00:00
Huw D M Davies
c553924ddd
Move DCFuncs ExtTextOut and GetTextExtentPoint to Unicode.
...
Map a few Unicode chars to the first 0xff in psdrv.
Don't expect x11drv to display Unicode chars yet.
1999-12-26 00:47:03 +00:00
Huw D M Davies
e175445eae
Fix PSDRV_StretchDIBits for non-integer byte src widths (1 & 4bpp).
1999-12-25 22:56:13 +00:00
Dmitry Timoshkov
2da48e3c87
Don't skip usable X fonts. Add support for koi8 fonts.
1999-12-25 22:47:09 +00:00
Huw D M Davies
b8e94b6119
Move Bezier code out of x11drv into commmon GDI code; if any driver
...
does not implement PolyBezier[To] the curve is approximated to lines
and drawn with Polyline.
Implement many GDI-Path recording functions (at least the win9x subset).
Implement FlattenPath and FillPath.
1999-12-20 04:14:48 +00:00
Lionel Ulmer
c21de847ab
Adds resolution / depth switching with DGA 2.0.
1999-12-20 03:45:54 +00:00
Lionel Ulmer
3ba4be4054
- added support of DGA-2.0 events
...
- fixed the leaving of DGA-2.0 mode
1999-12-12 19:42:47 +00:00
Andreas Mohr
7fb732e597
Fixed compiler warnings.
1999-12-12 00:47:51 +00:00
Patrik Stridvall
cf84434213
Improved the TTY driver.
1999-12-11 23:08:48 +00:00
Dimitrie O. Paun
dd03cc19fd
Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
...
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Huw D M Davies
f0f8da5870
Fixes several bugs in gdi path handling.
...
Adds *Path functions to dc funcs table + add EnhMetaFile recording.
Separate out Polylne/PolylineTo and PolyBezier/PolyBezierTo in dc
funcs table to enable proper enhmetafile recording.
The current position update in *To functions is now handled by the
main function and not in the drivers.
Move USER functions from graphics/painting.c -> windows/painting.c
1999-12-05 23:54:02 +00:00
Marcus Meissner
867c436a48
Merged _all_ lpClipper into common_surface.
...
Add NULL ptr check to SetClipper.
Some more debug output.
1999-12-05 23:07:23 +00:00
Marcus Meissner
8b7c1906a7
Moved lpClipper into common_directdrawsurface struct
...
Release old clipper on new set
1999-12-05 02:19:56 +00:00
Lionel Ulmer
ba02d1d7d5
First support of DGA 2.0 for DirectDraw.
1999-12-04 04:22:04 +00:00
Peter Hunnisett
6db0502993
Improved stubs for the ddraw clipper routines.
1999-12-04 03:55:58 +00:00
Niels Kristian Bech Jensen
c69a80c31d
Compiler warnings fixed.
1999-11-28 20:31:04 +00:00
Bradley Baetz
7b5e33c6ac
Give the app back the exact font name it asked for.
1999-11-28 20:16:37 +00:00
Patrik Stridvall
4d715fd9dd
Improved the stubs.
1999-11-23 23:43:29 +00:00
Ulrich Weigand
d1682aab05
Removed some unaligned accesses.
1999-11-21 02:21:17 +00:00
Niels Kristian Bech Jensen
1d5bc469cc
Removed extra #include statements.
1999-11-21 02:14:36 +00:00
Eric Pouech
be62502611
Fixed a crash in IDirectDrawSurface:BltFast.
1999-11-21 00:51:29 +00:00
Huw D M Davies
395d3705cf
Move PostScript driver docs to documentation/ . Add instructions on
...
how to use regapi to get information into the registry. Supply sample
input to regapi.
1999-11-13 20:55:31 +00:00
Ove Kaaven
7da242dbd5
DirectX-XShm now waits for the X server to finish the previous frame
...
before sending another frame down its pipe, avoiding the X server
overload and resulting slowness that used to be.
1999-11-07 22:44:06 +00:00
Huw D M Davies
c6a03a70dd
If PageSize/InputSlot entry doesn't contain an options translation
...
string use the option name instead.
1999-11-07 05:32:28 +00:00