Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » How to efficiently update a large Image?
Re: How to efficiently update a large Image? [message #22899 is a reply to message #22633] |
Wed, 26 August 2009 07:57   |
Tom1
Messages: 1305 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi Mirek,
Sorry for the delay in my response -- been out of the office for a while.
Anyway, thanks for adding this functionality. In my application it really gives me far more that 2.5x speed boost.
Unfortunately, there is still some problem with X11. Generally, the new SetSurface works OK with partial updates and offsets, but when dragging another window over a window with image contents updated with SetSurface, the view gets severely scrambled.
virtual void Paint(Draw &draw){
// The image to draw is in ImageBuffer ib;
Rect paintrect=draw.GetPaintRect();
SetSurface(draw,paintrect,ib,ib.GetSize(),Point(paintrect.left,paintrect.top));
}
With GDI it's working correctly.
// Tom
|
|
|
 |
|
How to efficiently update a large Image?
By: Tom1 on Mon, 27 July 2009 12:24
|
 |
|
Re: How to efficiently update a large Image?
By: mirek on Mon, 27 July 2009 13:39
|
 |
|
Re: How to efficiently update a large Image?
By: Tom1 on Mon, 27 July 2009 16:47
|
 |
|
Re: How to efficiently update a large Image?
By: mirek on Mon, 27 July 2009 17:15
|
 |
|
Re: How to efficiently update a large Image?
By: mirek on Mon, 27 July 2009 17:18
|
 |
|
Re: How to efficiently update a large Image?
By: Tom1 on Tue, 28 July 2009 11:16
|
 |
|
Re: How to efficiently update a large Image?
By: mirek on Tue, 28 July 2009 16:29
|
 |
|
Re: How to efficiently update a large Image?
By: mirek on Tue, 28 July 2009 16:32
|
 |
|
Re: How to efficiently update a large Image?
By: Tom1 on Wed, 29 July 2009 09:18
|
 |
|
Re: How to efficiently update a large Image?
By: mirek on Sun, 02 August 2009 15:11
|
 |
|
Re: How to efficiently update a large Image?
By: Tom1 on Wed, 26 August 2009 07:57
|
 |
|
Re: How to efficiently update a large Image?
By: mirek on Fri, 28 August 2009 00:24
|
 |
|
Re: How to efficiently update a large Image?
By: Tom1 on Tue, 01 September 2009 08:24
|
 |
|
Re: How to efficiently update a large Image?
By: mirek on Wed, 02 September 2009 11:37
|
 |
|
Re: How to efficiently update a large Image?
By: Tom1 on Thu, 03 September 2009 11:45
|
Goto Forum:
Current Time: Sat Jul 05 17:40:51 CEST 2025
Total time taken to generate the page: 0.03590 seconds
|