search for: width_mask

Displaying 2 results from an estimated 2 matches for "width_mask".

Did you mean: width_map
2009 Mar 02
0
[PATCH 5 of 13] exploiting the new interface in vnc.c
...= vs->serverds.pf.bytes_per_pixel * DP2X(vs, 1); if (!vs->update_requested || vs->csock == -1) return; @@ -638,7 +648,7 @@ now = qemu_get_clock(rt_clock); - if (vs->width != DP2X(vs, DIRTY_PIXEL_BITS)) + if (vs->serverds.width != DP2X(vs, DIRTY_PIXEL_BITS)) width_mask = (1ULL << X2DP_UP(vs, ds_get_width(vs->ds))) - 1; else width_mask = ~(0ULL); @@ -1541,81 +1551,79 @@ check_pointer_type_change(vs, kbd_mouse_is_absolute()); } +static void set_pixel_conversion(VncState *vs) +{ + if ((vs->clientds.flags & QEMU_BIG_ENDIAN_FLAG) == +...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...ld_row += pitch; - } + _vnc_update_client(vs); if (updating_client && vs->csock != -1 && !vs->has_update) { vnc_write_u8(vs, 0); /* msg id */ @@ -695,16 +639,16 @@ now = qemu_get_clock(rt_clock); if (vs->width != DP2X(vs, DIRTY_PIXEL_BITS)) - width_mask = (1ULL << X2DP_UP(vs, vs->ds->width)) - 1; + width_mask = (1ULL << X2DP_UP(vs, ds_get_width(vs->ds))) - 1; else width_mask = ~(0ULL); /* Walk through the dirty map and eliminate tiles that really aren''t dirty */ - row = vs->ds->data; +...