计算机应用 ›› 2013, Vol. 33 ›› Issue (04): 1146-1148.DOI: 10.3724/SP.J.1087.2013.01146

• 计算机软件技术 • 上一篇    下一篇

基于客户端软件渲染优化Wine图形性能的方法

黄聪会1,陈靖2,朱清超1,郭威武3   

  1. 1. 空军工程大学 信息与导航学院,西安 710077
    2. 空军工程大学 信息与导航学院, 西安 710077
    3. 93010部队,沈阳 110015
  • 收稿日期:2012-10-23 修回日期:2012-12-02 出版日期:2013-04-01 发布日期:2013-04-23
  • 通讯作者: 黄聪会
  • 作者简介:黄聪会(1985-),男,湖南衡阳人,博士研究生,主要研究方向:虚拟化;陈靖(1963-),女,山西洪桐人,教授,博士生导师,主要研究方向:分布式系统;朱清超(1988-),男,山东济宁人,博士研究生,主要研究方向:分布式系统;郭威武(1983-),男,辽宁沈阳人,助理工程师,硕士,主要研究方向:计算机网络。
  • 基金资助:

    国家自然科学基金资助项目(61172083)

Graphics performance optimization method for Wine based on client software rendering

HUANG Conghui1,CHEN Jing1,ZHU Qingchao1,GUO Weiwu2   

  1. 1. Information and Navigation Institute, Air Force Engineering University,Xi'an Shaanxi 710077, China
    2. 96201 Army, Shenyang Liaoning 110015, China
  • Received:2012-10-23 Revised:2012-12-02 Online:2013-04-23 Published:2013-04-01
  • Contact: HUANG Conghui

摘要: 针对Wine操作设备无关位图(DIB)存在性能瓶颈的问题,提出一种客户端软件渲染的方法。该方法首先分析操作DIB的GDI API函数,然后确定客户端软件渲染的加载点,再以链表形式将不同设备上下文环境及其对应的GDI API函数串联,在此基础上实现GDI API函数的客户端软件渲染。性能测试表明,经客户端软件渲染优化后的Wine与未优化的Wine相比,其操作DIB的性能平均至少提高了10倍,且接近本地Windows XP下操作DIB的性能,有效地避免了操作DIB的性能瓶颈。

关键词: 虚拟化技术, 软件渲染, 图形性能优化, 设备无关位图, WINE

Abstract: To deal with the performance bottleneck of operating the Device Independent Bitmap (DIB) in Wine, a method of client software rendering was brought forward. This method firstly analyzed GDI API for operating DIB, and then confirmed the load point of client software rendering, subsequently designed a list for linking different device context and their corresponding GDI API, at last realized the client software rendering of GDI API. The performance test shows that compared with the Wine without optimization, the average graphic performance of the Wine with the optimization of client software rendering enhances at least 10 times when it operates DIB, and is close to the performance of the local Windows XP, which effectively avoids the performance bottleneck of operating DIB.

Key words: virtualization technology, software rendering, graphic performance optimization, Device Independent Bitmap (DIB), Wine

中图分类号: