[webkit-changes] [WebKit/WebKit] ebe344: Minor optimizations to ImageQualityController::cho...
Simon Fraser
noreply at github.com
Fri Jul 12 10:21:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ebe344773276d8262e2605e7a3ba8d6bbdfc9dd1
https://github.com/WebKit/WebKit/commit/ebe344773276d8262e2605e7a3ba8d6bbdfc9dd1
Author: Simon Fraser <simon.fraser at 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
More information about the webkit-changes
mailing list