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

Need to handle the case of a failed texture load when rendering large images

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 7u6
    • javafx
    • None

    Description

      When rendering a large image, we need to handle the case of a failed texture load by backing off to a successively smaller texture. Currently we will just fail with an NPE in the renderer.

      The fix for RT-21998 clamps the maximum texture size to 4096 in order to reduce the possibility of failing to load a texture due to resource limitations. However, there is no guarantee that we can allocate a 4K x 4K texture, either, so it is more of a workaround for the actual problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kcr Kevin Rushforth
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Imported: