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

BaseContext: optimize getGradientTexture

    XMLWordPrintable

Details

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

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Imported: