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

Canvas fails when multiple advanced rendering operations are combined

    XMLWordPrintable

    Details

      Backports

        Description

        The Canvas rendering code has to special case several rendering attributes to combine results from intermediate buffers. These attributes include BlendMode, clipping, and effects. Those combined operations are further complicated by the GlobalAlpha and the transform.

        Combining one or more of those operations can lead to wrong results or exceptions in the worst cases. The two attached test cases can be used to explore the combinations that fail. (The Combined test case requires an HD screen to see the entire window, but is faster to cycle through all combinations of the operations and all shape types by clicking on the window until it cycles through after a dozen clicks or so.)

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported: