• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Improving Graphics Drawing Performance

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
The knights of nee want a shrubbery. And a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic