Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ebe344773276d8262e2605e7a3ba8d6bbdfc9dd1
      
https://github.com/WebKit/WebKit/commit/ebe344773276d8262e2605e7a3ba8d6bbdfc9dd1
  Author: Simon Fraser <simon.fra...@apple.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M Source/WebCore/rendering/ImageQualityController.cpp

  Log Message:
  -----------
  Minor optimizations to ImageQualityController::chooseInterpolationQuality()
https://bugs.webkit.org/show_bug.cgi?id=276526
rdar://131590813

Reviewed by Tim Horton.

Avoid calling `context.getCTM().isIdentityOrTranslationOrFlipped()` if we don't 
need to.

Avoid pushing values into the two-layered hash maps if the image size hasn't 
changed.

* Source/WebCore/rendering/ImageQualityController.cpp:
(WebCore::ImageQualityController::chooseInterpolationQuality):

Canonical link: https://commits.webkit.org/280910@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to