I don't really know which of my operations cause hardware rendering and which 
perform software rendering, because I just love the ease to create fancy 
animations without having to deal with that questions :)

So maybe I did something wrong. I extracted a simple example from my program 
that demonstrates the behaviour and uploaded it as a zip archive at

http://www.kopsan.de/J6U5_Demo.zip

I measured a significant time increase for those lines:

final BufferedImage image = 
GraphicsUtilities.createCompatibleImage(c.getWidth(), c.getHeight());
final Graphics2D g2 = image.createGraphics();
c.paint(g2); // Paint contentpane to image
g2.dispose();

It takes 11ms with Java 1.6.0_01 and 500ms with Java 1.6.0_05. The next 
performance drop occurs when drawing the two BufferedImages in the 
paintComponent method.

I would be pleased if you could tell me how to improve performance.

Thanks in advance,
Sebastian Kopsan
[Message sent by forum member 'fenriswulf' (fenriswulf)]

http://forums.java.net/jive/thread.jspa?messageID=238628

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to