OpenGL support in the Android Emulator?

satya - Tue Jul 24 2012 11:24:37 GMT-0400 (Eastern Daylight Time)

As of Android 3 the emulator did not support OpenGL

wondering if it is there for android 4!!

satya - Tue Jul 24 2012 11:26:19 GMT-0400 (Eastern Daylight Time)

OpenGL support in the Android Emulator?

OpenGL support in the Android Emulator?

Search for: OpenGL support in the Android Emulator?

satya - Tue Jul 24 2012 11:32:52 GMT-0400 (Eastern Daylight Time)

Same question on stackoverflow

Same question on stackoverflow

satya - Tue Jul 24 2012 11:36:23 GMT-0400 (Eastern Daylight Time)

emulator seem to have GPU support

emulator seem to have GPU support

2012, April

The blog seem to indicate it supports ES 2.0 games. No details on how to configure it. Hopeful sign. You will know here if I know it!

satya - Tue Jul 24 2012 11:40:34 GMT-0400 (Eastern Daylight Time)

Here is the key note from that linke

Because the Android platform allows deep interaction between applications, and with system components, we need to provide an emulator with a complete system image. Our emulator virtualizes a complete device: hardware, kernel, low-level system libraries, and app framework.

Of course, the system being emulated typically has an ARM CPU; historically, we?d been emulating those instructions in software, and that worked OK until the advent of tablet support with additional animations and complexity in Android 3.0.

The missing pieces were the completion of Android x86 support, and the GPU support in last week?s release of SDK Tools r17. This works by funneling the OpenGL ES 2.0 instructions from the emulator to the host OS, converted to standard OpenGL 2.0, and running natively on the host GPU.

satya - Tue Jul 24 2012 11:41:57 GMT-0400 (Eastern Daylight Time)

Here is another note

When creating a virtual machine, make sure to select the ?GPU emulation? option from the hardware menu if you want to take advantage of the new features

satya - Wed Jul 25 2012 10:59:14 GMT-0400 (Eastern Daylight Time)

Here is the Jelly-bean-emulator api 16 that ran ES 2.0

satya - Wed Jul 25 2012 11:00:17 GMT-0400 (Eastern Daylight Time)

Notice the following


API 16 (jellybean)
GPU emulation set to YES
snapshot (not enabled)

satya - Sat Jul 28 2012 15:37:27 GMT-0400 (Eastern Daylight Time)

I may have spoke too soon

the GLES 2.0 sample code in api samples may be reverting to GL es 1.x. My code seem to fail. On to more research....

satya - Sat Jul 28 2012 15:37:51 GMT-0400 (Eastern Daylight Time)

jellybean emulation gl es 2.0 gpu support

jellybean emulation gl es 2.0 gpu support

Search for: jellybean emulation gl es 2.0 gpu support

satya - Sat Jul 28 2012 15:47:26 GMT-0400 (Eastern Daylight Time)

opengl emulator

opengl emulator

Search Google for: opengl emulator

Search Android Developers Group for: opengl emulator

Search Android Beginers Group for: opengl emulator

Search Google Code for: opengl emulator

Search Android Issues Database for: opengl emulator

satya - Sat Jul 28 2012 15:50:18 GMT-0400 (Eastern Daylight Time)

Here is a link from developers group from Romain

Here is a link from developers group from Romain

The emulator itself supports OpenGL ES 2.0 already with the -gpu flag, but it requires a system image with adequate drivers. There is no ETA at the moment. FWIW, I gave a demo of the emulator running with x86 and OpenGL ES 2.0 at the GDC in San Francisco a couple of weeks ago.

satya - Sat Jul 28 2012 15:52:51 GMT-0400 (Eastern Daylight Time)

android opengl emulator system image x86 drivers

android opengl emulator system image x86 drivers

Search for: android opengl emulator system image x86 drivers

satya - Sat Jul 28 2012 15:59:44 GMT-0400 (Eastern Daylight Time)

As of July 2012, I still don't know of a mechanism yet to do this!

GPU emulation is only part of the equation. I see the docs on virtualization drivers. i wonder if they are the same as those needed for opengl emulation as well!

satya - Sat Jul 28 2012 16:00:01 GMT-0400 (Eastern Daylight Time)

I am going back to a physical device to test ES 2.0!

I am going back to a physical device to test ES 2.0!