Hi Maik,
this is a known problem described in
6635462: D3D: XOR rendering is extremly slow
Unfortunately there's no solution at this point.
I would suggest to avoid using xor mode. In your case
you can just draw the rectangle and then repaint the
affected area when it needs to
If I draw into an Indexed bitmap, it seems that with antialias on it uses some
kind of change color on edges algorithm. I am writing with one color, but the
new pixels that antialiasing adds are not always the same color. I need to find
a way to turn this off, and force it to use the same
Hi Dmitri,
can you give me a hint how I redraw only the affected area in Java? I was
looking for something like invalidateRect but I didn't found it.
Currently I circumvent my problem by re-rendering the whole image. This works
better but is far from the performance with d3d=false and XOR
Hi Dmitri,
I will try that, tomorrow.
Thank you for your help!
Maik
[Message sent by forum member 'kiamur' (kiamur)]
http://forums.java.net/jive/thread.jspa?messageID=290463
===
To unsubscribe, send email to [EMAIL