This is a port of aobench ( http://code.google.com/p/aobench/ ) for Android 2.3.3 (API 10) or higher ARM devices with a NEON FPU, including the OUYA and Kindle Fire HD. aobench is a small ambient occlusion renderer for benchmarking real world floating point performance in various languages. Please see the project page for more details.
OUYA (256x256, float): 5,401ms (5.4sec) / https://twitter.com/_Falken/status/292602217083576320
OUYA (1920x1080, float): 169,805ms (169.8sec / 2.83min) / https://twitter.com/_Falken/status/292602468922163200
Kindle Fire HD (256x256, float): 7,732ms (7.7sec) / https://twitter.com/_Falken/status/292602683444056064
Kindle Fire HD (256x256, double): TBD
Kindle Fire HD (1280x800, float): 120,946ms (120.9sec / 2.01min) / https://twitter.com/_Falken/status/292602896128823296
Kindle Fire HD (1280x800, double): TBD
-
Ensure the Android SDK and NDK are installed with API 10 support.
-
Type 'make' in the source folder. All necessary files will be generated.
-
Tweak config.h if you want to change float/double or 256x256/fullscreen mode.
Thanks to @syoyo for creating the interesting aobench project!