spice/client/windows
Alexander Larsson 774e5bd36f Client: Support pixmap format conversion in copy_pixels
In order to be able to support 16bit canvases on 32bit screens and 32bit
canvases on 16bit screens we need to handle format conversion when drawing
RedPixmaps.

The way this works now for X11 is that we only have one PIXELS_SOURCE_TYPE
for pixmaps, which always has a pixman_image_t for the data, but additionally
it has an XImage (shared mem or not) if the screen the pixmap was created
for (i.e. an explicit one or the default screen) has the same format as
the pixmap.

When we draw a pixmap on a drawable we have two variants. If the pixmap
has a XImage and it matches the format of the target drawable then we
just X(Shm)PutImage it to the drawable. If the formats differ, then we
create a temporary XImage and convert into that before drawing it to
the screen.

Right now this is a bit inefficient, because we always allocate a new
temporary image when converting. We want to add some caching here, but
at least this lets things work again.
2010-04-23 16:39:13 +02:00
..
atomic_count.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
event_sources_p.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
event_sources_p.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
main.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
my_getopt.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
named_pipe.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
named_pipe.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
pixels_source_p.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
pixels_source.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
platform_utils.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
platform_utils.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
platform.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
playback.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
playback.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
record.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
record.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_drawable.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_pixmap_cairo.cpp Client: Support pixmap format conversion in copy_pixels 2010-04-23 16:39:13 +02:00
red_pixmap_gdi.cpp Move RedPixmap::Format to RedDrawable::Format 2010-04-23 16:36:35 +02:00
red_pixmap.cpp Move RedPixmap::Format to RedDrawable::Format 2010-04-23 16:36:35 +02:00
red_window_p.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_window.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
redc.rc client: use spice icon instead-of solidice icon 2010-01-04 21:13:03 +02:00
redc.sln Update project file to visual studio 2008 2010-04-08 09:30:16 +02:00
redc.vcproj Use upstream name for pthreads lib and new freetype version 2010-04-12 21:43:16 +02:00
resource.h client: remove splash image 2009-12-28 12:39:37 +02:00
spice.ico client: use spice icon instead-of solidice icon 2010-01-04 21:13:03 +02:00
spicec.exe.manifest fresh start 2009-10-14 15:06:41 +02:00
static_title.bmp client: new static title image 2009-12-23 22:29:15 +02:00
stdint.h fresh start 2009-10-14 15:06:41 +02:00
sticky_alt.bmp spice client: sticky Alt activation when holding an Alt key: bug #505912. 2009-11-15 13:41:10 +02:00
win_platform.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00