Christophe Fergeau
086d6fded6
common/pixman: remove dead assignments
...
They were detected using clang-static-analyzer. Don't initialize
the variable to a value to override it with a different value
a few lines after.
2011-04-08 12:14:19 +02:00
Alexander Larsson
10734c8d74
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
45e62d5368
Use the new byteswap macros from spice-protocol
2010-05-19 16:03:32 +02:00
Alexander Larsson
6dc52f1389
Add pixman utilities for bitmap to pixman_image_t conversion
2010-04-23 16:36:32 +02:00
Alexander Larsson
c97116aeb9
Relicense everything from GPL to LGPL 2.1+
2010-04-13 22:22:15 +02:00
Alexander Larsson
063af4a4f3
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
af4672326b
Use the spice allocator in common/
2010-03-11 12:14:08 +01:00
Alexander Larsson
90c5766caf
Use macros from <spice/macros.h> rather than duplicate them
2010-03-09 11:10:00 +01:00
Alexander Larsson
04b35fe7ff
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)
ea92e6c063
Fix warnings from visual studio compiler
2010-03-01 15:12:32 +01:00
Alexander Larsson
9091e763a8
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