Huw D M Davies
e1e51f9922
Don't calculate cached metrics or enumerate X11 fonts if we're using
...
client side fonts.
2002-04-03 21:18:50 +00:00
Patrik Stridvall
14c96c1017
Fixed some issues found by winapi_check.
2002-04-03 02:37:09 +00:00
Alexandre Julliard
c71417ce24
Fixed crash in BitBlt when source DC is NULL.
2002-04-02 03:00:00 +00:00
Alexandre Julliard
e21c15e39d
Changed the GDI driver interface to pass an opaque PHYSDEV pointer
...
instead of a DC structure.
Removed some direct accesses to the DC structure from the drivers.
Got rid the bitmap driver.
2002-03-28 22:22:05 +00:00
Alexandre Julliard
ced71edbd7
Added support for driver-specific escapes in the x11drv to retrieve
...
X11 information. Finished dll separation of opengl32.
2002-03-23 21:43:56 +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
Andreas Mohr
8bc7f16caa
Spelling/alignment fixes.
2002-02-27 01:34:08 +00:00
Dmitry Timoshkov
a24551e638
Do not write beyond end of color table in X11DRV_DIB_SetDIBColorTable.
2002-01-29 17:50:26 +00:00
Guy Albertelli
63ba55b00c
Don't fill colormap beyond end of screen depth.
2002-01-29 17:04:16 +00:00
Uwe Bonnes
6e5f6d0ce0
XFONT_GetAvgCharWidth: Always round up.
2002-01-29 16:48:20 +00:00
Huw D M Davies
6f7fc50424
Uses Xrender extension to allow client side font rendering.
...
Adds nice things like anti-aliased text.
2002-01-29 03:07:21 +00:00
Alexandre Julliard
80a3bb4fc0
Removed LoadOEMResource from USER driver.
2002-01-04 18:27:41 +00:00
Gavriel State
9e7c1111a6
Speed up the GetImageBits case where we have an XShm image.
2002-01-04 18:23:17 +00:00
Alexandre Julliard
2cc54c8c49
Moved the OEM bitmaps that don't depend on the Wine look into the
...
user32 resources.
2002-01-02 21:49:23 +00:00
François Gouget
6add87e608
Handle more than 8 bits per color component.
2001-12-21 19:18:48 +00:00
François Gouget
de02bdf37e
Merged the handling of 15 and 16 bits X server depths.
...
Use the masks to distinguish between 15 and 16 bits.
Check the masks better and call generic code if they are not
supported directly.
Changed the 'notsupported' traces from FIXMEs to WARNs.
2001-12-21 19:18:30 +00:00
François Gouget
74c2cbeecf
Add traces to help diagnose systematic cached-metrics regeneration
...
problems.
2001-11-06 00:46:36 +00:00
Dmitry Timoshkov
3f8e407d48
Convert GetCharWidth to Unicode.
2001-11-05 23:56:22 +00:00
François Gouget
69f8b8f63e
Fix line length calculation in X11DRV_DIB_Convert_any_asis.
...
Correctly initialize the color masks of 24bpp DIBs.
2001-11-05 23:52:18 +00:00
Huw D M Davies
8bf8021f94
ExtTextOutW with symbol fonts works with chars in the ranges
...
0x0000 -- 0x00ff and 0xf000 -- 0xf0ff and not, for example, with
chars in the Unicode Greek range.
2001-10-23 19:54:27 +00:00
Andreas Mohr
e15badb478
Cosmetics.
2001-10-21 15:18:15 +00:00
Francois Gouget
4e31b8b34b
Fix tons of color conversion bugs.
...
Reorganize things more rationally and so that more code is shared.
2001-10-17 19:41:54 +00:00
Francois Gouget
88372a6aef
Use the same color conversion algorithm as the DIB code (and Windows),
...
i.e. shifts, not MulDivs.
Fix the grayscale formula.
2001-10-17 17:45:33 +00:00
Francois Gouget
58b299521d
Small typo fixes/updates.
2001-10-08 20:40:09 +00:00
Alexandre Julliard
c8f3fed5cb
Ignore RLE data that goes past the line end (found by Uwe Bonnes).
...
General cleanup of the RLE routines.
2001-10-04 18:16:37 +00:00
Alexandre Julliard
3c76b14474
Skip BitBlt DIB optimization if source and dest DCs have different
...
depths.
2001-10-03 18:45:41 +00:00
Huw D M Davies
814654ef9f
Lay down the infrastructure for gdi font rendering.
...
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00
Patrik Stridvall
3c0211f969
Cleanup code that is strange or difficult to parse.
2001-09-11 00:32:32 +00:00
Jukka Heinonen
6b9d4ab65d
Changing DIB color table now updates the DIB visible state.
2001-09-07 19:47:10 +00:00
Guy L. Albertelli
342b5a861a
Prevent bomb when GDI_ObjPtr returns null object.
2001-09-07 15:28:10 +00:00
Gerard Patel
e8829c01e6
Default bitmap is not subject to reference counting.
2001-08-21 17:03:39 +00:00
Alexandre Julliard
3036fef6a7
Refuse to select a bitmap that is already selected in another DC.
2001-08-20 19:19:18 +00:00
Alexandre Julliard
78f9fae706
Create GDI stock objects as normal objects instead of using magic
...
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard
e811f9c353
Specify sizes for stock fonts again; removed the FixStockFontSize
...
hack. Ignore mapping modes when selecting stock fonts into a DC.
Removed a few direct accesses to GDI structures from x11drv.
2001-08-16 19:13:52 +00:00
Alexandre Julliard
301df6b5cd
Added names to standard critical sections (suggested by Andreas
...
Mohr).
2001-08-16 18:12:56 +00:00
Jeremy White
14366a927a
Normalize the display name used to build the cached metric filename so
...
that ':0', ':0.0', and 'unix:0.0' all resolve to the same file.
2001-08-15 18:52:48 +00:00
Alexandre Julliard
9208301d16
Rewrote Escape to avoid calling down to Escape16.
...
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00
Alexandre Julliard
99bb9f9775
Added GetDeviceCaps to the DC driver interface. Removed devCaps
...
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard
3dd63eb2ad
Build the DC function table by using GetProcAddress on the graphics
...
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Bill Medland
25e44dbf5c
Don't inline perfect_graphics().
2001-07-26 20:13:47 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Alexandre Julliard
5f728cae70
Removed HEAP_strdupA.
2001-07-24 21:45:22 +00:00
Alexandre Julliard
f899ef07a6
Removed some unnecessary includes.
2001-07-23 00:04:00 +00:00
Alexandre Julliard
6bbc745dde
Moved the 16-bit pointer to the DIB bits out of the driver-specific
...
structure and into the main bitmap structure. Removed
CreateDIBSection16 from the driver interface.
2001-07-22 23:13:08 +00:00
Alexandre Julliard
37e9503ae8
Moved server.h to include/wine.
2001-07-19 00:39:09 +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
704d035364
Fixed a few issues with tsx11 locking.
...
Always map the client window when moving out of iconic state.
2001-07-12 02:49:31 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Jau-Horng Chen
8a820bc51a
Added Traditional Chinese Support
...
Fixed sublang font size error when not using fixed-size font.
2001-06-25 21:01:00 +00:00
Dmitry Timoshkov
698ef15b19
Replace some 16-bit calls by their 32-bit equivalents.
2001-06-25 20:08:44 +00:00
Dmitry Timoshkov
8d7b7d830c
Better separate the XShm using code.
2001-06-25 19:51:04 +00:00
Alexandre Julliard
0d83167209
Subtract DC origin from graphics exposure event coordinates.
2001-06-20 00:18:15 +00:00
Dmitry Timoshkov
c660410bf8
Add System font to the set of default sans serif fonts.
2001-06-19 18:12:24 +00:00
Dmitry Timoshkov
de70d2b2c7
Replace PROFILE_ functions by RegQueryValueExA in x11drv.
2001-06-19 03:32:44 +00:00
Alexandre Julliard
6d027e1fc2
Added counter for operations generating graphics exposures to the DC
...
struct, to avoid waiting for expose events when none were generated.
2001-06-11 20:24:57 +00:00
Alexandre Julliard
dc4fe7735b
Create an X window for every window, including children.
...
Fixed non-client rectangle calculations in managed mode.
Added support for icon window in managed mode.
2001-06-04 21:55:17 +00:00
Marcus Meissner
3f1ed52d8b
Implemented 64bit file size handling.
...
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Francois Gouget
ee285b7ac8
Remove unnecessary single quoting of debugstr_xxx strings.
2001-05-11 20:03:40 +00:00
Alexandre Julliard
c559735bf8
Renamed display to gdi_display where it is used for GDI operations, to
...
allow supporting multiple X connections.
2001-05-11 00:17:47 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Francois Gouget
5653939481
Added the minmax.h header (VC6).
...
Added support for NOMINMAX.
Remove __min/__max from windef.h, they belong to (msvcrt/)stdlib.h.
2001-05-07 20:14:00 +00:00
Ove Kaaven
8f7ac8b5cd
Implemented the ddraw HAL access escape (DCICOMMAND) in x11drv.
2001-04-17 17:29:59 +00:00
Gavriel State
bc381a6a3f
Copy the first 128 colors from the default colormap to Wine's private
...
colormap when using 'shared' colors.
2001-04-16 19:33:25 +00:00
Ove Kaaven
6cba8bf47f
Fixed CoerceDIBSection's AuxMod handling. Added CoerceDIBSection2.
2001-04-16 19:05:37 +00:00
Dmitry Timoshkov
a4d215ae3d
Add MS Shell Dlg font to the set of default sans serif fonts.
2001-04-16 18:55:02 +00:00
Marcus Meissner
63200de91a
Fixed undefined C constructs (val assignment in expressions using it,
...
postinc operators in macros).
2001-03-28 19:35:57 +00:00
Gavriel State
4d73ba6e21
- Always use a double-buffered visual if one is available.
...
- Ensure that all colormaps created use the double-buffered visual if
it exists. This prevents problems where DRI GL implementations fail
to work unless the colormap visual matches the window visual matches the
glX visual.
- Get around similar visual issue with the default GL context created for
apps that don't create their own contexts before trying to use GL functions.
2001-03-28 01:45:08 +00:00
Alexandre Julliard
26320d1f75
Cleanup properly on x11drv unloading.
...
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Ove Kaaven
27398d4966
Implemented Get/SetDeviceGammaRamp.
2001-03-20 01:55:18 +00:00
Huw D M Davies
39f54283fc
Moved GetTextMetrics to unicode.
2001-03-16 16:43:14 +00:00
Vedran Rodic
817b134e05
Made 8 bpp to 24 bit depth conversion in X11DRV_DIB_SetImageBits_8
...
faster by using inline asm.
2001-03-05 19:59:29 +00:00
Alexandre Julliard
566a52ad8c
Changed isolated for loops to while loops (based on a patch by Andreas
...
Mohr).
2001-03-05 19:34:17 +00:00
Francois Gouget
282f7270c1
Small 'typos in comments' fixes.
2001-02-28 05:31:02 +00:00
François Gouget
4e92e6533b
Added DIB/pixmap synchronization for {Get,Set}Pixel.
2001-02-16 19:38:50 +00:00
Patrik Stridvall
d0a41774a3
Documentation ordinal fixes.
2001-02-14 23:11:17 +00:00
Huw D M Davies
2aa85eed18
Change FONTOBJ to use LOGFONTW rather than LOGFONT16.
...
Updated parameters of DEVICEFONTENUMPROC.
2001-02-14 22:56:38 +00:00
Lionel Ulmer
103712f1c4
Added RGB 565 => RGB 0888 conversion.
2001-02-13 20:16:46 +00:00
James Abbatiello
c559f3fc69
In CreateDIBSection, the offset into the file mapping does not have to
...
be a multiple of the memory allocation granularity.
2001-02-12 19:40:28 +00:00
Andreas Mohr
312303acaf
- move TSXGrabServer after a possible return FALSE;
...
- move misplaced comment
- optimize TSXGrabServer use
2001-02-12 18:10:27 +00:00
Ove Kaaven
e1ba4bb49e
In CopyDIBSection, use source DIB colormap instead if no palette has
...
been selected into the source DC, to work around some X11-imposed
DIBsection implementation deficiencies.
2001-02-12 01:20:30 +00:00
Eric Kohl
d5354961d6
Fixed text size calculation bug in GetTextExtentPoint() for window dc's.
2001-02-12 01:15:06 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Alexandre Julliard
803dbb6f00
Removed non-standard OBM_RADIOCHECK bitmap.
2001-01-24 19:48:39 +00:00
Eric Kohl
08936ff97a
Partial implementation of world transform support.
2001-01-24 19:38:11 +00:00
Alexandre Julliard
16cbf4022c
Store USER icons and cursors as resources instead of xpm bitmaps.
2001-01-18 20:32:01 +00:00
Alexandre Julliard
ee21c443c6
Replaced X11DRV_CritSection references by wine_tsx11_(un)lock.
2001-01-15 22:31:24 +00:00
Alexandre Julliard
8efd454067
Removed CALL_LARGE_STACK support.
2001-01-15 22:30:50 +00:00
Alexandre Julliard
a41b2cfdd0
Moved tweak support to USER dll. Removed tweak.h and cache.h.
2001-01-15 20:12:55 +00:00
Andreas Mohr
7f6c84b591
Starcraft was confused by a wrong FALSE BitBlt return.
2001-01-04 19:28:33 +00:00
Francois Gouget
345acc90fd
Updated the look of dots and dashes to match the Win32 look.
...
Issue a FIXME about PS_USERSTYLE.
2000-12-24 20:16:25 +00:00
Alexandre Julliard
3f75eaacdc
Authors: Ove Kaaven <ovek@transgaming.com>, Gavriel State <gav@transgaming.com>
...
More DIB section copy-blitting improvements: Handle 8bpp DIBs, DC
mapping modes, and clipping. Take advantage of the DIBsection's
XShmImage mechanism to get a really fast blit to the display.
2000-12-22 01:07:57 +00:00
Gerard Patel
cb0ce33877
Set the color mask with BI_BITFIELD dibs, don't use the
...
application-provided value.
2000-12-20 18:39:41 +00:00
Alexandre Julliard
db0747d095
Removed some unnecessary includes.
...
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard
982a223f36
Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
...
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
447ddfd37d
Authors: Ove Kaaven <ovek@transgaming.com>, Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>
...
DIB section improvements; UpdateDIBSection has been replaced with
LockDIBSection and UnlockDIBSection, for improved thread safety.
DIB_Status_* is now driver-independent, and there's a new
DIB_Status_AuxMod. Better handling of DIB surfaces with nonstandard
pitch. Slight optimization of DIBsection->display BitBlt.
2000-12-06 20:15:43 +00:00
Guy L. Albertelli
7897de4ef8
- correct number of colormap entries looked at in GetDIBColorTable.
...
- correct number of colormap entries processed in SetDIBColorTable.
2000-12-05 03:53:23 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Andreas Mohr
172495530b
Also mention xpm-devel in the error msg.
2000-11-27 22:56:03 +00:00
Dimitrie O. Paun
470acf831f
Do not compile code that makes use of the X Shm extension.
2000-11-26 03:59:20 +00:00
Ove Kaaven
a092dbfc88
Made X11DRV_DIB_GetImageBits_16 aware of 565 DIBs.
2000-11-25 23:51:59 +00:00