Submitted On 02-DEC-2007
The suggested fix would be great, because applications which use XOR have most likely been developed in the java-1.1 age, and should also work find with the Software-only pipeline.
Submitted On 07-APR-2008
sevenM
Here http://forums.java.net/jive/thread.jspa?threadID=39034&tstart=0 is a side effect of this one.
Submitted On 29-AUG-2008
Racy
This bug also affects the library JFreeChart when using Java 6 update 10 RC. When the user drags the mouse in a chart to zoom into an area the drawing of the "zoom rectangle" is very slow and almost unbearable.
Submitted On 10-SEP-2008
linuxhippy
please disable it, when xor rendering is used
Submitted On 01-NOV-2008
mthornton
JDesktopPane.OUTLINE_DRAG_MODE is badly affected by this bug.
Submitted On 13-NOV-2008
CarlG
Oh man, what a tease! Our product could really benefit from the improved rendering of a D3D pipeline, but XOR painting is par for the course!
Submitted On 12-DEC-2008
JacobDK
Any news whether this workaround will be implemented or not?
Submitted On 15-DEC-2008
This regression introduced in update 10 is critical for us too. We tested update 11 and the preview of update 12 (build 02): still not fixed.
Submitted On 19-DEC-2008
SuperMario99
Hi,
I've encountered the same problem with u10 and u11. Unfortunately issuing "System.setProperty("sun.java2d.d3d", "false");" from my application as suggested in u10s release note to disable d3d has no effect on the disastrous XOR performance. I'm wondering that Sun is changing such basic behavior which makes the latest releases unusable in case an application relies on XOR-painting such as ours!
Submitted On 22-DEC-2008
Without wanting to sound overly dramatic, have you any idea of the number of Swing applications and libraries you have broken with this bug? We have about 8,000 applications using JGraph, pretty much all of which will be broken. Please could someone look at this urgently?
Submitted On 22-DEC-2008
This one hurts.
Submitted On 05-JAN-2009
dmkoelle
This should be a must-fix, since it breaks (or slows to a crawl) existing applications that depend on this functionality.
PLEASE FIX!
Submitted On 05-JAN-2009
Please FIX ASAP...
Submitted On 06-JAN-2009
TURLS2201
This is also present in early release V7. Please fix asap
Submitted On 07-JAN-2009
Ohsten
Please fix it asap.
Submitted On 09-JAN-2009
Billbo_Bobbins
Please fix this ASAP! I'm building a workflow diagram applet and this bug has completely crippled it. I was hoping to release the first version of the software in mid Jan 09, but it looks like this won't happen now.
If you could disable D3D9 for Swing components, or add a mechanism to allow developers to dynamically enable/disable it at run time that would be a start.
Submitted On 11-JAN-2009
schlm3
We have switched off d3d-rendering for years now, since we have had bluescreens all the time on various systems.
Hoped it would come better, but this bug makes the new pipeline unusable again.
Submitted On 27-JAN-2009
Is there any idea when this will be fix
Submitted On 29-JAN-2009
I have a plotting tool that is also drag down on its feet when trying to draw the zoom box. Please FIX!
Submitted On 12-FEB-2009
dmorenus
We are advising all our customers not to install release 10 or higher of JRE 1.6.0 based on this problem. It is not practical to instantly rip all XOR rendering out of an application with thousands of installed corporate users over years of product releases. This kind of performance is totally unacceptable.
Submitted On 16-FEB-2009
reza.a
Please Fix it, asap
Thanks.
Submitted On 17-FEB-2009
phil_burk
This bug is seriously affecting our commercial ListenUp Applet. We use XOR mode to draw a selection rectangle over a waveform. You can see the slow refresh by dragging the mouse over the waveform here:
http://www.javasonics.com/listenup/examples/record_insert.html
Please fix this ASAP.
Submitted On 10-MAR-2009
Houtman
the package i used calls
sun.java2d.SubGraphics3D.fill( java.awt.Shape ) ( actually a square )
Netbeans profiler show that
j6u6 does the filling itself, and the call tree ends like this;
650 times --> sun.java2d.pipe.LoopPipe.fill() ( 390 ms = 4,8 % )
650 times --> sun.java2d.pipe.LoopPipe.fillSpans() ( 1.47 ms = 0% )
650 times --> sun.java2d.loops.FillSpans() Which is nice..
j6u10 on the other hand:
21 times --> sun.java2d.pipe.LoopPipe.fill() (
21 times --> sun.java2d.pipe.LoopPipe.fillSpans()
....
88468 times --> java.awt.image.SinglePixelPackedSampleModel.getDataElements() ( 47.9 ms = 0,3% )
......
88468 times --> sun.java2d.d3d.D3DRenderQueue.flushBuffer() ( 10002 ms = 71.9 %)
i did not check the stack trace for J6u12, but the drawing of the square is just as slow as J6u10
Submitted On 11-MAR-2009
dmitri_trembovetski
This bug has been resolved in 6u14b03 (early builds available from jdk6.dev.java.net).
Submitted On 08-APR-2009
Are there any details of the fix? Given the statement that "this is a known limitation of the current implementation because there is no easy way to express xor operation in D3D9", is this more a workaround?
Submitted On 09-APR-2009
dmitri_trembovetski
The work around is that when XOR rendering is detected, the hardware acceleration for the destination surface is disabled forever.
Dmitri
Submitted On 18-JUN-2009
This leaves our application which renders images from a camera useless.
Submitted On 22-JUN-2009
dmitri_trembovetski
> This leaves our application which renders images from a camera useless
Could you clarify how and why? And is it the bug, or the work around?
Submitted On 09-JUL-2009
The workaround doesn't seem to be fixing the rendering problem in my scenario. Basically, I've created a Swing-based Applet Viewer for an Oracle Forms applet (which I've found uses XOR rendering).
I'd like to be able to use AWTUtilities so the JFrame can have true rounded corners and a drop shadow. However, as soon as I use AWTUtilities.setWindowOpaque(this,false) on the JFrame, the "sun.java2d.d3d" setting seems to be rendered useless, and the Oracle Forms applet inside the frame once again becomes slow to the point of inoperability.
Is there anything that I can do to still use AWTUtilities on the frame, but keep the XOR applet inside of the frame rendering properly?
Thanks in advance!
Submitted On 10-JUL-2009
dmitri_trembovetski
I doubt that this has anything to do with xor. Most likely you're running into performance issues with the implementation of translucent windows support in the jdk.
It's been improved in jdk7 b60 (see bug 6794764), the fix may be back ported to 6uXX.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|