mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-12 23:23:55 +00:00
dcc: Remove unused result from dcc_add_surface_area_image
Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Julien Ropé <jrope@redhat.com>
This commit is contained in:
parent
87b6b1993e
commit
70347f3175
@ -198,11 +198,9 @@ void dcc_create_surface(DisplayChannelClient *dcc, int surface_id)
|
||||
}
|
||||
|
||||
// adding the pipe item after pos. If pos == NULL, adding to head.
|
||||
RedImageItem *dcc_add_surface_area_image(DisplayChannelClient *dcc,
|
||||
int surface_id,
|
||||
SpiceRect *area,
|
||||
GList *pipe_item_pos,
|
||||
int can_lossy)
|
||||
void
|
||||
dcc_add_surface_area_image(DisplayChannelClient *dcc, int surface_id,
|
||||
SpiceRect *area, GList *pipe_item_pos, int can_lossy)
|
||||
{
|
||||
DisplayChannel *display = DCC_TO_DC(dcc);
|
||||
RedSurface *surface = &display->priv->surfaces[surface_id];
|
||||
@ -256,8 +254,6 @@ RedImageItem *dcc_add_surface_area_image(DisplayChannelClient *dcc,
|
||||
} else {
|
||||
dcc->pipe_add(&item->base);
|
||||
}
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
void dcc_push_surface_image(DisplayChannelClient *dcc, int surface_id)
|
||||
|
||||
@ -152,11 +152,6 @@ void dcc_create_surface (DisplayCha
|
||||
int surface_id);
|
||||
void dcc_push_surface_image (DisplayChannelClient *dcc,
|
||||
int surface_id);
|
||||
RedImageItem * dcc_add_surface_area_image (DisplayChannelClient *dcc,
|
||||
int surface_id,
|
||||
SpiceRect *area,
|
||||
GList *pipe_item_pos,
|
||||
int can_lossy);
|
||||
void dcc_palette_cache_reset (DisplayChannelClient *dcc);
|
||||
void dcc_palette_cache_palette (DisplayChannelClient *dcc,
|
||||
SpicePalette *palette,
|
||||
@ -185,6 +180,8 @@ int dcc_compress_image (DisplayCha
|
||||
int can_lossy,
|
||||
compress_send_data_t* o_comp_data);
|
||||
|
||||
void dcc_add_surface_area_image(DisplayChannelClient *dcc, int surface_id,
|
||||
SpiceRect *area, GList *pipe_item_pos, int can_lossy);
|
||||
VideoStreamAgent *dcc_get_video_stream_agent(DisplayChannelClient *dcc, int stream_id);
|
||||
ImageEncoders *dcc_get_encoders(DisplayChannelClient *dcc);
|
||||
spice_wan_compression_t dcc_get_jpeg_state (DisplayChannelClient *dcc);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user