summaryrefslogtreecommitdiff
path: root/server/dcc-encoders.h
AgeCommit message (Collapse)AuthorFilesLines
2016-02-15Remove RedGlzDrawable::group_idChristophe Fergeau1-1/+0
It's unused. Acked-by: Frediano Ziglio <fziglio@redhat.com>
2016-01-14Remove compress_buf_newChristophe Fergeau1-3/+1
This commit reworks a bit the management of RedCompressBuf so that compress_buf_new/compress_buf_free become unneeded. Since d25d6ca0 and the introduction of encoder_data_reset, compress_buf_free is already unused outside of dcc-encoders.c and could be static. This in turn makes compress_buf_new a bit odd as the matching destructor is never used in dcc.c. This commit introduces an encoder_data_init() method which is hiding the initialization of the EncoderData structure from the dcc.c code, allowing to get rid of compress_buf_new() calls from dcc.c code. It also uses this as an opportunity to stop using GSlice for RedCompressBuf. Acked-by: Frediano Ziglio <fziglio@redhat.com>
2016-01-08dcc: write and use a new encoder_data_reset function to clean buffersFrediano Ziglio1-0/+2
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2015-12-04remove glz_encoder_config.hJonathon Jongsma1-1/+0
Move all code from glz_encoder_config.h into other files. Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-12-03server: rename filesFrediano Ziglio1-8/+8
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>
2015-11-24worker: move dcc_handle_messageMarc-André Lureau1-0/+7
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-23worker: move display_channel_free_someMarc-André Lureau1-1/+2
Author: Marc-André Lureau <marcandre.lureau@gmail.com> Acked-by: Fabiano Fidêncio <fabiano@fidencio.org>
2015-11-20worker: move more free_glz_drawableMarc-André Lureau1-2/+5
Acked-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-20worker: Free encoders when client disconnectsPavel Grunt1-0/+1
Signed-off-by: Pavel Grunt <pgrunt@redhat.com>
2015-11-20worker: move dcc_freeze_glzMarc-André Lureau1-0/+1
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-20worker: add display_channel_free_glz_drawables_to_free()Marc-André Lureau1-0/+2
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
2015-11-19worker: start a DisplayChannelClient unitMarc-André Lureau1-0/+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>
2015-11-19worker: simplify GlzDrawableInstanceItem fields nameMarc-André Lureau1-2/+2
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-11-19worker: move encoders to dcc-encodersMarc-André Lureau1-0/+153
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>