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

isNPOTSupported check is too strict

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • jfx11, 8, 9
    • jfx15
    • javafx
    • arm
    • other

    Description

      In case a Node has a scaleZ set non-equal to 1, the transform to that node (including scaleX and scaleY) will only be applied if ES2Pipeline.is3DSupported is true, which will be true in case GLFactory.isNPOTSupported returns true.

      The check for isNPOTSupported does this:
      return (isGLExtensionSupported("GL_ARB_texture_non_power_of_two")
                          || isGLExtensionSupported("GL_OES_texture_npot"))

      On iOS devices, non of these extensions exist as it seems NPOT support is part of OpenGL ES 2 (at least partially).
      Maybe the check has to be altered to also check the version of GL?

      Attachments

        Issue Links

          Activity

            People

              jpereda Jose Pereda
              jvos Johan Vos
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: