Hello,

Could you review the fix:
  bug: https://bugs.openjdk.java.net/browse/JDK-8069348
  webrev: http://cr.openjdk.java.net/~alexsch/8069348/webrev.00

For some reasons Blit operation does not properly work in the SunGraphics2D.copyArea() method
  with scaled transform neither on Windows nor on Mac OS X.
I have filled an issue on it: JDK-8143392 SunGraphics2D.copyArea() does not properly handle Blit operation

The current solution updates D3DSurfaceData.copyArea() to handle scaled graphics in the same way as it has been already done for the CGLSurfaceData (see JDK-8000629 [macosx] Blurry rendering with Java 7 on Retina display).

May be there is a way to avoid the code duplication: put it to some SurfaceDataUtils class (it also requires adding parent copyArea() method to BufferedRenderPipe) or something else. I am not sure about the best option.


  Thanks,
  Alexandr.

Reply via email to