Submitted On 18-APR-2003
psynek
I experience the same problem with Graphics2D.setComposite(...).
It seems only AlphaComposite may be used as argument for
this method...
But custom Composite object that performes for example AND
pixel operation can't be used with Java 1.4.1 at all...
Submitted On 22-APR-2003
lars.joreteg
I am experiencing the same issue - It's very frustrating!
I have found two workarounds:
1. Disable windows display hardware acceleration
2. Pass the following parameter to the VM: -
DSwingVolatileImageBuffer=false
(Both of these really fo the same thing - Disable the use of
half-implemented VolativeImage, which is the root of this
problem)
Unfortunately either of these workaround is completely
unacceptable for our large customer base!
Submitted On 21-AUG-2003
eijckron
I experience the same problem when using fullscreen exclusive
mode and switching to the windows desktop and back. This is
on windows 2000 with a intel and ati videocards and different
versions of directX including 9.0b.
Submitted On 15-SEP-2003
mrsimoncox
I have the same problem on a redhat linux machine (kernel
2.4.20), however i don't seem to be able to fix it with
either the DSwingVolatileImageBuffer=false or
sun.java2d.noddraw=true JVM flags.
The stack trace i get is:
java.lang.InternalError: not implemented yet
at
sun.awt.X11SurfaceData.getRaster(X11SurfaceData.java:157)
at
sun.java2d.pipe.GeneralCompositePipe.renderPathTile(GeneralCompositePipe.java:82)
at
sun.java2d.pipe.SpanShapeRenderer$Composite.renderBox(SpanShapeRenderer.java:42)
at
sun.java2d.pipe.SpanShapeRenderer.renderRect(SpanShapeRenderer.java:168)
at
sun.java2d.pipe.SpanShapeRenderer.fill(SpanShapeRenderer.java:119)
at
sun.java2d.pipe.PixelToShapeConverter.fillRect(PixelToShapeConverter.java:44)
at
sun.java2d.pipe.ValidatePipe.fillRect(ValidatePipe.java:46)
at
sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2065)
Submitted On 24-NOV-2003
pvercesi
I think that workaround and evaluation descriptions should
be added to Graphics2D API.
Submitted On 20-JAN-2005
JN_
Who says you have to read the data back from the video buffer? If swing double-buffering is enabled, the data should be right there. What use is a setComposite() method if it doesn't work?
Submitted On 26-MAY-2005
twalljava
The custom composite doesn't even have to do anything (the exception is thrown before the composite is ever used).
Submitted On 28-JUN-2005
StewartPratt
Whilst the evaluation makes fine sense for applications, double buffering large images within applets is unfortunately not an option.
Submitted On 29-JUN-2005
Brent
I too am experiencing this problem displaying from a solaris box (java1.5) to my WindowsXP box. The exact same source works just wonderfully on windows alone
Submitted On 18-FEB-2008
Shayesteh
I have this problem on ubuntu 7.10.
BlendCompositeDemo, a sample in filthy rich clients
Submitted On 01-APR-2008
hrj
I second lars, JN_ and twaljava's comments.
I am not even accessing any of the Raster's. Just implementing a dummy Composite and doing a setComposite() throws this exception.
This is really frustrating, and what use is a setComposite if it can't be used!?
Submitted On 15-MAY-2008
"We hope
to fix this in the not too distant future" (written well over 4 years ago and still no fix).
What's the point of providing a Graphics2D method that doesn't work on one major platform? Something to the effect of "has worked fine on Windows for 5 years, but don't assume it will work on any other platform" would probably fit the bill.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|