Re: [Qemu-devel] [PATCHv3 1/6] ui/vnc: introduce VNC_DIRTY_PIXELS_PER_BIT macro

2014-01-06 Thread Peter Lieven
On 06.01.2014 07:52, Wenchao Xia wrote: >> @@ -781,10 +784,10 @@ static void vnc_dpy_copy(DisplayChangeListener *dcl, >> if ((s = w - w_lim) == 0) >> break; >> } else if (!x) { >> -s = (16 - (dst_x % 16)); >> +s =

Re: [Qemu-devel] [PATCHv3 1/6] ui/vnc: introduce VNC_DIRTY_PIXELS_PER_BIT macro

2014-01-05 Thread Wenchao Xia
> @@ -781,10 +784,10 @@ static void vnc_dpy_copy(DisplayChangeListener *dcl, > if ((s = w - w_lim) == 0) > break; > } else if (!x) { > -s = (16 - (dst_x % 16)); > +s = (16 - (dst_x % VNC_DIRTY_PIXELS_PER_BIT)); S

[Qemu-devel] [PATCHv3 1/6] ui/vnc: introduce VNC_DIRTY_PIXELS_PER_BIT macro

2014-01-05 Thread Peter Lieven
Signed-off-by: Peter Lieven --- ui/vnc.c | 61 ++--- ui/vnc.h |6 +- 2 files changed, 43 insertions(+), 24 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index 5601cc3..1ca6021 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -442,17 +442,1