Ove Kaaven
1cbaad7fba
Fill in the dsBmih.biSizeImage field of DIBSections with the
...
calculated bitmap size.
2000-10-13 20:21:45 +00:00
Andreas Mohr
217a682b4f
Minor cosmetic changes.
2000-08-25 21:56:19 +00:00
Alexandre Julliard
2a2321bbca
Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
...
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Uwe Bonnes
52034b00eb
X11DRV_DIB_SetImageBits_RLE8: break image lines.
2000-08-07 02:33:26 +00:00
Ove Kaaven
97e482bc95
Add X11DRV_DIB_UpdateDIBSection2 that takes a HBITMAP parameter.
2000-07-28 23:59:06 +00:00
Stephane Lussier
96754f5ec6
New version of the patch from Francois Jacques with a modification of
...
my own that makes everybody happy :-)
2000-07-15 21:37:33 +00:00
Alexandre Julliard
d5d8480fa5
Backed out previous patch.
2000-07-10 10:59:35 +00:00
Francois Jacques
7d35413162
Updated X11DRV_DIB_GetDIBits to properly handle bottom-up DIBs
...
manipulation.
Corrected XGetSubImage arguments order.
2000-07-08 18:34:39 +00:00
Stephane Lussier
626691c4b8
Fixed memory access outside of the range for source bits in 24-bit bitmaps.
2000-06-18 17:17:31 +00:00
Ken Coleman
0571af43d4
Fixes to CreateDIBSection and other areas where biSizeImage is
...
incorrectly assumed to be correct if it non-zero. This fixes a
crashing problem in Sid Meier's Alpha Centauri.
2000-06-16 21:48:02 +00:00
James Abbatiello
852e73a5ce
Use XCreateImage/XGetSubImage instead of XGetImage for
...
X11DRV_DIB_GetImageBits.
2000-06-11 19:58:03 +00:00
Rob Farnum
c5384f14b7
Separate out the 32bit case from the 24bit case, and copy 3bytes of
...
source for every 4bytes of input, into the destination for the 24bit
case.
2000-05-24 21:04:42 +00:00
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
Marcus Meissner
11353fcb6c
Fixed asm() constraints.
2000-05-11 21:45:09 +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
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
Patrik Stridvall
3d511617f4
Removed X_DISPLAY_MISSING.
2000-04-25 19:55:35 +00:00
Marcus Meissner
4b34a45203
Only copy dstwidth*3 bytes in the 24bit case.
2000-04-11 19:38:12 +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
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
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
Jim Aston
d78e2e5ed0
Handle 24 bit DIBs <-> 24 bit deep/24 bits per pixel XImages.
2000-03-09 18:41:36 +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
Marcus Meissner
6fdd8ada09
Corrected arguments to VirtualFree().
2000-01-23 21:58:56 +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
Patrik Stridvall
96336324cf
- Added missing configuration #if:s and #includes:s.
...
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Alexandre Julliard
8d29fa9877
Re-applied lost change.
1999-10-23 19:53:57 +00:00
Eric Pouech
bbde86e7ac
Fixed X11DRV_DIB_SetImageBits when called for RLE encoded dibs.
1999-10-13 15:42:04 +00:00
Noel Borthwick
d05b7beb5a
- Add clipboard support for copying/pasting bitmaps or Pixmaps between Wine
...
and native Linux applications.
- Respond to the MULTIPLE selection request target when Wine is the
selection owner.
- Relax type checking for TARGETS selection.
1999-09-20 15:42:47 +00:00
Ulrich Weigand
af1c41fb8d
Bugfix: create DDB in X11DRV_DIB_GetDIBits if necessary.
1999-09-19 18:58:16 +00:00
Karl Lessard
c73a1fd62d
Some more minor GDI fixes.
1999-09-19 14:15:41 +00:00
Huw D M Davies
1bb9860547
Small DIB fixes.
1999-09-19 12:04:17 +00:00
Karl Lessard
dee464c4c6
Fixed GetDIBits problems.
1999-09-14 11:51:01 +00:00
Karl Lessard
41875795cc
Ian Ward
...
Dan Langlois
Speed up conversion between XImages and DIBSections.
1999-09-03 16:49:17 +00:00
Kristian Nielsen
3e473f3e43
Fixed CreateDIBSection() called with negative height to set the height
...
positive in the created DIBSECTION, as per MS knowledgebase Q186586.
1999-08-21 13:07:27 +00:00
Uwe Bonnes
63ec7daa69
X11DRV_DIB_SetImageBits_24/32: Fix the case for bits_per_pixel == 32
...
and negative lines.
1999-06-12 10:46:31 +00:00
Eric Pouech
258bb10864
Changed printf into TRACE.
1999-05-24 08:15:07 +00:00
Pavel Roskin
d1bb7f7145
Disable passing device context to X11DRV_DIB_BuildColorMap when RGB
...
colormap is used.
1999-05-22 19:19:19 +00:00
Alexandre Julliard
06c275a643
Converted to the new debugging interface (done with the help of the
...
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +00:00
Eric Pouech
dc7c1b87d4
Fixed a few bugs (typos from cut & paste & invalid heap block
...
freeing).
1999-04-18 13:12:02 +00:00
Huw D M Davies
608629bc13
Fixes for upside-down DIBs.
1999-04-18 12:07:00 +00:00
Karl Lessard
183f8841db
Optimized code for SetImageBits_X, making bitmap creation faster.
1999-04-11 17:04:16 +00:00
Patrik Stridvall
b87fe2e9bf
More code moved to the X11 driver (bitmap and palette and misc).
1999-04-01 08:16:08 +00:00
Jim Aston
2e1cafa288
Renamed wintypes.h to windef.h.
1999-03-14 16:35:05 +00:00
Alexandre Julliard
a396029270
Large-scale renaming of all Win32 functions and types to use the
...
standard Windows names.
1999-02-26 11:11:13 +00:00
Alexandre Julliard
fb02ee91b5
Fixed end-of-line bug in X11DRV_DIB_SetImageBits_RLE4.
1999-02-20 16:10:38 +00:00
Huw D M Davies
e5a6049bee
Fixes several problems with SetDIBitsToDevice if xSrc != 0.
...
Thanks to Ian Schmidt for the logs.
1999-02-09 14:11:59 +00:00
Patrik Stridvall
ab121e7838
X11 driver changes.
1999-02-04 11:11:01 +00:00
Huw D M Davies
9c68faadab
Remove X_DC_INFO from DC and make it behave like any other PDEVICE.
1998-11-25 12:36:03 +00:00
Huw D M Davies
2bd3acf7c8
Moved DC_SetupGC functions to graphics/x11drv/graphics.c.
1998-11-22 17:45:06 +00:00
Huw D M Davies
91d1608a59
Moved X11 DIB stuff to x11drv.
1998-11-06 11:03:00 +00:00