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

Need API to detect Render thread

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      With printing, rendering methods can be called on any thread. Sometimes they need to know whether they run on Render thread or not, e.g. to access accelerated textures safely. A new method similar to Toolkit.isFxUserThread() would help.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prr Philip Race
                Reporter:
                peterz Peter Zhelezniakov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported: