SWT Draw2d and system resources [message #481456] |
Fri, 21 August 2009 06:35 |
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 |
Grant Gayed Messages: 2150 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....
>
|
|
|
Powered by
FUDForum. Page generated in 0.03129 seconds