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

Implement AutoCloseable or try-with-resources block for creating MediaFrame texture

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • jfx26
    • jfx25
    • javafx
    • None

      The method ResourceFactory.createTexture(MediaFrame frame); is overridden by ResourceFactory classes specific to each rendering pipelines(es2,d3d,mtl).
      The overridden method could be modified to use AutoCloseable or try-with-resources block, such that the Frame is released when method exits

            arapte Ambarish Rapte
            arapte Ambarish Rapte
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: