Commit Graph

22 Commits

Author SHA1 Message Date
Alexander Larsson
2be667e8a3 Convert cairo canvas draw_opaque() to using pixman 2012-03-20 15:25:38 +01:00
Alexander Larsson
de3d6525e9 Convert cairo canvas draw_fill() to using pixman 2012-03-20 15:25:38 +01:00
Alexander Larsson
5784e86202 Add possibility to not invert bitmask in canvas_get_mask()
This allows the pixman implementation to instead invert the (generally
smaller) region instead of duplicating the bitmap to invert it.
2012-03-20 15:25:37 +01:00
Alexander Larsson
f4b7a9d004 Use pixman_image_t instead of cairo_surface_t as the generic pixman container
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.
2012-03-20 15:25:37 +01:00
Alexander Larsson
f9e187c619 Turn image and palette cache into c style dynamic interface
Instead of passing a bunch of function pointer and an opaque
pointer we make a real type and add a vtable pointer to it.
This means we can simplify all the canvas constructors, etc.
2012-03-20 15:25:37 +01:00
Alexander Larsson
517e38ad0f Add pixman_image_t referencing the cairo_canvas bits
This references the same data as the cairo surface and can be used
for drawing to the surface using direct pixman calls instead.
2012-03-20 15:25:37 +01:00
Alexander Larsson
639b6b5b26 Add line rasterizer 2012-03-20 15:25:37 +01:00
Alexander Larsson
98f2dfbf2f Add pixman utilities
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
2012-03-20 15:25:37 +01:00
Alexander Larsson
9d9a3e12c0 Add emacs settings for indent according to spice styleguide 2012-03-20 15:25:37 +01:00
Alexander Larsson
5ead2f51a2 Use standard int types and <spice/types.h> 2012-03-20 15:25:37 +01:00
Alexander Larsson
87d0104241 Use the new header names
I just ran:
 find -name "*.[ch]" | xargs sed -i -f ../spice-protocol/includes.sed
 find -name "*.cpp" | xargs sed -i -f ../spice-protocol/includes.sed
2012-03-20 15:25:37 +01:00
Alexander Larsson
2637b1ac76 Rename symbols that were changed in spice-protocol
This is an automatic change using:
$ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
$ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
2012-03-20 15:25:37 +01:00
Alexander Larsson
3fb8b84103 Remove headers that were moved to spice-protocol 2012-03-20 15:25:37 +01:00
Izik Eidus
a940ecc40b libspice: add surface 0 support
This include alot of infestracture for off screens.

Signed-off-by: Izik Eidus <ieidus@redhat.com>
2012-03-20 15:25:37 +01:00
Yaniv Kamay
89b1b0e897 client: change rerror code to be positive 2012-03-20 15:25:37 +01:00
Yaniv Kamay
d6ee10057e client: add Platform::term_printf
Platform::term_printf is a variant of printf that
on windows dynamically opens console in order to
have visible output during command line processing.
2012-03-20 15:25:37 +01:00
Yonit Halperin
f7016f367f server,client: server authentication for secured channels.
3 available mechanisms:  by public key, by host name, and by certificate subject name.
In the former method, chain of trust verification is not performed.
The CA certificate files are looked for under <spice-config-dir>/spice_truststore.pem

windows <spice-config-dir>=%APPDATA%\spicec\
linux <spice-config-dir>=$HOME/.spicec/
2012-03-20 15:25:36 +01:00
Izik Eidus
f40720e780 spice client: fix wrong gdi-canvas handling of blend_alpha
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2012-03-20 15:25:36 +01:00
Izik Eidus
8d3823c46a spice: server: add memslots support.
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2012-03-20 15:25:36 +01:00
Yaniv Kamay
ee15aef4bc fix build on Debian 2012-03-20 15:25:36 +01:00
Yonit Halperin
5d6ebd5f1f tunnel 2012-03-20 15:25:36 +01:00
Yaniv Kamay
a9ae774c90 fresh start 2012-03-20 15:25:36 +01:00