Hi all, I am attaching a patch that adds opengl support for rendering the guest framebuffer in the SDL window. SDL is needed anyway to open the window and handle the events. Opengl rendering is optional and can be turned off at both compile time and in the vm configuration file. Some of the benefits of using opengl are: -faster rendering, less CPU intensive, especially with good graphic cards; -makes the window resizing possible and hardware accelerated, thus very efficient and smooth; -allows other optimizations like sharing directly a buffer in vram with the guest (not yet implemented). Regards, Stefano Stabellini Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
sorry the topic should be "opengl rendering". Stefano Stabellini wrote:> Hi all, > I am attaching a patch that adds opengl support for rendering the guest > framebuffer in the SDL window. > SDL is needed anyway to open the window and handle the events. > Opengl rendering is optional and can be turned off at both compile time > and in the vm configuration file. > Some of the benefits of using opengl are: > > -faster rendering, less CPU intensive, especially with good graphic cards; > > -makes the window resizing possible and hardware accelerated, thus very > efficient and smooth; > > -allows other optimizations like sharing directly a buffer in vram with > the guest (not yet implemented). > > Regards, > > Stefano Stabellini > > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Little correction: letting opengl decide the texture internal format. Stefano Stabellini wrote:> Hi all, > I am attaching a patch that adds opengl support for rendering the guest > framebuffer in the SDL window. > SDL is needed anyway to open the window and handle the events. > Opengl rendering is optional and can be turned off at both compile time > and in the vm configuration file. > Some of the benefits of using opengl are: > > -faster rendering, less CPU intensive, especially with good graphic cards; > > -makes the window resizing possible and hardware accelerated, thus very > efficient and smooth; > > -allows other optimizations like sharing directly a buffer in vram with > the guest (not yet implemented). > > Regards, > > Stefano Stabellini > > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel