Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7300a75d3d5a80d976dcad808c41bd6981002561
      
https://github.com/WebKit/WebKit/commit/7300a75d3d5a80d976dcad808c41bd6981002561
  Author: Matt Woodrow <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

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

  Log Message:
  -----------
  TransparencyLayerContextSwitcher::beginClipAndDrawSourceImage adds an 
unnecessary transparency layer.
https://bugs.webkit.org/show_bug.cgi?id=306061
<rdar://168704305>

Reviewed by Simon Fraser.

These can be expensive, we should only use one when we have an opacity to apply.

* Source/WebCore/platform/graphics/TransparencyLayerContextSwitcher.cpp:
(WebCore::TransparencyLayerContextSwitcher::beginClipAndDrawSourceImage):
(WebCore::TransparencyLayerContextSwitcher::beginDrawSourceImage):
(WebCore::TransparencyLayerContextSwitcher::endDrawSourceImage):
* Source/WebCore/platform/graphics/TransparencyLayerContextSwitcher.h:

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



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

Reply via email to