Displaying 2 results from an estimated 2 matches for "nonshared_vram".
2008 Feb 29
35
[RFC] PVFB: Add refresh period to XenStore parameters?
Hello,
Sometimes the backend of PVFB knows that it doesn''t need permanent
refresh, when the window is minimized for instance (no refresh at all),
or the administration tools know that the window is thumnailed, and so a
slow refresh rate is fine. Also, some users may want to tune the
refresh rate according to the smoothness they would like, balanced with
the CPU time that requires.
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...fb_dev)
return;
- if (ds->shared_buf) {
- offset = pixels - xs->vga_vram;
- ds->data = pixels;
- fbfront_resize(fb_dev, ds_get_width(ds), ds_get_height(ds), ds_get_linesize(ds), ds_get_bits_per_pixel(ds), offset);
- } else {
- ds->data = xs->nonshared_vram;
- fbfront_resize(fb_dev, w, h, linesize, ds_get_bits_per_pixel(ds), vga_ram_size);
- }
+ if (!(ds->surface->flags & QEMU_ALLOCATED_FLAG))
+ offset = ((void *) ds_get_data(ds)) - xs->vga_vram;
+ else
+ offset = vga_ram_size;
+ fbfront_resize(fb_dev, ds_...