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

Region, Circle, Ellipse, and ImageView should support occlusion culling for opaque paints

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      Rectangle has good support for participating in occlusion culling for opaque paints by virtue of its implementation of computeOpaqueRegion. Region has some support for it, but fails for several use cases among which are opaque paints. Circle and Ellipse have no support but would be as cheap to support as Rectangles, so they should support being an occlusion root as well.

      NGImageView could also be an occlusion root fairly easily since prism Images can tell us what their pixel format is, making it relatively straightforward to determine cheaply whether the image is an occlusion culling capable dirty root.

        1. Bug.java
          12 kB
          Richard Bair
        2. test-opaque.jpg
          1 kB
          Richard Bair
        3. test-opaque.png
          0.9 kB
          Richard Bair
        4. test-transparent.png
          1.0 kB
          Richard Bair

            rbair Richard Bair (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: