首页> 中文期刊> 《计算机技术与发展》 >基于Qt/Embedded的图形硬加速方法研究与实现

基于Qt/Embedded的图形硬加速方法研究与实现

         

摘要

In order to improve the performance of embedded GUI system and make full use of the embedded system hardware,it is neces-sary to provide hardware accelerated graphics for the embedded GUI system. Through the analysis of software architecture and graphics engine architecture of Qt/Embedded library,the way of underlying graphics hardware acceleration of Qt/Embedded library is obtained. By using the support and interface of framebuffer system,we put forward a bottom-up graphics hardware acceleration architecture of em-bedded Linux system. Through Qt/Embedded embedded graphics support,the Qt/Embedded library can access the functions and inter-faces of the underlying framebuffer system through the VFS Linux file system implementing that the framebuffer system hardware acceler-ation function running in the Qt/Embedded Library. For how to achieve the specific hardware acceleration function through the GPU ac-celerator,the concrete implementation of algorithm and logic process of acceleration function are given. Finally,the time of the rectangle filling operation is compared in the test before and after acceleration,which shows that rectangle filling time is significantly reduced under the same conditions,and the acceleration rate is more than 2,with the better effect of acceleration.%为了提高嵌入式GUI系统的性能,充分利用嵌入式设备的硬件设备,对嵌入式GUI系统提供图形硬件加速就变得十分必要.通过对Qt/Embedded库的软件体系结构和Qt/Embedded库图形引擎架构的分析,得出对Qt/Embedded库进行底层图形硬件加速的途径,利用底层帧缓冲系统的支持和接口,提出一种自下而上的嵌入式Linux系统的图形硬件加速架构.通过Qt/Embedded嵌入式图形支持,Qt/Embedded库可以通过Linux的VFS文件系统访问底层帧缓冲系统提供的功能和接口,实现帧缓冲系统硬件加速功能在Qt/Embedded库中的运行.对于如何通过GPU的加速器实现具体的硬件加速功能,给出了加速功能的具体实现算法和逻辑流程.最后,在测试中比较了加速前后矩形填充操作所花费的时间,结果表明加速后同等条件下矩形填充花费时间明显减少,加速比稳定在2以上,达到了较好的加速效果.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号