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

Blend mode ADD takes way too long

    XMLWordPrintable

    Details

      Description

      While porting a demo application from pulp core (http://www.interactivepulp.com/pulpcore/particles/) I uncovered a performance bottleneck in the blend mode code paths. Run the linked-to demo above and observe the performance of this demo (the linked-to library is a scenegraph built on Java2D). Attached to this bug is a JavaFX port of this example. When blend mode is turned off, performance is reasonable. However, when you run with the blend mode enabled, it crawls to a halt on the Swing stack and simply never renders on prism.

        Attachments

        1. JMain.java
          5 kB
        2. Main.fx
          4 kB
        3. Main2.fx
          4 kB
        4. particles.png
          particles.png
          8 kB

          Activity

            People

            Assignee:
            flar Jim Graham
            Reporter:
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: