Optimization for Android graphics system based on domestic Unicore architecture

Ming Ling,Jianping Wu,Qi Liu,Xiaodong Yang,Yang Zhang
DOI: https://doi.org/10.3969/j.issn.1001-0505.2012.06.009
2012-01-01
Abstract:Based on the embedded processor platform of the domestic Unicore, the Android system is transplanted. Firstly, four critical function modules, PMEM (physical memory), Gralloc, Copybit and GPU(graphic processing unit) driver, in the local frame of Android graphics system, are designed and implemented. Then, the data interaction process between the Linux kernel and the user mode in the GPU driver is analyzed and a novel memory access mechanism is put forward. A memory access path from Skia lib to GPU driver is introduced, and the kernel mode can directly access user data, avoiding the drawbacks of copying data from the user mode to the kernel mode in the traditional mode and reducing the memory access overhead. Finally, the hotspot functions in Skia lib are optimized. The experimental results show that after optimization the graphics rendering performance can obtain 3.08 times speedup on average, and the execution time of rectangle transporting function is compressed to 1/9 of that before optimization for Skia lib. The graphics rendering performance of the systems with optimized GPU driver is accelerated by 7.46 times on average than that of the systems without GPU.
What problem does this paper attempt to address?