| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Don't manually of SpiceRects to pixman_box32_t now that they are compatible
and SpiceRect is internal.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
When blitting we don't really care about alpha mismatches, we just copy bits
anyway.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
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
|