Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Speed: animations with SWT
Speed: animations with SWT [message #438676] Tue, 29 June 2004 18:26 Go to next message
Timo Nentwig is currently offline Timo NentwigFriend
Messages: 29
Registered: July 2009
Junior Member
Hi!

SWT/Swing is de facto unusable slow when it comes to image processing
for a matter of int array->Image convertion.

How does SWT perform in this case? At a glance I'd need to create a new
Image instance each time I change the buffer and I cannot recycle it:
new Image(dev, imageData.setPixels(...));

Can this be fast? I do not have a fixed number of frames (e.g. GIF
animation) but it's a real-time rendering effect.

Timo
Re: Speed: animations with SWT [message #439060 is a reply to message #438676] Mon, 05 July 2004 20:38 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Write a simple example/benchmark and someone here will look into it.

"Timo Nentwig" <tcn@spamgourmet.org> wrote in message
news:cbsc77$1m8$1@eclipse.org...
> Hi!
>
> SWT/Swing is de facto unusable slow when it comes to image processing
> for a matter of int array->Image convertion.
>
> How does SWT perform in this case? At a glance I'd need to create a new
> Image instance each time I change the buffer and I cannot recycle it:
> new Image(dev, imageData.setPixels(...));
>
> Can this be fast? I do not have a fixed number of frames (e.g. GIF
> animation) but it's a real-time rendering effect.
>
> Timo
Previous Topic:swt-win32-3062 from Eclipse 3.0 final release still java 1.1 incompatible
Next Topic:ToolItem.addListener
Goto Forum:
  


Current Time: Fri Apr 26 11:26:25 GMT 2024

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

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

Back to the top