Re: [Development] About copying the image buffer with alpha blending

2012-08-29 Thread Holger Hans Peter Freyther
On Wed, Aug 29, 2012 at 10:19:05AM +0200, Samuel Rødal wrote: > On 08/29/2012 09:53 AM, ext song.7@nokia.com wrote: > > Are you also scaling or transforming the image? 30-50ms seems a bit much > for just a blend operation as you say. converting color format and depth? Do you have an example t

Re: [Development] About copying the image buffer with alpha blending

2012-08-29 Thread Samuel Rødal
On 08/29/2012 09:53 AM, ext song.7@nokia.com wrote: > Hi, > > > > We found that QPainer::drawImage takes 30~50ms for one 150*114 image, it > seems a little slow. > > > > One quick optimization to try is: we want to do the memory copy to the > backing store buffer directly instead of usi

[Development] About copying the image buffer with alpha blending

2012-08-29 Thread song.7.liu
Hi, We found that QPainer::drawImage takes 30~50ms for one 150*114 image, it seems a little slow. One quick optimization to try is: we want to do the memory copy to the backing store buffer directly instead of using the PaintRasterEngine. So from Qt, is there a helper function can copy the memo