Commit graph

24 commits

Author SHA1 Message Date
Alexandre Julliard
c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard
00647af50b winex11: Use the HDC from the gdi_physdev structure. 2011-07-08 16:03:59 +02:00
Alexandre Julliard
6c951b7d0d winex11: Pass a generic PHYSDEV to all graphics entry points. 2011-07-08 15:55:11 +02:00
Vladimir Panteleev
d7d5fb0abf winex11: Add X11DRV_PALETTE_GetColor function to resolve any COLORREF to an RGB. 2010-11-08 13:30:20 +01:00
Roderick Colenbrander
3afa657636 winex11: Fix palette conversion bug.
The LookupPixel code assumed we want to convert pixels to the format
corresponding the default color shifts.
2010-02-16 11:32:44 +01:00
Marcus Meissner
6fb5e61afb winex11: Remove more superflous NULL checks (Coverity). 2010-01-08 10:13:18 +01:00
Marcus Meissner
065fa22adc winex11.drv: physDev cannot be NULL (Coverity). 2010-01-07 19:41:34 +01:00
Roderick Colenbrander
2d1f55cce2 winex11: Fix a null pointer bug in ToLogical in case of 8-bit. Move the code to the place where the shifts are needed. 2009-09-10 15:32:55 +02:00
Roderick Colenbrander
4ef7bd6943 winex11: Add helper function for calculating ColorShifts. 2009-09-09 16:25:24 +02:00
Roderick Colenbrander
5db05dfea9 winex11: Use ColorShifts data in X11DRV_PALETTE_ToLogical. 2009-09-02 16:09:07 +02:00
Roderick Colenbrander
5fc017c497 winex11: Use ColorShifts from physDev in X11DRV_PALETTE_ToPhysical. 2009-09-02 16:08:36 +02:00
Roderick Colenbrander
3ad349f316 winex11: Prepare X11DRV_PALETTE_ToPhysical/_ToLogical for a new ColorShift structure. 2009-09-02 16:07:41 +02:00
Roderick Colenbrander
3878b4810e winex11: Introduce a new function for looking up the physical color of a pixel for use with colormap generation-like functions.
This prepares to a rewrite of X11DRV_PALETTE_ToPhysical which requires
the physDev for retrieving the color shifts.
2009-09-02 16:07:11 +02:00
James Hawkins
c29c740de0 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:10 +01:00
Lars-Ake Fredlund
c4041ae815 winex11: Don't create a mapping if X11DRV_PALETTE_VIRTUAL is set. 2008-02-07 11:59:53 +01:00
Alexandre Julliard
608b2a94ec winex11: Add a critical section for the palette global variables instead of relying on the GDI lock. 2008-02-05 21:57:23 +01:00
Andrew Talbot
080635bdeb winex11.drv: Exclude unused headers. 2007-05-29 12:10:21 +02:00
Alexandre Julliard
5e7afb8c3b winex11.drv: Store the palette mapping in an X context instead of the GDI object. 2006-11-17 14:38:43 +01:00
Alexandre Julliard
719b7068a9 winex11.drv: Abstract accesses to the palette color mapping. 2006-11-17 14:36:34 +01:00
Alexandre Julliard
385ceeb8bc winex11.drv: Avoid some direct accesses to the PALETTEOBJ structure. 2006-11-17 14:34:56 +01:00
Alexandre Julliard
ed4f22ab5f gdi32: Moved the system palette flags to winex11.drv. 2006-11-17 14:34:44 +01:00
Alexandre Julliard
3cb51cd3c4 winex11.drv: Get rid of the DIB color table now that it's stored in gdi32. 2006-11-08 19:57:37 +01:00
Vitaliy Margolen
6069d0d596 winex11drv: Win64 printf format warning fixes. 2006-10-09 15:23:33 +02:00
Alexandre Julliard
bdb4fab7a7 x11drv: Renamed the x11drv directory to winex11.drv. 2006-06-16 09:57:50 +02:00
Renamed from dlls/x11drv/palette.c (Browse further)