期刊文献+

面向国产Unicore架构的Android图形系统优化 被引量:2

Optimization for Android graphics system based on domestic Unicore architecture
下载PDF
导出
摘要 采用基于国产Unicore内核的嵌入式处理器平台,进行了Android系统移植.首先,移植实现了本地框架层的物理内存模块(PMEM)、图形显示内存分配模块(Gralloc)、块拷贝模块(Copybit)和图形处理单元驱动(GPU驱动)模块.然后,通过分析传统GPU(graphic processingunit)驱动调用过程中Linux内核态与用户态的数据交互方式,提出了一种新的访存机制,增加了Skia库到GPU驱动的访问路径,使内核态可以直接访问用户态数据,克服了传统模式中必须将用户态数据拷贝到内核态才能被内核态访问的弊端,降低了访存开销.最后,对Skia图形库的热点函数进行了优化.实验结果表明:与GPU驱动优化前相比,优化后的图形绘制性能平均加速3.08倍;Skia图形库中矩形搬运函数的运行时长缩短至原来的1/9;相比于无GPU的情况,GPU驱动优化后的图形绘制性能平均提升7.46倍. 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.
出处 《东南大学学报(自然科学版)》 EI CAS CSCD 北大核心 2012年第6期1069-1073,共5页 Journal of Southeast University:Natural Science Edition
基金 国家科技重大专项资助项目(2009ZX01031) 江苏省"青蓝工程"资助项目
关键词 Android图形系统 UNICORE 硬件加速 GPU Android graphics system Unicore hardware acceleration graphic processing unit(GPU)
  • 相关文献

参考文献13

  • 1Wikipedia. Mobile operating system[EB/OL ]. (2010-12-02) [2011-12-12 ]. http://en, wikipedia. org/wiki/Mobile - operating - system.
  • 2Wikipedia. Android ( operating system) [EB/OL ]. (2010-12-05) [ 2012-01-10 ]. http://en, wikipedia. org/wild/Android ( operating - system).
  • 3Kosmach J, Neff R, Sherwood G, et al. Introduction to the OpenCORE audio components used in the an- droid platform[C ]//Proceedings of 34th International Conference of New Trends in Audio for Mobile and Handheld Devices. Jeju, Korea, 2008 : 23 - 25.
  • 4Cheung T L, Okamoto K, Maker I F, et al. Markov decision process (MDP) framework for optimizing software on mobile phones [ C ]//Proceedings of the 7th ACM International Conference on Embedded Soft- ware. Grenoble, France, 2009 : 11 - 20.
  • 5Ughetti M, Turin T T, Gotta D. Development of agent-based, peer-to-peer mobile applications on AN- DROID with JADE[C ]//Proceedings of the Second International Conference on Mobile Ubiquitous Compu- ting, Systems, Services and Technologies. Valencia, Spain, 2008 : 287 - 294.
  • 6蒋永刚,戚正伟,彭娟春,张泉.PXA300平台2D图形加速器性能测试与分析[J].计算机应用与软件,2010,27(5):86-88. 被引量:2
  • 7Mark Murphy. Beginning Android [ M ]. New York: Apress, 2009 : 93 - 97.
  • 8北大众志微系统科技有限责任公司.Unicore系统结构手册[EB/OL].(2001-05-10)[2011-11-25].http://www.pkunity.com/863-2.asp.
  • 9搏芯电子技术有限公司.SEP6200设计文档[EB/OL].(2010-12-11)[2012-01-14].http://www.pro-chip.com.cn/product-show.asp?detailid=27.
  • 10Pulli K, Aarnio T, Roimela K, et al. Designing graphics programming interfaces for mobile devices [ J ]. Journal of IEEE Computer Graphics and Appli- cations, 2005, 25 (6) : 66 - 75.

二级参考文献6

  • 1Glenn Steiner,Kunal Shenoy,Dan Isaacs,et al.透过FPGA协处理器加速演算法速度.电子工程专辑.2006-11-16.http://www.eettaiwan.com/ART_8800440809 _676964_NT_16b212bc.HTM.
  • 2杨柏林 叶绿 潘志庚 等.移动游戏综述[J].计算机研究与发展,2005,42.
  • 3张伟宏 丁志刚 张泉 等.应用于嵌入式系统硬件测试的Bootloader[J].计算机应用研究,2007,.
  • 4Donald Hearn,Pauline Baker M.计算机图形学[M].2版.蔡士杰,等译.电子工业出版社.
  • 5Andrew Sloss,Dominic Symes,Chris Wright.Arm嵌入式系统开发:软件设计与优化构[M].沈建华,译.北京航空航天大学出版社.
  • 6罗平.线性同余发生器的缺陷及其改进[J].计算机工程,1995,21(S1):295-297. 被引量:4

共引文献1

同被引文献7

引证文献2

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部