summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-02display: add update_compression() methodMarc-André Lureau3-17/+23
Acked-by: Pavel Grunt <pgrunt@redhat.com>
2015-12-02worker: move red_process_surfaceMarc-André Lureau3-63/+67
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2015-11-27Add travis CI fileMarc-André Lureau1-0/+31
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
2015-11-27Update spice-commonMarc-André Lureau1-0/+0
Fix distcheck
2015-11-27build-sys: remove --enable-openglMarc-André Lureau1-1/+0
OpenGL was removed in commit c5c176a5c7, enabling it on discheck will fail to link with spice-common gl-enabled library Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
2015-11-27server: cleanupsMarc-André Lureau9-71/+33
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-27worker: remove some unnecessary inlineMarc-André Lureau2-9/+9
Acked-by: Pavel Grunt <pgrunt@redhat.com>
2015-11-27worker: move dcc_send & marshallers to dcc-send.cMarc-André Lureau7-2462/+2496
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-26worker: move red_pipes_remove_drawableMarc-André Lureau3-20/+18
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-26worker: move current_remove*Marc-André Lureau5-83/+82
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-26worker: move more stream functionsMarc-André Lureau6-176/+180
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-26display: remove some public declarationsMarc-André Lureau2-4/+4
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-26server: move LZ_IMAGE_TYPE_* enum to dccMarc-André Lureau2-16/+16
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
2015-11-26display: Simplify display_channel_create_surfaceMarc-André Lureau1-19/+13
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-26server: rename _tmpl filesMarc-André Lureau9-16/+16
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-26display: reuse code in display_channel_draw_untilMarc-André Lureau3-37/+15
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-26worker: use spice_return_if_fail() instead of spice_assert() in release_itemMarc-André Lureau1-1/+1
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-26worker: changed some spice_assert in display_channel_draw_tillMarc-André Lureau1-2/+2
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-25display: Remove extra parameters from create_canvas_for_surfaceMarc-André Lureau1-11/+5
Get them from the surface Acked-by: Pavel Grunt <pgrunt@redhat.com>
2015-11-25worker: move display_channel_create_surfaceMarc-André Lureau3-118/+103
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-25worker: move display_channel_updateMarc-André Lureau3-39/+45
Acked-by: Pavel Grunt <pgrunt@redhat.com>
2015-11-25worker: move destroy_surface() famillyMarc-André Lureau5-168/+174
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-25worker: move display_channel_newMarc-André Lureau5-203/+209
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-25display: factor out current_find_intersects_rectMarc-André Lureau1-19/+26
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-25display: factor out draw_untilMarc-André Lureau1-32/+26
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-25worker: move display_channel_drawMarc-André Lureau2-155/+156
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-25worker: simplify surface_update_dest()Marc-André Lureau1-13/+14
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-25server: Remove MJPEG's video callback assertFrancois Gouget1-3/+2
A NULL get_roundtrip_ms() callback simply disables rate control so that mjpeg_encoder_get_source_fps() will not be called. Should it be called despite this, simply return the highest allowed framerate (get_source_fps()'s value is only an estimate anyway). Finally update_client_playback_delay() is always checked before use. Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
2015-11-25server: Encapsulate the get_source_fps() video encoder callbackFrancois Gouget1-7/+12
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
2015-11-24worker: simplify handle_dev_oomFrediano Ziglio1-6/+4
Do not check if worker->display_channel is NULL as we are already using to get some field so must be not NULL. Reuse display_red_channel variable. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Uri Lublin <uril@redhat.com>
2015-11-24dcc: remove possible dandling pointersFrediano Ziglio1-0/+5
Set pointers to NULL after releasing encoders. This to make sure no further access will occurs. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
2015-11-24worker: Change validate_area to surface_update_destMarc-André Lureau1-7/+4
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-24worker: rename red_connect_cursor and tidy up a bitMarc-André Lureau1-13/+10
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
2015-11-24worker: fix constantFrediano Ziglio1-1/+1
Use mnemonic instead of constant to return enumeration value Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-24worker: move drawable_drawMarc-André Lureau3-247/+248
Acked-by: Fabiano Fidêncio <fabiano@fidencio.org> Acked-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-24worker: remove display_channel prefix from channel callbacksMarc-André Lureau1-10/+10
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2015-11-24worker: move dcc_release_itemMarc-André Lureau4-134/+136
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2015-11-24worker: simplify handle_migrate_data functionsMarc-André Lureau1-4/+4
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-24worker: move dcc_handle_migrate_dataMarc-André Lureau3-158/+143
Acked-by: Fabiano Fidêncio <fabiano@fidencio.org>
2015-11-24worker: move attach_streamMarc-André Lureau3-57/+56
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-24worker: move dcc_add_drawable*Marc-André Lureau5-169/+164
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-24worker: move dcc_handle_messageMarc-André Lureau5-244/+228
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-24worker: do not set worker image compression on client requestMarc-André Lureau1-3/+2
Display client can ask to change the preferred compression. Previously this setting change the entire worker setting so every future client created would have this setting. Remove the setting in the worker make the change only to the current client. Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-23worker: rename update_areaMarc-André Lureau2-18/+19
Acked-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Fabiano Fidêncio <fabiano@fidencio.org>
2015-11-23worker: move display_channel_free_someMarc-André Lureau5-129/+145
Author: Marc-André Lureau <marcandre.lureau@gmail.com> Acked-by: Fabiano Fidêncio <fabiano@fidencio.org>
2015-11-23worker: replace some precondition checksMarc-André Lureau1-41/+20
Acked-by: Fabiano Fidêncio <fabiano@fidencio.org>
2015-11-23worker: generalize surface_dirty_region_to_rectsMarc-André Lureau1-15/+11
Acked-by: Fabiano Fidêncio <fabiano@fidencio.org>
2015-11-23worker: move dcc_add_surface_area_imageMarc-André Lureau5-118/+119
Author: Marc-André Lureau <marcandre.lureau@gmail.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2015-11-23main channel: Remove unused main_channel_client_get_link_idPavel Grunt2-6/+0
It was introduced in 9cece23ba3e49e6eec9e380daa95d6ee0133c91c but never used. Signed-off-by: Pavel Grunt <pgrunt@redhat.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-23main channel: Remove unused main_channel_push_notifyPavel Grunt2-7/+0
It is not needed since 8d44aa032892ea6643925fa7485d9af32853e127 Signed-off-by: Pavel Grunt <pgrunt@redhat.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>