Re: [JAVA2D] Non-opaque window performance

2009-05-14 Thread Dmitri Trembovetski
jav...@javadesktop.org wrote: Well, anyway, I observed a dramatic improvement. I'm glad to hear that there will be even more improvement when you introduce a solution to the issue. Hooray for unexpected dramatic improvements! =) In the meantime though I've also noticed that setting the wi

Re: [JAVA2D] Non-opaque window performance

2009-05-14 Thread java2d
Well, anyway, I observed a dramatic improvement. I'm glad to hear that there will be even more improvement when you introduce a solution to the issue. In the meantime though I've also noticed that setting the window non-opaque seems to disable sub-pixel font rendering. Setting the HRBG text ant

Re: [JAVA2D] Non-opaque window performance

2009-05-13 Thread java2d
Please check the provided test case - general performance improvements have nothing to do with the reported issue. Your app slows down with every single widget you add because each single repaint (even if only needed for a single widget) causes all widgets to get repainted. Wolfgang [Message se

Re: [JAVA2D] Non-opaque window performance

2009-05-13 Thread java2d
I updated from 6u10. Before observing the slow updating with transparency enabled, I had no incentive to take the time to update. So unfortunately I can't pin it down to that or any interim version. I have an undecorated window with various semi-transparent widgets hanging off the visible edg

Re: [JAVA2D] Non-opaque window performance

2009-05-12 Thread Dmitri Trembovetski
I don't see anything in b06 list of changes that could have attributed to that. Is this new in b06 or is this the first 6u14 build you happen to try? Dmitri jav...@javadesktop.org wrote: We were seeing the extreme slowness as well, but I would like to report that with 1.6.0_14-ea-b06

Re: [JAVA2D] Non-opaque window performance

2009-05-12 Thread java2d
We were seeing the extreme slowness as well, but I would like to report that with 1.6.0_14-ea-b06 on Vista at least, there is a vast improvement. Did a fix get into 6u14 after all? [Message sent by forum member 'mdmcnabb' (mdmcnabb)] http://forums.java.net/jive/thread.jspa?messageID=346013 ===

Re: [JAVA2D] Non-opaque window performance

2009-05-08 Thread java2d
Hi Dmitri, thank you for taking care about. Wolfgang [Message sent by forum member 'wzberger' (wzberger)] http://forums.java.net/jive/thread.jspa?messageID=345497 === To unsubscribe, send email to lists...@java.sun.com and

Re: [JAVA2D] Non-opaque window performance

2009-05-07 Thread java2d
It is being worked on. Unfortunately it missed 6u14, so it'll likely appear in 6u16 (and in jdk7 sooner than that). Dmitri [Message sent by forum member 'trembovetski' (trembovetski)] http://forums.java.net/jive/thread.jspa?messageID=345482 ==

Re: [JAVA2D] Non-opaque window performance

2009-04-13 Thread java2d
Hi, just wanted to throw my "vote" behind this, since it seems like it's not in 6u14. Please allow these optimizations to happen soon. Best regards, Gath [Message sent by forum member 'gath55' (gath55)] http://forums.java.net/jive/thread.jspa?messageID=341847 ===

Re: [JAVA2D] Non-opaque window performance

2009-02-13 Thread java2d
I've currently tested Java 6u14 and the issue is still there. Is there a new timeline for fixing the issue? Thanks, Wolfgang [Message sent by forum member 'wzberger' (wzberger)] http://forums.java.net/jive/thread.jspa?messageID=331748 ===

Re: [JAVA2D] Non-opaque window performance

2008-12-12 Thread java2d
Dmitri, I would be very glad if this was solved for XP and Vista since I use a lot of dirst and unnecessary tricks to go around this in a project of mine. Cheers, Mikael Grev [Message sent by forum member 'mikaelgrev' (mikaelgrev)] http://forums.java.net/jive/thread.jspa?messageID=321497 =

Re: [JAVA2D] Non-opaque window performance

2008-12-12 Thread java2d
This would be great - especially for complex UI's and of course upcoming JavaFX apps with transition effects. Thanks, Wolfgang [Message sent by forum member 'wzberger' (wzberger)] http://forums.java.net/jive/thread.jspa?messageID=321488 ==

Re: [JAVA2D] Non-opaque window performance

2008-12-12 Thread Dmitri Trembovetski
jav...@javadesktop.org wrote: Yes, Windows Vista. But for me it looks like there is some space for optimizations. Why do all components have to be repainted in case of a single repaint? There's definitely room for optimization there, especially on Vista. The way Windows does translucent

Re: [JAVA2D] Non-opaque window performance

2008-12-12 Thread java2d
Yes, Windows Vista. But for me it looks like there is some space for optimizations. Why do all components have to be repainted in case of a single repaint? Thanks, Wolfgang [Message sent by forum member 'wzberger' (wzberger)] http://forums.java.net/jive/thread.jspa?messageID=321472 ===

Re: [JAVA2D] Non-opaque window performance

2008-12-12 Thread Dmitri Trembovetski
This is the intended behavior (assuming you're on windows). For every repaint the window is re-rendered into a buffer which is then copied into the layered GDI window. Thanks, Dmitri jav...@javadesktop.org wrote: There seems to be a performance issue for non-opaque windows (Java6u1

[JAVA2D] Non-opaque window performance

2008-12-12 Thread java2d
There seems to be a performance issue for non-opaque windows (Java6u10 or above). The test case below demonstrates the issue. As soon as the mouse moves over the button the red panel will be repainted. Is this the correct behavior or is there a way to minimize repaints? If the window is opaque e