首 页 | 新 闻 | Symbian | Android| Windows Mobile | J2ME | 下载中心 | 游戏策划招聘与求职 | 购书指南 | 视频教程
您现在的位置: 开发视界 >> Symbian >> 绘图 >> 正文
DSA and RBackupWindow
作者:孙东风    文章来源:http://blog.csdn.net/dongfengsun    更新时间:2007-2-14 8:00:55

         DSA和RBackupWindow是Symbian中的两种屏幕画图方法,但是它们之间到底有什么区别呢?各自的优点和缺点又是什么呢?我们在写程序的时候该如何取舍呢? 

        下面是我从Nokia Forum上摘录下来的观点:



        RBackupWindow is for fast graphics which do not need to be updated when other windows are overlapping. Does not need to be full screen as this is a window, which is used as framebuffer. Almost as fast as direct fraw with CFbsScreenDevice. All drawing can be done to CFbsBitmap, which gives some freedom to use different draw methods, Fast and safe way to draw to screen if used correctly( needs a trick with thread priorities). Automatically fills drawbuffer regions to screen when obstructing windows disappear.

         The 2D example on the forum nokia is also using the RBackupWindow.
         I never used DSA but I think most of the people are using this method to draw. Any expert on this can give any advices?

         译文:RBackupWindow是一种当其它窗口覆盖时不需要更新的快速图形画法.作为一个framebuffer,这个窗口不需要全屏显示.几乎和DSA一样快速.

       做为Symbian游戏的两个比较经典的例子程序:FrozenBubble和Example2D

       FrozenBubble用DSA做为屏幕画法,而Example2D却用RBackupWindow做为屏幕画法.而事实上运行这两个游戏,并没感觉到其中速度有明显的差别.既然没差别,Symbian为什么要搞出来这两个屏幕画法.实在是搞不清楚.

相关文章:
S60 3rd下实现Video Call 与 VoIP Call
修改Carbide.C++ 1.2的模板文件格式
symbian学习的开始
Symbian OS Internals——Symbian OS模拟器
在Symbian程序中使用汇编代码
Symbian OS 应用程序在手机上无法运行的种种原因
S60系列用户界面显示器规范
Symbian系统中DLL的冻结
 

站点地图 | 加入收藏 | 联系站长 | 广告服务 |
QQ:280529124  Tel:0592-8271361 辽ICP备05021703号