Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drawing an image on a double buffered canvas
Drawing an image on a double buffered canvas [message #883302] Fri, 08 June 2012 08:41
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi,

I'm trying to draw an image on a canvas.

I just create a shell with a canvas and draw a png image on it.
When I create the Canvas with the SWT.NONE style, the time required for rendering
is about twice longer than with the SWT.DOUBLE_BUFFERED style. I'm running on Windows 7.

I thought the double buffering technique is used for reducing flashing. So in my opinion
SWT.DOUBLE_BUFFERED should take longer.

Can somebody explain it to me?

Thanks
Previous Topic:NUM_LOCK
Next Topic:SWT 3.7.2-2 is not working with OpenJDK 6b24-1.11.1-4ubuntu3
Goto Forum:
  


Current Time: Mon Sep 28 07:16:09 GMT 2020

Powered by FUDForum. Page generated in 0.01433 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top