summaryrefslogtreecommitdiffstats
path: root/server/display-channel.h
Commit message (Collapse)AuthorAgeFilesLines
* worker: add display_channel_free_glz_drawables_to_free()Marc-André Lureau2015-11-201-0/+1
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: move display_channel_flush_all_surfacesMarc-André Lureau2015-11-201-0/+1
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: move compress to dcc_compress_image()Frediano Ziglio2015-11-201-0/+4
| | | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* worker: move glz_drawable_count to DisplayChannelFrediano Ziglio2015-11-201-0/+2
| | | | | Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* worker: move display_channel_wait_for_migrate_dataMarc-André Lureau2015-11-191-0/+1
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: move dcc_start()Marc-André Lureau2015-11-191-5/+2
| | | | | Author: Marc-André Lureau <marcandre.lureau@gmail.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: start a DisplayChannelClient unitMarc-André Lureau2015-11-191-110/+2
| | | | | | 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>
* worker: move encoders to dcc-encodersMarc-André Lureau2015-11-191-58/+16
| | | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: painfully move display_channel_add_drawableMarc-André Lureau2015-11-181-0/+11
| | | | | Acked-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
* worker: add compression parameters to dccMarc-André Lureau2015-11-181-1/+7
| | | | | | | | | | | | | This allow different dcc to have different settings from default one. The parameters are copied initially from default settings but then they can change independently for each client. Even having a single client a future client is not affected by a previous setting on the old dcc. Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> [updated for the preferred compression] Signed-off-by: Pavel Grunt <pgrunt@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
* worker: simplify RedCompressBufMarc-André Lureau2015-11-181-3/+0
| | | | | | | | Make sure an allocated buffer is correctly referenced by the marshaller, and can't be free and reused by mistake. Simplify the code by using GSlice Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* worker: move surfaces to DisplayChannelMarc-André Lureau2015-11-181-0/+32
| | | | | | | | Ok. this one was painful.Note that in some cases, DCC_TO_DC should be made safer (there used to be a if !dcc guard in some places, although that looks wrong anyway)... Acked-by: Pavel Grunt <pgrunt@redhat.com>
* Move stream creation and maintenance functions to stream.[ch]Jonathon Jongsma2015-11-181-0/+5
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: move stream_agent_stop and friendsMarc-André Lureau2015-11-181-0/+2
| | | | Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* display-channel: Keep macro definition in one lineMarc-André Lureau2015-11-181-2/+2
| | | | Acked-by: Frediano Ziglio <fziglio@redhat.com>
* worker: Move stream functions to stream.cJonathon Jongsma2015-11-181-2/+15
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* Move some more drawable functions to display channelJonathon Jongsma2015-11-161-0/+26
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* Move dcc_push_stream_agent_clip() to display channelJonathon Jongsma2015-11-161-0/+2
| | | | | | rename to dcc_add_stream_agent_clip() Acked-by: Pavel Grunt <pgrunt@redhat.com>
* server: Remove the display_channel_attach_stream() prototypeFrancois Gouget2015-11-131-3/+0
| | | | | | | It is unused. Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
* worker: don't use weird RedCompressedBuf nbytes shiftingMarc-André Lureau2015-11-131-1/+8
| | | | | | | 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> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: move RED_WORKER_STAT, make it compile againMarc-André Lureau2015-11-111-1/+8
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: Move drawable utility functions to display channelJonathon Jongsma2015-11-111-0/+89
| | | | | | | | Functions that check the equality of a path, brush, etc are moved the display channel source file to prepare for moving the surfaces to the display channel. Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: move drawable to displayMarc-André Lureau2015-11-111-5/+19
| | | | Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* worker: move current to displayMarc-André Lureau2015-11-101-0/+3
| | | | Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* worker: move red_destroy_surface_item()Marc-André Lureau2015-11-101-0/+12
| | | | Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* worker: move stream to display channelMarc-André Lureau2015-11-101-3/+19
| | | | Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* worker: move stream definitions to a new stream.h fileMarc-André Lureau2015-11-101-59/+1
| | | | | | 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>
* worker: move image cache to displayMarc-André Lureau2015-11-101-0/+2
| | | | Acked-by: Frediano Ziglio <fziglio@redhat.com>
* worker s/surfaces_dest/surface_depsMarc-André Lureau2015-11-101-1/+1
| | | | | Acked-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* worker: move some compress stats to displayMarc-André Lureau2015-11-061-0/+3
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: move MonitorsConfig to display channelMarc-André Lureau2015-11-051-0/+1
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* worker: move DisplayChannel structMarc-André Lureau2015-11-051-0/+32
| | | | Acked-by: Frediano Ziglio <fziglio@redhat.com>
* worker: Move some dpi code to display channelMarc-André Lureau2015-11-041-0/+73
| | | | | | | | This commit moves some DrawablePipeItem declarations to display-channel.h, though the function implementations remain in red_worker.c until they can be disentangled some more. Acked-by: Frediano Ziglio <fziglio@redhat.com>
* Move monitors_config to displayMarc-André Lureau2015-11-041-0/+17
| | | | Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* server: move display_channel_client_create() to dcc_new()Marc-André Lureau2015-11-021-3/+41
| | | | | | | Move function from server/red_worker.c to new server/display-channel.c. Acked-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
* tree: move that to a separate unitMarc-André Lureau2015-11-021-0/+6
| | | | Acked-by: Frediano Ziglio <fziglio@redhat.com>
* Replace now() with get_mononotonic_time()Marc-André Lureau2015-10-291-2/+1
| | | | Acked-by: Frediano Ziglio <fziglio@redhat.com>
* server: split cache-item.hMarc-André Lureau2015-10-231-15/+1
| | | | Acked-by: Frediano Ziglio <fziglio@redhat.com>
* server: start separate display/cursor channel headersMarc-André Lureau2015-10-231-0/+211
Just move some declarations around Acked-by: Frediano Ziglio <fziglio@redhat.com>