Alexander Larsson
14ceecd4e2
Simplify spice_pixman_region32_init_rects with new types
...
Don't manually of SpiceRects to pixman_box32_t now that they are compatible
and SpiceRect is internal.
2010-07-08 14:46:04 +02:00
Alexander Larsson
c620859bdf
Use the new byteswap macros from spice-protocol
2010-05-19 16:03:32 +02:00
Alexander Larsson
4a38b86c69
Add pixman utilities for bitmap to pixman_image_t conversion
2010-04-23 16:36:32 +02:00
Alexander Larsson
8974315747
Relicense everything from GPL to LGPL 2.1+
2010-04-13 22:22:15 +02:00
Alexander Larsson
347f9598dc
Always tread depth 24 (i.e. non alpha) as depth 32 when blitting
...
When blitting we don't really care about alpha mismatches, we just copy bits
anyway.
2010-04-12 10:32:25 +02:00
Alexander Larsson
021f0514e4
Use the spice allocator in common/
2010-03-11 12:14:08 +01:00
Alexander Larsson
3fbcfc1185
Use macros from <spice/macros.h> rather than duplicate them
2010-03-09 11:10:00 +01:00
Alexander Larsson
acd6262480
Fix colorkeying in pixman_utils.c
...
We were masking out the alpha bit in the key color not int
the source pixel, so colorkeying didn't work when the high byte
was != 0. For instance in the shutdown dialog in XP.
2010-03-08 19:41:34 +01:00
Larsson@.(none)
9344743555
Fix warnings from visual studio compiler
2010-03-01 15:12:32 +01:00
Alexander Larsson
876bc2daaf
Add pixman utilities
...
This includes:
* pixman region from SpiceRects
* rop2 enum
* solid fill
* solid fill with rop
* tiled fill
* tiled fill with rop
* blit
* blit with rop
* copy rect
2010-02-23 14:43:15 +01:00