Hi, On Sunday 08 March 2009, Frank Mehnert wrote: > J, > > 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. > > Great! > > > 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. Kind regards, Frank -- Dr.-Ing. Frank Mehnert Sun Microsystems http://www.sun.com/
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
