[OpenJDK 2D-Dev] XOR rendering slow with D3D enabled [6635462]

David Gilbert david.gilbert at object-refinery.com
Thu Jan 15 20:17:59 UTC 2009

Dmitri Trembovetski wrote:
>   IMO if it takes too long to draw a chart it needs to be cached in
>   an image (VolatileImage, for example).
That is an option that is provided in JFreeChart, and so we'll modify 
our code to *not* use XOR in that case.   But XOR saves us from having 
to allocate that Image for cases where the chart repaint time is 
somewhere in between "real fast" and "real slow".  [It perhaps reflects 
my age that I even care about conserving memory!]

>   As I mentioned, I was joking.
Yeah, I did spot that.
>   However, so far I have seen very few examples where the use of Xor
>   paint mode is required.
So deprecate it.  I'll miss it, but only a little.

Dave Gilbert
JFreeChart Project Leader

More information about the 2d-dev mailing list