diff options
| author | Alon Levy <alevy@redhat.com> | 2011-07-06 02:12:19 +0200 |
|---|---|---|
| committer | Alon Levy <alevy@redhat.com> | 2011-07-20 16:00:19 +0300 |
| commit | 096f49afbf4e83ccee80f58479b3ff05bd355660 (patch) | |
| tree | 7f8df1ea290e3ed23b0a34a82ae0f22aaf8cbc38 /server/tests/basic_event_loop.c | |
| parent | 4db8f5efdda91acf3b94c6c104d48438f6f4e85d (diff) | |
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
Diffstat (limited to 'server/tests/basic_event_loop.c')
0 files changed, 0 insertions, 0 deletions
