摘要
在使用GTK+on DirectFB开发基于Linux OS的嵌入式MP4 GUI过程中,采用传统的画面机制进行设计开发,在画面更新时会出现明显的画面闪烁现象。虽然这种机制实现简单适用于嵌入式系统,但却影响画面的美观性。针对此问题,本文提出了一种局部更新和公用窗口的新机制来解决GUI画面的更新问题。通过建立PC机仿真环境,对新旧两种更新机制进行对比分析,新机制不但更新效率高而且系统资源占有率少。仿真结果表明,新画面机制优于传统机制。
During the development of the GUI in the embedded MP4 based on Linux OS, using GTK + on DirectFB, there is an obvious flash problem when the screen is updated that bases on the traditional screen mechanism. Even though the mechanism not only realizes easily but also adapts to embedded system, the flash screen leads to the bad screen effect. The paper proposes a new screen mechanism which called local update and common window to solve this problem. The old and the new update mechanisms are analysed and compared by building emulational environment on PC environment. The experimental results show that the new mechanism has more update efficiency and less average occupancy rate of resources, it outperforms the old one.
出处
《世界科技研究与发展》
CSCD
2009年第2期224-228,共5页
World Sci-Tech R&D
基金
辽宁省教育厅高等学校科学研究项目(202183385)资助
关键词
嵌入式
局部更新
公用窗口
画面机制
embedded ilocal update
common window
screen mechanism