[1]王凯,宁钰,周威.基于Qt/ Embedded 的图形硬加速方法研究与实现[J].计算机技术与发展,2018,28(06):67-72.[doi:10.3969/ j. issn.1673-629X.2018.06.015]
 WANG Kai,NING Yu,ZHOU Wei.Research and Implementation of Embedded GUI Display Architecture with Qt/ Embedded[J].,2018,28(06):67-72.[doi:10.3969/ j. issn.1673-629X.2018.06.015]
点击复制

基于Qt/ Embedded 的图形硬加速方法研究与实现()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
28
期数:
2018年06期
页码:
67-72
栏目:
智能、算法、系统工程
出版日期:
2018-06-10

文章信息/Info

Title:
Research and Implementation of Embedded GUI Display Architecture with Qt/ Embedded
文章编号:
1673-629X(2018)06-0067-06
作者:
王凯宁钰周威
江南计算技术研究所第三处,江苏 无锡 214083
Author(s):
WANG KaiNING YuZHOU Wei
Third Place of Jiangnan Institute of Computing Technology,Wuxi 214083,China
关键词:
图形硬件加速Qt/ Embedded嵌入式系统图形用户界面
Keywords:
graphics hardware accelerationQt/ Embeddedembedded systemGUI
分类号:
TP311
DOI:
10.3969/ j. issn.1673-629X.2018.06.015
文献标志码:
A
摘要:
为了提高嵌入式 GUI 系统的性能,充分利用嵌入式设备的硬件设备,对嵌入式 GUI 系统提供图形硬件加速就变得十分必要。 通过对 Qt/ Embedded 库的软件体系结构和 Qt/ Embedded 库图形引擎架构的分析,得出对 Qt/ Embedded 库进行底层图形硬件加速的途径,利用底层帧缓冲系统的支持和接口,提出一种自下而上的嵌入式 Linux 系统的图形硬件加速架构。 通过 Qt/ Embedded 嵌入式图形支持,Qt/ Embedded 库可以通过 Linux 的 VFS 文件系统访问底层帧缓冲系统提供的功能和接口,实现帧缓冲系统硬件加速功能在 Qt/ Embedded 库中的运行。 对于如何通过 GPU 的加速器实现具体的硬件加速功能,给出了加速功能的具体实现算法和逻辑流程。 最后,在测试中比较了加速前后矩形填充操作所花费的时间,结果表明加速后同等条件下矩形填充花费时间明显减少,加速比稳定在 2 以上,达到了较好的加速效果。
Abstract:
In order to improve the performance of embedded GUI system and make full use of the embedded system hardware,it is necessary 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 embedded Linux system. Through Qt/ Embedded embedded graphics support,the Qt/ Embedded library can access the functions and interfaces of the underlying framebuffer system through the VFS Linux file system implementing that the framebuffer system hardware acceleration function running in the Qt/ Embedded Library. For how to achieve the specific hardware acceleration function through the GPU accelerator,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.
更新日期/Last Update: 2018-08-16