Go to file
Christophe Fergeau aa2b615cd8 autotools: correctly build canvas-related code
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.
2011-05-03 14:44:10 +02:00
win Add files i forgot to commit 2010-07-09 11:57:09 +02:00
.gitignore fresh start 2009-10-14 15:06:41 +02:00
canvas_base.c autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
canvas_base.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
canvas_utils.c server: Fix alloc_lz_image_surface stride allocations 2010-08-26 09:38:36 +02:00
canvas_utils.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
draw.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
gdi_canvas.c autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
gdi_canvas.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
gl_canvas.c autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
gl_canvas.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
gl_utils.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
glc.c common/gl: remove unused variable 2011-03-23 11:26:33 +01:00
glc.c.save fresh start 2009-10-14 15:06:41 +02:00
glc.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
lines.c Initialize variable to avoid compiler warning 2010-09-29 12:47:15 +02:00
lines.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
lz_common.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
lz_compress_tmpl.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
lz_config.h Use macros from <spice/macros.h> rather than duplicate them 2010-03-09 11:10:00 +01:00
lz_decompress_tmpl.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
lz.c mingw32 build: fix signed/unsigned warnings as errors 2010-12-08 17:11:45 +02:00
lz.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
Makefile.am autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
marshaller.c Fix sign warnings from win32 compiler 2010-07-08 15:44:39 +02:00
marshaller.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
mem.c common: add SpiceBuffer - based on qemu-vnc Buffer 2011-02-28 16:36:35 +01:00
mem.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
messages.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
mutex.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
ogl_ctx.c Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
ogl_ctx.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
pixman_utils.c common/pixman: remove dead assignments 2011-04-08 12:14:19 +02:00
pixman_utils.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
quic_config.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
quic_family_tmpl.c Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
quic_rgb_tmpl.c Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
quic_tmpl.c Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
quic.c use foo(void) instead of foo() in prototypes 2011-05-02 11:24:44 +02:00
quic.h use foo(void) instead of foo() in prototypes 2011-05-02 11:24:44 +02:00
rect.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
region.c Fix warnings breaking win32 build 2010-04-23 16:36:31 +02:00
region.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
ring.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
rop3.c use foo(void) instead of foo() in prototypes 2011-05-02 11:24:44 +02:00
rop3.h use foo(void) instead of foo() in prototypes 2011-05-02 11:24:44 +02:00
spice_common.h use foo(void) instead of foo() in prototypes 2011-05-02 11:24:44 +02:00
sw_canvas.c autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
sw_canvas.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00