Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Draw2d and system resources
SWT Draw2d and system resources [message #481456] Fri, 21 August 2009 06:35 Go to next message
Vijay Raj
Messages: 608
Registered: July 2009
Senior Member
Hi,

Does drawing performance of SWT on a canvas or using draw2d increase
according to the system capabilities,
Like does having a high end graphics card will ensure good rendering
performance of draw2d,GEF,GMF....


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Re: SWT Draw2d and system resources [message #481944 is a reply to message #481456] Mon, 24 August 2009 19:26 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2151
Registered: July 2009
Senior Member
The general answer is yes, since SWT uses the OS' native facilities, any
available hardware acceleration that's applicable will be used when drawing.
Whether this translates into a noticable performance difference depends on
the case. For instance, different graphics card manufacturers may optimize
for different things (eg.- GDI, OpenGL, etc.). Also, graphics calls that
use GDI+ (eg.- those that require the use of GC.setAdvanced(true)) will not
be accelerated because GDI+ is software-based. These are the same factors
that influence whether any native app is helped out by hardware
acceleration.

Grant


"vijay " <vijay.rajonline@gmail.com> wrote in message
news:70f79b97b96168baf8509565b898c96a$1@www.eclipse.org...
> Hi,
>
> Does drawing performance of SWT on a canvas or using draw2d increase
> according to the system capabilities,
> Like does having a high end graphics card will ensure good rendering
> performance of draw2d,GEF,GMF....
>
Previous Topic:Table header menu snippet
Next Topic:animated images require no separate thread
Goto Forum:
  


Current Time: Tue Sep 16 04:54:52 GMT 2014

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

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