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

Need to Optimize Gradient texture performance.

    XMLWordPrintable

Details

    Description

      A native texture upload is done everytime a "different" gradient is rendered.

      In Button, there are 4 fills, with 4 gradients (via NGRegion). This quickly spirals out of control and costs 13+% in performance.

      The problem can be shown in a simple test that rotates 2 gradients with regular rectangles (see attached).

      Attachments

        Issue Links

          Activity

            People

              jandrese Joe Andresen (Inactive)
              jandrese Joe Andresen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: