Re: [Spice-devel] [PATCH spice-server 1/3] Relax conversion to RedChannel

2016-11-07 Thread Christophe Fergeau
On Mon, Nov 07, 2016 at 11:13:21AM +, Frediano Ziglio wrote: > Now RED_CHANNEL is a function call so avoid to call multiple > time for the same conversion in the same functions. > This speed up and reduce code and also reduce source line > length. To be honest, these are not really convinci

[Spice-devel] [PATCH spice-server 1/3] Relax conversion to RedChannel

2016-11-07 Thread Frediano Ziglio
Now RED_CHANNEL is a function call so avoid to call multiple time for the same conversion in the same functions. This speed up and reduce code and also reduce source line length. Signed-off-by: Frediano Ziglio --- server/cursor-channel.c | 12 server/display-channel.c | 7 ---