In Android systems, the initialization of the graphics system is done by SurfaceFlinger. Besides the Gralloc HAL that we discussed in Chapter 10, Enabling Graphics, another important part of graphics system initialization is the loading of OpenGL ES libraries. In our VirtualBox implementation, we use most of the HAL modules from Android-x86. The graphics system support includes the following components:
- Gralloc HAL
- Mesa lib for OpenGL ES
- uvesafb framebuffer driver or VirtualBox video driver
We have discussed Gralloc HAL in the last chapter. We will explore the loading of the OpenGL ES library and uvesafb framebuffer driver in this chapter. We will use the default uvesafb framebuffer driver in the introduction of graphics system initialization. We will also introduce how to use the native graphic driver from VirtualBox when we talk about the integration of VirtualBox...