> I switched from Windows NT to Windows 2000 with an ATI video card last week.
> Suddenly I was getting a lot of complete screen redraws in my application.

I don't understand why the switch in operating systems would change
the behavior of your app (at least with respect to screen
redraws).  I would have to be able to reproduce the problem
to try to understand it.  If you have a sample app and exact
specs on your system (which ATI card?  How much vram?  What
release of the JDK?) then I could try to help figure it out.

>
> I found a note in the bug parade database that advised trying
>
> -Dsun.java2d.noddraw=true
>
> I did this and now I don't get the flicker.

You also probably get slower performance.  Using this flag tells us
not to use ddraw for either offscreen surfaces (which we may
do on jdk1.4 in some situations) or copies to the screen
(which is what tends to cause screen flashing or flickers
in some situations).  DDraw copies tend to be a lot faster than
our fallback mechanism, although it does not have some of
the flashing/flickering artifacts of ddraw copies.

>
> My questions are:
>
> 1. Does this mean that I will get slower preformance?

Yep.

> 2. Is there any work being done to enable DirectX for Java2D?

DirectX already is enabled for Java2D.  By using the flag above, you
are disabling it.  Or perhaps I didn't understand your question?

Chet.
Java2D team



>
> Thanks,
>
> Ted Hill
>
> ===========================================================================
> 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".

===========================================================================
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