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

Text node computes complete text layout, even if clipped to a much smaller size

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • fx1.2
    • javafx
    • Vista, 6u14

      An interesting disovery when running the RT-5100 test case is that doubling the amount of text in Text.content will cause the pure FX version to run roughly half as fast. Doing the same for the versions using Swing JTextArea has no effect on framerate.

      So I'm lead to believe that the Text node always lays out its entire contents, even if only a small portion of it will end up on screen. This would explain the large disparity between Swing & FX performance.

      See notes in RT-5100 on how to run the test.

            prr Philip Race
            bchristi Brent Christian
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:

                Estimated:
                Original Estimate - 2 weeks
                2w
                Remaining:
                Remaining Estimate - 2 weeks
                2w
                Logged:
                Time Spent - Not Specified
                Not Specified