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

Blend mode ADD takes way too long

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:
              Imported: