›› 2013, Vol. 31 ›› Issue (4): 23-26.
• Civil Aviation • Previous Articles Next Articles
WU Ren-biao,WU Hai-ning,QU Jing-yi,JIA Yun-fei
Received:
Revised:
Online:
Published:
Abstract:
The OpenGL Library has not offer the function of text display and processing directly. Literature 4 provided a method of OpenGL drawing text based on GDI,but the efficiency was low and occupied too much of CPU time.Considering the feature of Windows multi-threading mechanism,some improvements are made,and a new method for text drawing in OpenGL based on multi-thread is proposed. This method can effectively utilize the advantages of multi-core processor,and add obvious advantages to high requirement of real-time or large quantities of text data drawing. Experimental results show that the application of this method can improve text drawing efficiency and improve user爷s experience.
Key words: OpenGL, GDI, multi-thread, text drawing, drawing efficiency
CLC Number:
TP391
WU Ren-biao,WU Hai-ning,QU Jing-yi,JIA Yun-fei. Efficient method for multi-thread text drawing based on OpenGL[J]. , 2013, 31(4): 23-26.
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: https://www.cauc.edu.cn/jweb_cauc/EN/
https://www.cauc.edu.cn/jweb_cauc/EN/Y2013/V31/I4/23
[1] 杨柏林,陈根浪,徐静. OpenGL 编程精粹[M]. 北京:机械工业出版社,2010:132-145.[2] 周小军,夏青,蒋秉川. OpenGL 多线程电子地图显示研究[J]. 测绘科学,2010,35(6):105-106.[3] PROSISE J.北京博彦科技发展有限责任公司译. MFC Windows 程序设计[M]. 2版,北京:清华大学出版社,2007:884-950.[4] 侯学隆,王文恽. 基于GDI 的OpenGL 多国文字渲染[J]. 电脑编程技巧与维护,2011(3):63-67.[5] 陈飞,黄海明,杨猛,等. 基于SDL 和OpenGL 实时绘制中文字体[J].计算机工程与设计,2011,32(8):2764-2767.[6] 芮小平,张彦敏,杨崇俊. OpenGL中文字的几种常用绘制方法[J].计算机工程与应用,2003,39(12):128-129.[7] 李鑫. 基于多线程的OpenGL 渲染方法研究[J]. 微计算机信息.2005,21(1):185-186.