[vbox-dev] [PATCH] OpenGL acceleration & framebuffer stretching for VBoxSDL.

Frank Mehnert Frank.Mehnert at Sun.COM
Sun Mar 8 19:42:34 GMT 2009


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

Hehe, the code is actually there but disabled for OSE. The main
reason is that we don't want to depend on the libSDL-ttf for the
build process.

> If there are any changes I need to make for you to commit this patch
> then please tell me.
>
> Oh, and I'm releasing this code under MIT license.

Thanks for this contribution. I will have a look.

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert    Sun Microsystems    http://www.sun.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090308/a705db06/attachment.sig>


More information about the vbox-dev mailing list