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

collapse Gradient CycleMethod variations of primitive shaders into a single implementation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8
    • javafx
    • None

      The primitive (i.e. oval, circle, roundrect, rect) shaders used on the desktop have multiple variants for properties like the type of paint. They even have extra variants for cases of gradients that have different CycleMethod properties (PAD, REFLECT, REPEAT). When the embedded versions of the shaders were created they were implemented in a way that allows all 3 CycleMethod types to be implemented in a single shader without loss of performance. The desktop shaders should be revamped to use a similar calculation in the shader to avoid the need to triple the number of variants of each primitive shader.

            Unassigned Unassigned
            flar Jim Graham
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Imported: