Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3fe2ab64c405b4694829ba42aa6cf263b617e863
      
https://github.com/WebKit/WebKit/commit/3fe2ab64c405b4694829ba42aa6cf263b617e863
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
    M 
Source/WebCore/platform/graphics/skia/SkiaCompositingLayerImageSetBatch.cpp
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayerImageSetBatch.h

  Log Message:
  -----------
  [GTK][WPE] Skia Compositor: do not use linear interpolation when not needed
https://bugs.webkit.org/show_bug.cgi?id=315826

Reviewed by Nikolas Zimmermann.

For axis aligned, not scaled and integer translated transforms, nearest
and linear do the same, so we can keep nearest to avoid the sampling
options switch that will cause a new batch.

* Source/WebCore/platform/graphics/skia/SkiaCompositingLayerImageSetBatch.cpp:
(WebCore::SkiaCompositingLayerImageSetBatch::imageRequiresLinearSampling const):
(WebCore::SkiaCompositingLayerImageSetBatch::addImage):
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayerImageSetBatch.h:
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::paintContents):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to