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

J kiputnik at gmail.com
Sat Mar 7 08:48:15 PST 2009


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

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vboxsdl_opengl.patch
Type: application/octet-stream
Size: 24347 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090307/13fecf35/attachment-0001.obj 

More information about the vbox-dev mailing list