[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Doublebuffering with SWT

This depends on the Platform you run on. Try using the SWT.DOUBLEBUFFERING (<- could be written differently but it is definitly in the SWT class) style on your canvas/composite and see what happens.

Regards
Stefan

Michael Imhof wrote:
Does SWT supports doublebuffering?
Within my application I have to redraw often (10 times/sec) and
without doublebuffering the whole screen is flickering!
I saw implementations using the gc.drawImage(..) function but this
is very slow and it seems to me that this function is copy the content
of the image to the gc (instead of switching from one to the other buffer).

Regards
Michael