Displaying 2 results from an estimated 2 matches for "displaysurface".
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...{
- s->g_width = s->ds->width;
- s->g_height = s->ds->height;
- text_console_resize(s);
- }
- console_refresh(s);
- } else {
- vga_hw_invalidate();
- }
+ ds->surface = qemu_resize_displaysurface(ds->surface, s->g_width,
+ s->g_height, 32, 4 * s->g_width);
+ dpy_resize(s->ds);
+ vga_hw_invalidate();
}
}
@@ -1121,15 +1117,6 @@
{
TextConsole *s = (TextConsole *) opaque;
- if (s->g_width != ds_get...
2009 Mar 02
0
[PATCH 5 of 13] exploiting the new interface in vnc.c
...onsole.h
--- a/console.h Mon Feb 16 11:39:06 2009 +0000
+++ b/console.h Mon Feb 16 12:07:19 2009 +0000
@@ -77,6 +77,7 @@
uint32_t rmask, gmask, bmask, amask;
uint8_t rshift, gshift, bshift, ashift;
uint8_t rmax, gmax, bmax, amax;
+ uint8_t rbits, gbits, bbits, abits;
};
struct DisplaySurface {
diff -r 07a126ac0425 vnc.c
--- a/vnc.c Mon Feb 16 11:39:06 2009 +0000
+++ b/vnc.c Mon Feb 16 12:07:19 2009 +0000
@@ -74,6 +74,12 @@
#define VNC_DEBUG(fmt, ...) do { } while (0)
#endif
+#define count_bits(c, v) { \
+ for (c = 0; v; v >>= 1) \
+ { \
+ c += v & 1; \
+ }...