• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Improving Graphics Drawing Performance

 
Tim Berett
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a third party software (anyone familiar with ArcGIS Engine for Java?) that plots stuff on my awt frame. The problem is that some of the animation is excruciating slow. It seems to draw using some GDI+ apis which is hogging my cpu cycles instead of my graphics card. Is there anyone who knows how to improve GDI+ performance for my application? Thanks.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't post the same question to more than one forum. See here for an explanation of why I just deleted the other copy of this thread.

In any case, does this package include native libraries? Java programs can't pick and choose from native platform APIs; they just have to use whatever the JVM uses to implement the standard Java libraries.

Use the newest JVM you can; recent Java releases include more use of graphics card acceleration of Java2D calls.
 
Tim Berett
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Yes, the package includes some underlying native libraries. It does this using JIntegra. I'm new to these graphics drawing stuff. Is the drawing done soley by Java? Why is it that it uses GDI+ calls instead of using my graphics card? Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic