From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcjuQ-00039w-Nf for qemu-devel@nongnu.org; Mon, 08 Sep 2008 12:48:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcjuP-00037z-2b for qemu-devel@nongnu.org; Mon, 08 Sep 2008 12:48:14 -0400 Received: from [199.232.76.173] (port=41220 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcjuO-00037m-Nr for qemu-devel@nongnu.org; Mon, 08 Sep 2008 12:48:12 -0400 Received: from ag-out-0708.google.com ([72.14.246.250]:32325) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcjuO-0005gT-DF for qemu-devel@nongnu.org; Mon, 08 Sep 2008 12:48:12 -0400 Received: by ag-out-0708.google.com with SMTP id 31so4445123agc.5 for ; Mon, 08 Sep 2008 09:48:11 -0700 (PDT) Message-ID: <48C5571A.70204@codemonkey.ws> Date: Mon, 08 Sep 2008 11:47:22 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window References: <20080905120214.GD1373@shareable.org> <48C16207.5090808@eu.citrix.com> <20080905165536.GA12606@redhat.com> <48C168CE.5040700@eu.citrix.com> <48C348D3.6070702@codemonkey.ws> <20080908134140.GF4947@shareable.org> <20080908134833.GQ2315@redhat.com> <48C53D24.8030803@redhat.com> <20080908150759.GB8465@shareable.org> <48C5463D.8090005@redhat.com> <20080908153951.GA9282@shareable.org> <48C55198.9020209@redhat.com> In-Reply-To: <48C55198.9020209@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Gerd Hoffmann wrote: > Jamie Lokier wrote: > >> Gerd Hoffmann wrote: >> >>> Or use the monitor, which the gui needs anyway to implement the nice >>> control buttons for the user. Which would it make easier to re-attach >>> the gui to the vm as all you need to know is where the monitor is ... >>> >> You want to transmit the image or the image-blit-please protocol over >> the monitor connection? >> > > Negotiate a shared memory segment somehow, then send just notifications. > Have to think about how to to that in detail, ideally this would be a > shared memory segment shared by all three instances involved: the gui > process, the qemu process and the X-Server. So qemu can render directly > into a XShmImage, although it has no (direct) connection to the X-Server. > This is exactly how my VNC Shm patches worked. The protocol extension is generic but it happens to work very well with an XShmImage. If someone wants to resurrect these patches, they can find them on gtk-vnc-devel (probably). Otherwise, I'll queue them up for when I have some free time. Now with Dan's cairo patches, the impact to gtk-vnc should be minimal. Regards, Anthony Liguori