计算机工程
計算機工程
계산궤공정
COMPUTER ENGINEERING
2014年
1期
287-290,294
,共5页
国产嵌入式平台%图形系统%访存速度%存储分配策略%绘图指令扩展%椭圆填充
國產嵌入式平檯%圖形繫統%訪存速度%存儲分配策略%繪圖指令擴展%橢圓填充
국산감입식평태%도형계통%방존속도%존저분배책략%회도지령확전%타원전충
domestic embedded platform%graphics system%access speed%storage allocation strategy%drawing instruction extension%ellipse filling
现有GTK+on DirectFB图形系统对硬件加速的优化不够,在国产嵌入式平台上开发的图形系统性能偏低。为此,提出图形系统的性能优化方法。优化图形构件的存储分配策略,用于减少CPU访问显存和内存速度的差异。采用绘图指令的底层扩展方法,提高椭圆填充、多边形填充等扩展绘图指令的执行效率。测试数据表明,在开启硬件加速情况下,构件存储分配优化策略可使CPU绘图指令的执行速度提高数倍至数十倍,与传统应用层扩展方法陒比,扩展绘图指令的底层扩展方法硬件加速比高出5倍左右。
現有GTK+on DirectFB圖形繫統對硬件加速的優化不夠,在國產嵌入式平檯上開髮的圖形繫統性能偏低。為此,提齣圖形繫統的性能優化方法。優化圖形構件的存儲分配策略,用于減少CPU訪問顯存和內存速度的差異。採用繪圖指令的底層擴展方法,提高橢圓填充、多邊形填充等擴展繪圖指令的執行效率。測試數據錶明,在開啟硬件加速情況下,構件存儲分配優化策略可使CPU繪圖指令的執行速度提高數倍至數十倍,與傳統應用層擴展方法陒比,擴展繪圖指令的底層擴展方法硬件加速比高齣5倍左右。
현유GTK+on DirectFB도형계통대경건가속적우화불구,재국산감입식평태상개발적도형계통성능편저。위차,제출도형계통적성능우화방법。우화도형구건적존저분배책략,용우감소CPU방문현존화내존속도적차이。채용회도지령적저층확전방법,제고타원전충、다변형전충등확전회도지령적집행효솔。측시수거표명,재개계경건가속정황하,구건존저분배우화책략가사CPU회도지령적집행속도제고수배지수십배,여전통응용층확전방법희비,확전회도지령적저층확전방법경건가속비고출5배좌우。
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.