hardware 3D acceleration on emulator via VMGL

69 views
Skip to first unread message

r a f t

unread,
Dec 15, 2007, 9:09:08 AM12/15/07
to Android Internals
hello,

has anyone tried to enable hw accleration via vmgl ?
http://www.cs.toronto.edu/~andreslc/vmgl

vmgl enables hw acceleration for virtual machines by bridging it to
host os's opengl. author claims it should work on qemu too although
it's not tested. vmgl is written such that, it will first run on guest
os, then a bridge will be set to host os, then 3d app on guest os will
be invoked. i guess in this case dalvik vm will be 3d app on guest
os.

this may work however as i'm not a c++ guy i cant set it up :/ here
are the steps which i thought should be done:

* compile vmgl for emulator
* install it to emulator
* set up networking so that emulator and host os can communicate
* test a connection from host to emulator and set GLSTUB variable
properly
* set some variable or change emulator's code a bit to fake dalvik vm
hw acceleration is present
* try a 3d app
* if all goes ok, modify startup scripts so vmgl initializes when
emulator boots

i'm not sure if this will work but i guess it worths a try. maybe
someone proficient with emulator and c++ may help

thanks in advance
r a f t

Detro

unread,
Dec 17, 2007, 5:26:02 PM12/17/07
to Android Internals
Very very interesting idea.
It's definitely worthed to give it a go.

On Dec 15, 3:09 pm, r a f t <hakan.erya...@gmail.com> wrote:
> hello,
>
> has anyone tried to enable hw accleration via vmgl ?http://www.cs.toronto.edu/~andreslc/vmgl

r a f t

unread,
Dec 17, 2007, 5:55:42 PM12/17/07
to Android Internals
i guess so.. so Detro are you the hero one who will set it up ;)

Detro

unread,
Dec 18, 2007, 7:39:20 AM12/18/07
to Android Internals
I would love to.
But I'm in Symbian and, before to start a game like that, I need to
speak with our Lawyers and see the legal issues.

hakan eryargi

unread,
Dec 18, 2007, 9:26:59 AM12/18/07
to android-...@googlegroups.com
great :) i cant wait to see the results..
Reply all
Reply to author
Forward
0 new messages