Skip to content

Latest commit

 

History

History
59 lines (33 loc) · 1.99 KB

gpu.md

File metadata and controls

59 lines (33 loc) · 1.99 KB

GPU

OpenGL

OpenGL ES is supported.

Can be done entirely from a Java API, no need for NDK. But can also be done with NDK if you want.

Examples:

Not based on JOGL apparently, but JOGL also supports Android:

Vulkan

Looks like C++ only?

Samples:

Hardware support:

TODO: supported or not?

RenderScript

The official OpenCL for Android: http://stackoverflow.com/questions/14385843/why-did-google-choose-renderscript-instead-of-opencl

OpenCL

Google shunned it for RenderScript.

Intel pushes it though:

MediaCodec

API for Video and Audio hardware acceleration. Yes, many GPUs / SoCs do video compression on silicon.

http://developer.android.com/reference/android/media/MediaCodec.html

Examples:

  • a few under SDK samples/android-23/media