[JAVA2D] How to detect hardware acceleration?

2008-07-14 Thread java2d
Java 6u10 provides a method to modify widow opacity. On older machines, I assume without hardware acceleration, setting a window to the non-opaque mode leads to a very high CPU utilization. I wonder if there is a way to check the availability of hardware acceleration? Tested with Java build

Re: [JAVA2D] How to detect hardware acceleration?

2008-07-14 Thread Dmitri Trembovetski
[EMAIL PROTECTED] wrote: Java 6u10 provides a method to modify widow opacity. On older machines, I assume without hardware acceleration, setting a window to the non-opaque mode leads to a very high CPU utilization. HW acceleration is actually disabled for the window with opacity 1.0 on

Re: [JAVA2D] How to detect hardware acceleration?

2008-07-14 Thread java2d
Thanks for the info. The problem is that my test app works fine on a modern machine with Vista and non-opaque window mode. On an older machine with XP the app is too slow so the additional eye candy which is provided by the non-opaque window mode should not appear. That's why a auto-detection

Re: [JAVA2D] How to detect hardware acceleration?

2008-07-14 Thread Dmitri Trembovetski
[EMAIL PROTECTED] wrote: Thanks for the info. The problem is that my test app works fine on a modern machine with Vista and non-opaque window mode. On an older machine with XP the app is too slow so the additional eye candy which is provided by the non-opaque window mode should not appear.