作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 开发研究与工程应用 • 上一篇    下一篇

基于GTK+的嵌入式图形系统性能优化研究

胡练达,张 激   

  1. (中国电子科技集团公司第三十二研究所,上海 200233)
  • 收稿日期:2013-09-04 出版日期:2014-01-15 发布日期:2014-01-13
  • 作者简介:胡练达(1988-),男,硕士研究生,主研方向:嵌入式系统软件,嵌入式图形系统;张 激,研究员、博士

Research on Embedded Graphics System Performance Optimization Based on GTK+

HU Lian-da, ZHANG Ji   

  1. (The 32nd Research Institute of China Electronics Technology Group Corporation, Shanghai 200233, China)
  • Received:2013-09-04 Online:2014-01-15 Published:2014-01-13

摘要: 现有GTK+on DirectFB图形系统对硬件加速的优化不够,在国产嵌入式平台上开发的图形系统性能偏低。为此,提出图形系统的性能优化方法。优化图形构件的存储分配策略,用于减少CPU访问显存和内存速度的差异。采用绘图指令的底层扩展方法,提高椭圆填充、多边形填充等扩展绘图指令的执行效率。测试数据表明,在开启硬件加速情况下,构件存储分配优化策略可使CPU绘图指令的执行速度提高数倍至数十倍,与传统应用层扩展方法相比,扩展绘图指令的底层扩展方法硬件加速比高出5倍左右。

关键词: 国产嵌入式平台, 图形系统, 访存速度, 存储分配策略, 绘图指令扩展, 椭圆填充

Abstract: Original GTK+on DirectFB graphics system optimization for hardware acceleration is not enough. Performance of graphical user interface developing in domestic embedded system is low, so this paper proposes a method of graphics system performance optimization. Optimizing graphics component storage allocation strategies can solve the problem that CPU accesses local memory and video memory in different speed. Using underlying extension methods can improve the execution efficiency of extended drawing instruction such as fill ellipse and fill polygon. Test data show that component storage allocation optimization strategies can increase the execution speed of CPU instruction by several times when opening hardware acceleration, and underlying drawing instruction extension methods can provide five times higher hardware acceleration rate than traditional application layer extension methods.

Key words: domestic embedded platform, graphics system, access speed, storage allocation strategy, drawing instruction extension, ellipse filling

中图分类号: