summaryrefslogtreecommitdiffstats
path: root/common/sw_canvas.h
Commit message (Collapse)AuthorAgeFilesLines
* Death to all TABsDaniel P. Berrange2012-01-131-2/+2
| | | | | | Source files should all use spaces instead of tabs for indentation. Update the few files not already in compliance
* autotools: correctly build canvas-related codeChristophe Fergeau2011-05-031-0/+4
| | | | | | | | | | | | | | | | | | | | | spice client and spice server shares code from common/{gdi,gl,sw}_canvas.[ch]. However, while most of the code is shared, the server code wants a canvas compiled with SW_CANVAS_IMAGE_CACHE defined while the client code wants a canvas compiled with SW_CANVAS_CACHE. The initial autotools refactoring didn't take that into account, this is now fixed by this commit. After this commit, the canvas files from common/ are no longer compiled as part of the libspice-common.la convenience library. Instead, there are "proxy" canvas source files in client/ and server/ which #include the appropriate C files after defining the relevant #define for the binary that is being built. To prevent misuse of the canvas c files and headers in common/, SPICE_CANVAS_INTERNAL must be set when including the canvas headers from common/ or when building the c files from common/ otherwise the build will error out.
* use foo(void) instead of foo() in prototypesChristophe Fergeau2011-05-021-1/+1
| | | | | In C, the latter isn't a prototype for a function with no arg, but declares a function with an undefined number of args.
* 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.
* Stride can be negative, so don't use size_t for itAlexander Larsson2010-08-181-1/+1
|
* Fix inclusion of common files, no need for common/ partAlexander Larsson2010-07-081-1/+1
|
* Move in spice/draw.h from spice-protocol to common/Alexander Larsson2010-07-081-1/+1
|
* Properly parse QXLImage to the new-world SpiceImageGerd Hoffmann2010-07-071-6/+0
| | | | | SpiceImage now replaces RedImage and has all image types in it. All image data are now chunked (and as such not copied when demarshalling).
* applying zlib compression over glz on WAN connectionYonit Halperin2010-06-211-0/+2
|
* JPEG support: introducing jpeg encoding for spice bitmapsYonit Halperin2010-06-091-0/+2
|
* Remove all mentions of "cairo" from the codeAlexander Larsson2010-05-031-0/+60
The command line option is renamed from "cairo" to "sw", and similarly all filenames and types from Cairo to Sw (and similar).