• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Improving Graphics Drawing Performance

 
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.
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic