spice/server
Alon Levy b233761b91 server: add async io support
The new _ASYNC io's in qxl_dev listed at the end get six new api
functions, and an additional callback function "async_complete". When
the async version of a specific io is used, completion is notified by
calling async_complete, and no READY message is written or expected by
the dispatcher.

update_area has been changed to push QXLRects to the worker thread, where
the conversion to SpiceRect takes place.

A cookie has been added to each async call to QXLWorker, and is passed back via
async_complete.

Added api:

QXLWorker:
    update_area_async
    add_memslot_async
    destroy_surfaces_async
    destroy_primary_surface_async
    create_primary_surface_async
    destroy_surface_wait_async

QXLInterface:
    async_complete

(cherry picked from commit 096f49afbf)
2011-07-21 15:09:29 +03:00
..
tests server/tests remove useless assignment 2011-07-21 15:09:27 +03:00
.gitignore gitignore: add generated_*, vim temps, pyc 2010-11-08 16:06:55 +02:00
agent-msg-filter.c server: add discard all option to agent message filter 2011-04-01 14:22:44 +02:00
agent-msg-filter.h server: add discard all option to agent message filter 2011-04-01 14:22:44 +02:00
char_device.h server: add char_device.h header, use in reds.c 2010-12-06 18:09:14 +02:00
demarshallers.h Add destructor for demarshalled messages 2010-06-22 10:53:24 +02:00
glz_encode_match_tmpl.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
glz_encode_tmpl.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
glz_encoder_config.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
glz_encoder_dictionary_protected.h Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
glz_encoder_dictionary.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
glz_encoder_dictionary.h Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
glz_encoder.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
glz_encoder.h Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
jpeg_encoder.c client/server: warning fixes (gcc 4.6.0) 2011-01-27 12:48:25 +02:00
jpeg_encoder.h JPEG support: introducing jpeg encoding for spice bitmaps 2010-06-09 11:40:25 +02:00
Makefile.am build: add --with-sasl 2011-07-21 15:09:26 +03:00
mjpeg_encoder.c Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
mjpeg_encoder.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_bitmap_utils.h Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
red_channel.c server: rename s/peer/stream 2011-07-21 15:09:26 +03:00
red_channel.h server: rename s/peer/stream 2011-07-21 15:09:26 +03:00
red_client_cache.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_client_shared_cache.h support for lossy images in the pixmap cache and fill bits 2010-06-09 11:41:01 +02:00
red_common.h Make all message structs internal to spice 2010-06-18 20:27:32 +02:00
red_dispatcher.c server: add async io support 2011-07-21 15:09:29 +03:00
red_dispatcher.h server: add async io support 2011-07-21 15:09:29 +03:00
red_memslots.c improve memory slot error logging. 2010-06-29 12:30:19 +02:00
red_memslots.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_parse_qxl.c server: add async io support 2011-07-21 15:09:29 +03:00
red_parse_qxl.h server: add async io support 2011-07-21 15:09:29 +03:00
red_tunnel_worker.c s/__visible__/SPICE_GNUC_VISIBLE 2011-07-21 15:09:29 +03:00
red_tunnel_worker.h server: Unset executable bit of red_tunnel_worker.h 2011-07-21 15:09:28 +03:00
red_worker.c server: add async io support 2011-07-21 15:09:29 +03:00
red_worker.h server: add async io support 2011-07-21 15:09:29 +03:00
reds.c use foo(void) instead of foo() in prototypes 2011-07-21 15:09:29 +03:00
reds.h use foo(void) instead of foo() in prototypes 2011-07-21 15:09:29 +03:00
smartcard.c server/smartcard: register channel only when hardware is available 2011-07-21 15:09:28 +03:00
smartcard.h use foo(void) instead of foo() in prototypes 2011-07-21 15:09:29 +03:00
snd_worker.c use foo(void) instead of foo() in prototypes 2011-07-21 15:09:29 +03:00
snd_worker.h use foo(void) instead of foo() in prototypes 2011-07-21 15:09:29 +03:00
spice-experimental.h move chardevs out of experimental 2010-12-16 09:17:42 +01:00
spice-server.syms server: add async io support 2011-07-21 15:09:29 +03:00
spice.h server: add async io support 2011-07-21 15:09:29 +03:00
stat.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
zlib_encoder.c add missing "LGPLv2.1 or later" header to source files 2011-07-21 15:09:28 +03:00
zlib_encoder.h applying zlib compression over glz on WAN connection 2010-06-21 15:05:37 +02:00