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

PixelFormat.getByteBgraInstance.setArgb() appears to set the components in the wrong order

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:

      Description

      The SWTFXUtils exporter noticed a change in the behavior of this PixelFormat recently. The root cause appears to be that we switched from using a call to setArgb per pixel when reading a buffer to using optimized loops. Apparently the optimized loops are correct, but this method is wrong so the optimization caused a noticeable change in behavior.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                flar Jim Graham
                Reporter:
                flar Jim Graham
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: