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

CacheHint.SPEED is not used by CacheFilter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx

      The CacheHint.SPEED hint is not used by CacheFilter, only ROTATE and ROTATE_AND_SCALE and SCALE. CacheHint.SPEED, at this time, is equivalent to ROTATE_AND_SCALE.


          public void setHint(CacheHint cacheHint) {
              this.cacheHint = cacheHint;
              this.scaleHint = (cacheHint == CacheHint.SCALE ||
                                cacheHint == CacheHint.SCALE_AND_ROTATE);
              this.rotateHint = (cacheHint == CacheHint.ROTATE ||
                                 cacheHint == CacheHint.SCALE_AND_ROTATE);
          }


      This method should also set scaleHint and rotateHint if CacheHint.SPEED is specified.

            rbair Richard Bair (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: