Izik Eidus
4a208b3644
libspice: add off screens support
...
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2010-04-03 05:35:31 +03:00
Alexander Larsson
af4672326b
Use the spice allocator in common/
2010-03-11 12:14:08 +01:00
Alexander Larsson
18606d99ea
Move canvas_region and group_start/end to canvas_base
2010-03-08 19:45:28 +01:00
Alexander Larsson
f8217d8b96
Move virtualization of canvas drawing into common/canvas_base
...
Instead of having two virtualizations of the canvas we push the
virtualization into the canvas code itself. This not only avoids
the duplication of this code, it also makes the exposed API for the
canvas much smaller (in terms of exported API).
It also lets us use the virtualization to implement basic support
for operations in canvas_base which is then overridden by each canvas
implementation.
2010-03-08 19:45:28 +01:00
Alexander Larsson
05697e502d
Make virt mapping an interface
2010-03-08 19:45:28 +01:00
Alexander Larsson
f7a77f9881
Make glz_decoder non-optional canvas_base in canvas constructors
...
It can still be NULL, but we simplify the headers by always including it.
There is no practical performance difference here.
2010-03-08 19:45:27 +01:00
Alexander Larsson
c0fdcd1a10
Make canvas Glz decoder integration nicer
...
We use a dynamic interface similar to e.g. SpiceImageCache instead
of passing both function and opaque
2010-03-08 19:45:27 +01:00
Alexander Larsson
98dde80ed3
Replace custom region implementation with pixman_region32_t
...
pixman_region32_t is an efficient well tested region implementation (its
the one used in X) that we already depend on via pixman and use in
some places. No need to have a custom region implementation.
2010-02-23 22:52:06 +01:00
Alexander Larsson
a7ceb98ea1
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
16780a7b81
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
0b0342ee7e
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
2233dd02a1
Add emacs settings for indent according to spice styleguide
2010-02-23 11:52:30 +01:00
Alexander Larsson
39be5a8b13
Use standard int types and <spice/types.h>
2010-02-04 18:49:05 +01:00
Alexander Larsson
1f51697852
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
Izik Eidus
a70110c4e5
spice: server: add memslots support.
...
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2009-11-23 20:54:11 +02:00
Yaniv Kamay
c1b79eb035
fresh start
2009-10-14 15:06:41 +02:00