Displaying 2 results from an estimated 2 matches for "has_resize".
2009 Mar 02
0
[PATCH 5 of 13] exploiting the new interface in vnc.c
...ns which are possibly dirty */
int dirty_pixel_shift;
uint64_t *update_row; /* outstanding updates */
@@ -173,7 +177,6 @@
int update_requested; /* the client requested an update */
uint8_t *old_data;
- int depth; /* internal VNC frame buffer byte per pixel */
int has_resize;
int has_hextile;
int has_pointer_type_change;
@@ -214,10 +217,7 @@
/* current output mode information */
VncWritePixels *write_pixels;
VncSendHextileTile *send_hextile_tile;
- int pix_bpp, pix_big_endian;
- int red_shift, red_max, red_shift1, red_max1;
- int green...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...nsole_color_init(ds);
- }
- size_changed = ds->width != w || ds->height != h;
- ds->width = w;
- ds->height = h;
+ vnc_colordepth(ds);
+ size_changed = ds_get_width(ds) != vs->width || ds_get_height(ds) != vs->height;
if (vs->csock != -1 && vs->has_resize && size_changed) {
- vs->width = ds->width;
- vs->height = ds->height;
+ vs->width = ds_get_width(ds);
+ vs->height = ds_get_height(ds);
if (vs->update_requested) {
vnc_write_u8(vs, 0); /* msg id */
vnc_write_u8(vs, 0);...