2D rendering path
Skia and hwui- For 2D drawing there are two rendering paths
- hwui: (libwhui.so) hardware accelerated using OpenGL ES 2.0
- skia: (libskia.so) software render engine
- hwui is the default
- Hardware rendering can be disabled per view,window, activity, application or for the whole device
- Maybe for comparability reasons: hwui produces results different to skia in some (rare) cases
3D rendering path? An activity can instead create a GLSurfaceView and use OpenGL ES bindings for Java (the
android.opengl.* classes)
? Using either the vendor GPU driver (which must support OpenGL ES 2.0 and optinally 3.0)
? Or as a fall-back, using PixelFlinger, a software GPU that implements OpenGL ES 1.0 only
? Once again, the drawing is rendered to a Surface
|