Implementing hardware accelerations
For the good performance of games and smooth animation, we need first to open the hardware acceleration support of the Mali GPU on Banana Pro. For a framebuffer version mali
binary driver, we just need to build the libdri2, libump, and sunxi-mali drivers from scratch, but for the X11 version, we also need to build the xf86-video-fbturbo driver to enable the GLES capable X11. So, in upcoming sections, there are two version build processes, framebuffers, and the X11 version. Choose only one version, and follow all the processes for the one you choose. The X11 version will let you play a game in a window, while the framebuffer version will let you play the game in full screen. However, the framebuffer version doesn't refresh a display when you exit games; you need to plug out of the display monitor or forcefully refresh the display through other script. This is not a good experience.
Installing dependencies
First, download and install the Raspbian_For_BananaPro...