DSA and RBackupWindow

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为什么要搞出来这两个屏幕画法.实在是搞不清楚.

<!-- / message --><!-- sig -->
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值