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

BaseContext: optimize getGradientTexture

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • None
    • javafx
    • None

      // TODO: need to dispose these when the context is disposed...
          private final Map<FontStrike, GlyphCache>
              greyGlyphCaches = new HashMap<FontStrike, GlyphCache>();
          private final Map<FontStrike, GlyphCache>
              lcdGlyphCaches = new HashMap<FontStrike, GlyphCache>();
          GlyphCache[] recentCaches = new GlyphCache[8];

      getGradientTexture():
      could save some work if we converted the *GradientContext classes to produce ByteRgbaPre data instead of IntArgbPre data...

            Unassigned Unassigned
            yaow Yao Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: