Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8144181

OSXOffScreenSurfaceData.copyArea() method improvement

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • client-libs
    • None
    • 2d

      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...?
      ------------------------------

            Unassigned Unassigned
            alexsch Alexandr Scherbatiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: