请问PtRaw,自动重绘问题!

请问PtRaw,自动重绘问题!当在PtRaw上画了很多数据的时候,如果PtRaw前面的参数设置窗口动一下,PtRaw就会重绘一些点,如果数据量大的话,严重影响了系统的资源,请问有什么方法可以减少这种重绘所需的时间,谢谢!
qnx630sp3

http://www.qnx.com/developers/docs/6.3.2/photon/prog_guide/draw.html

1.使用PtOSContainer
Offscreen-context container for flicker-free drawing.

2.使用Video memory offscreen
These API calls allow you to use the leftover memory on a video card.

3.使用PmMem…()
memory-context functions to build the image in memory, and display it when complete.

4.Direct mode
graphics driver receive draw streams and service messages directly from the application, instead of from the Photon manager.

nakeyfish: 请问一下video offscreen memory 和 PmMem…() 哪个速度更快啊,我测试了一下,好像PmMem 更快一点, 不知道是不是这样的. 我看video offscreen memory的说明,感觉它应该更快一点,但是实际测试的结果是PmMem…(), 不知道是不是程序编写有点问题, 我用video offscreen memory实现的显示背景多了很多灰色的栅格,不知道是怎么回事,谢谢!

不好意思个人比较懒。工作中没有用到,所以也没有深入的研究过。
如果速度不能更快。我在想能不能把你要画的东西分成几个小的部份或几个层次。尽量一次只重画有需要的部份?

我统计的时间不是重画的时间,是数据量一定的情况下,绘制到屏幕的时间,嘿嘿,我比较了一下 Oscontainer ,video offscreen memory, memory context的时间, memory context的绘制成image然后显示到button里面是最快的,大概是其他的2.7倍的样子. direct mode 用起来感觉有点怪怪的, 它是不是有它比较适合的应用场合啊