summaryrefslogtreecommitdiffstats
path: root/common/canvas_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* common: add windows.h where required, make gdi_handlers staticMarc-André Lureau2011-05-031-0/+4
| | | | | This patch has not been verified with VS/brew. It should be safe hopefully. Compilation is fine with mingw32/spice-gtk.
* common: add extern "C" guards to headersChristophe Fergeau2011-05-021-0/+8
| | | | | | Since some spice C++ code is using code from common/, the C functions need to be marked as such for the C++ compiler, otherwise we'll get linkage issues.
* Make each surface its own depth/formatAlexander Larsson2010-04-231-1/+2
| | | | | | | | Surface creation now specifies the exact format, not only the bit depth of each surface which is used for rendering. Additionally we now actually store the surfaces in that format, instead of converting everything to 32bpp when drawing or e.g. handling palettes.
* common: Add lookaside storage for pixman image formatAlexander Larsson2010-04-231-0/+6
| | | | | Ideally we should just read this from the pixman image, but there is no API to do so in stable pixman, so we store it.
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* Use pixman_image_t instead of cairo_surface_t as the generic pixman containerAlexander Larsson2010-02-231-15/+15
| | | | | | This allows us to use the simpler dependency of pixman outside of the cairo backend, and it later lets us move the cairo backend to using pixman only.
* Use standard int types and <spice/types.h>Alexander Larsson2010-02-041-7/+1
|
* fresh startYaniv Kamay2009-10-141-0/+67