diff options
Diffstat (limited to 'server/display-channel.h')
-rw-r--r-- | server/display-channel.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/server/display-channel.h b/server/display-channel.h index f311d888..71d9453c 100644 --- a/server/display-channel.h +++ b/server/display-channel.h @@ -332,12 +332,12 @@ struct DisplayChannel { RedCompressBuf *free_compress_bufs; /* TODO: some day unify this, make it more runtime.. */ + uint32_t add_count; + uint32_t add_with_shadow_count; #ifdef RED_WORKER_STAT stat_info_t add_stat; stat_info_t exclude_stat; stat_info_t __exclude_stat; - uint32_t add_count; - uint32_t add_with_shadow_count; #endif #ifdef RED_STATISTICS uint64_t *cache_hits_counter; @@ -371,6 +371,9 @@ int display_channel_get_streams_timeout (DisplayCha void display_channel_compress_stats_print (const DisplayChannel *display); void display_channel_compress_stats_reset (DisplayChannel *display); void display_channel_drawable_unref (DisplayChannel *display, Drawable *drawable); +int display_channel_add_drawable (DisplayChannel *display, + Drawable *drawable); + static inline int is_equal_path(SpicePath *path1, SpicePath *path2) { @@ -487,4 +490,13 @@ static inline void region_add_clip_rects(QRegion *rgn, SpiceClipRects *data) } } +void red_pipes_add_drawable(DisplayChannel *display, Drawable *drawable); +void current_remove_drawable(DisplayChannel *display, Drawable *item); +void red_pipes_add_drawable_after(DisplayChannel *display, + Drawable *drawable, Drawable *pos_after); +void red_pipes_remove_drawable(Drawable *drawable); +void dcc_add_drawable(DisplayChannelClient *dcc, Drawable *drawable); +void current_remove(DisplayChannel *display, TreeItem *item); +void detach_streams_behind(DisplayChannel *display, QRegion *region, Drawable *drawable); + #endif /* DISPLAY_CHANNEL_H_ */ |