Re: [JAVA2D] Poor performance of Java2D

2008-12-01 Thread java2d
Hi again, I experience deadlocks from time to time. Maybe it could help to create the JGears object on the EDT? Found one Java-level deadlock: = AWT-EventQueue-0: waiting to lock monitor 0x09495438 (object 0xaeede358, a JGears), which is held by main main:

Re: [JAVA2D] Poor performance of Java2D

2008-12-01 Thread java2d
Do you mean something like this: SwingUtilities.invokeLater(new Runnable() { public void run() { JGears fancyGears = new JGears(); fancyGears.setVisible(true); } }); ? I have updated the code. [Message sent by forum member 'kamre' (kamre)]

Re: [JAVA2D] Poor performance of Java2D

2008-12-01 Thread java2d
However to be honest I was quite disappointed about the quality QT+OpenGL shows on your screenshot. It was my belief that modern hardware (like your GF7) in combination with latest drivers would behave much better from what I have seen from 5-year ago hardware, but still quality isn't

Re: [JAVA2D] Poor performance of Java2D

2008-12-01 Thread java2d
Thanks, I'll try it soon :) [Message sent by forum member 'linuxhippy' (linuxhippy)] http://forums.java.net/jive/thread.jspa?messageID=319362 === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the

Re: [JAVA2D] Poor performance of Java2D

2008-12-01 Thread java2d
I've heard about http://slick.cokeandcode.com/index.php . However you can try to cache rendering in images which you transform, thats usually very cheap with D3D/OGL. - Clemens [Message sent by forum member 'linuxhippy' (linuxhippy)] http://forums.java.net/jive/thread.jspa?messageID=319365

Re: [JAVA2D] Poor performance of Java2D

2008-12-01 Thread java2d
Thank you for the link. I will look at this library and probably will rewrite fancy gears with help of it. Caching images is not very usefull when smooth zoom is used. Though it can help to improve performance for scrolling I think. [Message sent by forum member 'kamre' (kamre)]

Re: [JAVA2D] Print BufferedImage Externally Generated

2008-12-01 Thread java2d
Thanks for your help Phil. But I'm trying to build up a BufferedImage using its Graphics component, nd then print that image using a Printable Why? As in I don't know why you aren't rendering directly to the printer ? I have a builder for my non-print documents, but it seems that I can't

Re: [JAVA2D] Poor performance of Java2D

2008-12-01 Thread Chris Campbell
On Nov 30, 2008, at 2:42 PM, [EMAIL PROTECTED] wrote: There is no pixel-to-pixel correspondence when Qt OpenGL pipeline is enabled (I have taken two screenshots, there is only a subtle difference). With good enough drivers (like NVidia on Windows for example) usage of hardware acceleration

Re: [JAVA2D] Print BufferedImage Externally Generated

2008-12-01 Thread Phil Race
[EMAIL PROTECTED] wrote: Thanks for your help Phil. But I'm trying to build up a BufferedImage using its Graphics component, nd then print that image using a Printable Why? As in I don't know why you aren't rendering directly to the printer ? I have a builder for my non-print documents,