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

Need to Optimize Gradient texture performance.

XMLWordPrintable

      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).

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

              Created:
              Updated:
              Resolved:
              Imported: