summaryrefslogtreecommitdiff
path: root/common/pixman_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-21common/pixman: remove dead assignmentsChristophe Fergeau1-7/+3
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.
2010-07-08Simplify spice_pixman_region32_init_rects with new typesAlexander Larsson1-28/+2
Don't manually of SpiceRects to pixman_box32_t now that they are compatible and SpiceRect is internal.
2010-05-19Use the new byteswap macros from spice-protocolAlexander Larsson1-8/+2
2010-04-23Add pixman utilities for bitmap to pixman_image_t conversionAlexander Larsson1-58/+752
2010-04-13Relicense everything from GPL to LGPL 2.1+Alexander Larsson1-9/+9
2010-04-12Always tread depth 24 (i.e. non alpha) as depth 32 when blittingAlexander Larsson1-8/+22
When blitting we don't really care about alpha mismatches, we just copy bits anyway.
2010-03-11Use the spice allocator in common/Alexander Larsson1-1/+2
2010-03-09Use macros from <spice/macros.h> rather than duplicate themAlexander Larsson1-8/+1
2010-03-08Fix colorkeying in pixman_utils.cAlexander Larsson1-1/+2
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-01Fix warnings from visual studio compilerLarsson@.(none)1-5/+5
2010-02-23Add pixman utilitiesAlexander Larsson1-0/+938
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