[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window
From: |
Samuel Thibault |
Subject: |
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window |
Date: |
Sun, 7 Sep 2008 17:12:54 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Paul Brook, le Sun 07 Sep 2008 16:03:30 +0100, a écrit :
> On Sunday 07 September 2008, Samuel Thibault wrote:
> > Paul Brook, le Sun 07 Sep 2008 15:36:51 +0100, a écrit :
> > > > Ideally, once switched to fullscreen you could just let the guest
> > > > directly write to the actual video memory (particularly interesting for
> > > > Xen and KVM).
> > >
> > > You really don't want to have the guest writing directly to host video
> > > ram. Video ram tends to be high-latency, so you want to write to regular
> > > memory, then use a wide block transfer or DMA to copy to video ram.
> >
> > How often?
>
> You probably want to sync the updates to the vertical refresh. Updating more
> often than that is pointless.
Sure.
> > Which part(s) of the framebuffer?
>
> Whichever parts have changed.
Sure, how do you detect that?
The previous Xen memcmp method was eating 10% cpu for a 30Hz refresh,
just for the memcmp. Now it uses the pagetable dirty bits and after
some idleness, trapping, but having the guest just write to actual
video memory (when it _has_ to be shown on the screen anyway) seems the
fastest way.
Samuel
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, (continued)
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Stefano Stabellini, 2008/09/04
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Jamie Lokier, 2008/09/05
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Samuel Thibault, 2008/09/05
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Jamie Lokier, 2008/09/06
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Samuel Thibault, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Paul Brook, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Samuel Thibault, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Paul Brook, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window,
Samuel Thibault <=
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Paul Brook, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Samuel Thibault, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Paul Brook, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Anthony Liguori, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Samuel Thibault, 2008/09/07
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Jamie Lokier, 2008/09/07
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Stefano Stabellini, 2008/09/08
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Jamie Lokier, 2008/09/08
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Stefano Stabellini, 2008/09/05
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Daniel P. Berrange, 2008/09/05