summaryrefslogtreecommitdiffstats
path: root/common/canvas_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* server: Fix alloc_lz_image_surface stride allocationsAlexander Larsson2010-08-261-1/+1
| | | | | All lz surfaces are not 4 bytes per pixel, calculate the right stride based on the pixman format.
* Make each surface its own depth/formatAlexander Larsson2010-04-231-11/+4
| | | | | | | | 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.
* Make client canvas and pixmaps handle more formats and simplifyAlexander Larsson2010-04-231-0/+9
| | | | | | | | | | | We now support 16bit format pixmaps as well as the old ones. Including both 555 and 565 modes. We drop the palette argument for pixmap construction as it was only used for black/white anyway. Canvas creation is simplified so that there is no separate set_mode state. Canvases are already created in the right mode and never change.
* common: Add lookaside storage for pixman image formatAlexander Larsson2010-04-231-1/+32
| | | | | 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 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/+6
|
* Make gdi canvas build in the new pixman worldLarsson@.(none)2010-03-011-4/+4
|
* Use pixman_image_t instead of cairo_surface_t as the generic pixman containerAlexander Larsson2010-02-231-77/+75
| | | | | | 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.
* fresh startYaniv Kamay2009-10-141-0/+277