| To: | xen-devel@xxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | [Xen-devel] [PATCH] ioemu: fix VNC case when switching from 32bpp to 24bpp |
| From: | Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx> |
| Date: | 2008年3月21日 11:41:05 +0000 |
| Delivery-date: | 2008年3月21日 04:42:13 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Mail-followup-to: | Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| User-agent: | Mutt/1.5.12-2006年07月14日 |
ioemu: fix VNC case when switching from 32bpp to 24bpp
Event if we don't need to tell the client to redepth, we need to tell
e.g. xenfb that we can't share the buffer any more.
diff -r 87c17a6c540c tools/ioemu/vnc.c
--- a/tools/ioemu/vnc.c Fri Mar 21 10:06:06 2008 +0000
+++ b/tools/ioemu/vnc.c Fri Mar 21 11:37:28 2008 +0000
@@ -1636,8 +1636,8 @@ static void vnc_dpy_colourdepth(DisplayS
switch (depth) {
case 24:
+ ds->shared_buf = 0;
if (ds->depth == 32) return;
- ds->shared_buf = 0;
depth = 32;
break;
case 0:
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-devel] Re: [Xen-bugs] [Bug 1194] both Linux and Windows hvm guest can not boot up , Keir Fraser |
|---|---|
| Next by Date: | Re: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked , Samuel Thibault |
| Previous by Thread: | [Xen-devel] Re: [Xen-bugs] [Bug 1194] both Linux and Windows hvm guest can not boot up , Samuel Thibault |
| Next by Thread: | [Xen-devel] [PATCH 1/8] tools - Add generic subdirs rules , Bastian Blank |
| Indexes: | [Date] [Thread] [Top] [All Lists] |