Commit Graph

27 Commits

Author SHA1 Message Date
Alexander Larsson
6d5ed0eb6f Convert cairo canvas alpha_blend to using pixman 2010-02-23 22:52:05 +01:00
Alexander Larsson
7512c3951f Convert cairo canvas draw_text to using pixman 2010-02-23 22:52:05 +01:00
Alexander Larsson
4d78427363 Convert cairo canvas copy bits to pixman 2010-02-23 22:52:05 +01:00
Alexander Larsson
800cfdd4b8 Convert cairo canvas draw_copy() to using pixman
This is just identical to draw_blend().
2010-02-23 22:52:05 +01:00
Alexander Larsson
32970dd0ef Convert cairo canvas draw_blend() to using pixman 2010-02-23 22:52:05 +01:00
Alexander Larsson
2284af62c3 Convert cairo canvas draw_opaque() to using pixman 2010-02-23 22:52:05 +01:00
Alexander Larsson
70475ea409 Convert cairo canvas draw_fill() to using pixman 2010-02-23 22:52:05 +01:00
Alexander Larsson
93ae409c52 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.
2010-02-23 22:52:05 +01:00
Alexander Larsson
44de7fcff4 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.
2010-02-23 22:52:01 +01:00
Alexander Larsson
1d3ac0b931 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.
2010-02-23 14:43:20 +01:00
Alexander Larsson
451d9e3816 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.
2010-02-23 14:43:20 +01:00
Alexander Larsson
9ae0090945 Add line rasterizer 2010-02-23 14:43:20 +01:00
Alexander Larsson
876bc2daaf 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
2010-02-23 14:43:15 +01:00
Alexander Larsson
f479fdf923 Add emacs settings for indent according to spice styleguide 2010-02-23 11:52:30 +01:00
Alexander Larsson
6da4b78975 Use standard int types and <spice/types.h> 2010-02-04 18:49:05 +01:00
Alexander Larsson
0e7183b35d 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
2010-02-04 18:49:05 +01:00
Alexander Larsson
b950678653 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
2010-02-04 18:49:00 +01:00
Alexander Larsson
fc9394c158 Remove headers that were moved to spice-protocol 2010-02-04 17:56:42 +01:00
Izik Eidus
cb62b90ab2 libspice: add surface 0 support
This include alot of infestracture for off screens.

Signed-off-by: Izik Eidus <ieidus@redhat.com>
2010-01-28 04:46:29 +02:00
Yaniv Kamay
1a1584ec4a client: change rerror code to be positive 2010-01-11 19:58:35 +02:00
Yaniv Kamay
71fe1e4c07 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.
2010-01-11 19:57:29 +02:00
Yonit Halperin
89d886bdcb 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/
2010-01-11 19:10:54 +02:00
Izik Eidus
eea1f803e0 spice client: fix wrong gdi-canvas handling of blend_alpha
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2009-12-23 23:15:07 +02:00
Izik Eidus
777f7ad806 spice: server: add memslots support.
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2009-11-23 20:54:11 +02:00
Yaniv Kamay
96a8c8dc83 fix build on Debian 2009-10-26 23:30:41 +02:00
Yonit Halperin
677c3f5f99 tunnel 2009-10-18 17:42:37 +02:00
Yaniv Kamay
22d4047752 fresh start 2009-10-14 15:06:41 +02:00