-
Enhancement
-
Resolution: Unresolved
-
P4
-
9
-
None
See the discussion: http://mail.openjdk.java.net/pipermail/2d-dev/2015-November/005934.html
------------------------------
OSXOffscreenSD.java - since this method just refers back to the SG2D,
how is it any better than just returning false and letting SG2D's
general copyArea deal with the issue? Also, SG2D.drawImage() is not
guaranteed to handle overlapping copyareas so arguably it could fail -
but I suppose the assertion is that the drawImage to such destinations
happens to deal with overlapping areas? Is that asserted or tested
anywhere? Also, this method claims that the Windows version ignores the
"light clip", but it doesn't. In fact, if there is a clip then
GDIcopyarea punts to the general version. I find a lot to worry about
in this implementation and I wonder how well it was tested...?
------------------------------
------------------------------
OSXOffscreenSD.java - since this method just refers back to the SG2D,
how is it any better than just returning false and letting SG2D's
general copyArea deal with the issue? Also, SG2D.drawImage() is not
guaranteed to handle overlapping copyareas so arguably it could fail -
but I suppose the assertion is that the drawImage to such destinations
happens to deal with overlapping areas? Is that asserted or tested
anywhere? Also, this method claims that the Windows version ignores the
"light clip", but it doesn't. In fact, if there is a clip then
GDIcopyarea punts to the general version. I find a lot to worry about
in this implementation and I wonder how well it was tested...?
------------------------------
- relates to
-
JDK-8069348 SunGraphics2D.copyArea() does not properly work for scaled graphics in D3D
- Resolved