summaryrefslogtreecommitdiffstats
path: root/common/pixman_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* common: use INLINE instead of inlineArnon Gilboa2011-05-121-3/+3
| | | | | | needed for spice/common files used by the client, server & qxl driver. in windows _inline works for both c/c++, while inline is c++ only. compiling the client with mixed c/c++ code required this define.
* common: use PANIC from spice_common.hChristophe Fergeau2011-05-031-7/+0
|
* common,server: use ASSERT from spice_common.hChristophe Fergeau2011-05-031-7/+1
| | | | | | | spice_common.h provides an ASSERT macro, no need to duplicate it in many places. For now client/debug.h keeps its own copy since debug.h and spice_common.h have clashes on other macros which are trickier to unify.
* add #include <config.h> to all source filesChristophe Fergeau2011-05-031-1/+3
| | | | | | | | When using config.h, it must be the very first include in all source files since it contains #define that may change the compilation process (eg libc structure layout changes when it's used to enable large file support on 32 bit x86 archs). This commit adds it at the beginning of all .c and .cpp files
* common/pixman: remove dead assignmentsChristophe Fergeau2011-04-081-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.
* Simplify spice_pixman_region32_init_rects with new typesAlexander Larsson2010-07-081-28/+2
| | | | | Don't manually of SpiceRects to pixman_box32_t now that they are compatible and SpiceRect is internal.
* Use the new byteswap macros from spice-protocolAlexander Larsson2010-05-191-8/+2
|
* Add pixman utilities for bitmap to pixman_image_t conversionAlexander Larsson2010-04-231-58/+752
|
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* Always tread depth 24 (i.e. non alpha) as depth 32 when blittingAlexander Larsson2010-04-121-8/+22
| | | | | When blitting we don't really care about alpha mismatches, we just copy bits anyway.
* Use the spice allocator in common/Alexander Larsson2010-03-111-1/+2
|
* Use macros from <spice/macros.h> rather than duplicate themAlexander Larsson2010-03-091-8/+1
|
* Fix colorkeying in pixman_utils.cAlexander Larsson2010-03-081-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.
* Fix warnings from visual studio compilerLarsson@.(none)2010-03-011-5/+5
|
* Add pixman utilitiesAlexander Larsson2010-02-231-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