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

CSS could reuse Images for repeating styles

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P3
    • None
    • None
    • javafx

    Description

      Ensemble3 specifies an image for its preview element's border:

      .sample-medium-preview {
          -fx-border-image-source: url("images/tile-border.png");
          ...
      }

      When the main page is scrolled, corresponding Image objects are instantiated hundreds of times, which impacts scrolling performance as well as texture memory on GPU (especially important on embedded).
      Relevant code is in javafx.scene.layout.BorderConverter.convert(java.util.Map), in "BorderConverter.java"
        

      Attachments

        Issue Links

          Activity

            People

              dgrieve David Grieve
              omazurov Oleg Mazurov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: