Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c2d31e897eb83ad3ad41ff5e43ca908390cae480
      
https://github.com/WebKit/WebKit/commit/c2d31e897eb83ad3ad41ff5e43ca908390cae480
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

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

  Log Message:
  -----------
  [GTK][WPE] Skia Compositor: avoid SkCanvas::clipPath when possible
https://bugs.webkit.org/show_bug.cgi?id=315841

Reviewed by Nikolas Zimmermann.

When clipping not rounded rects, SkCanvas::clipRect is more efficient.

* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::clipRect):
(WebCore::SkiaCompositingLayer::paintSelf):
(WebCore::SkiaCompositingLayer::paintSelfAndChildren):
(WebCore::SkiaCompositingLayer::paintBackdrop):
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h:

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



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

Reply via email to