[vbox-dev] [PATCH] OpenGL acceleration & framebuffer stretching for VBoxSDL.
Frank.Mehnert at Sun.COM
Mon Mar 16 01:34:09 PDT 2009
On Sunday 08 March 2009, Frank Mehnert wrote:
> On Saturday 07 March 2009, J wrote:
> > To make long story short - I missed aspect-correct guest stretching
> > from VMWare in VirtualBox, so I coded it myself.
> > Since SDL doesn't support hardware accelerated stretching of surfaces
> > I had to add OpenGL support. I've added two new flags, that is -opengl
> > and -stretch which control it's behaviour. It shouldn't have many...
> > *cough* err... any bugs as far as I've tested it. Even if it has,
> > without -opengl it runs just the same as without the patch.
> > The only unsupported feature when running in OpenGL mode is the secure
> > label, but it's your own fault for not open-sourcing it. :P
Actually I would extend this patch a bit and add OpenGL-based stretching
of the guest window in fullscreen mode. Currently the SDL_FULLSCREEN is
used when switching to fullscreen which induces a switch of the host X
server to a resolution near the guest resolution. With OpenGL, the host
screen resolution shouldn't be changed at all.
Dr.-Ing. Frank Mehnert Sun Microsystems http://www.sun.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090316/f5fd1821/attachment-0001.bin
More information about the vbox-dev