Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9ff20369e3d7ddbd3d90fd7d798857ad7f03cdfa
      
https://github.com/WebKit/WebKit/commit/9ff20369e3d7ddbd3d90fd7d798857ad7f03cdfa
  Author: Fujii Hironori <[email protected]>
  Date:   2026-08-18 (Tue, 18 Aug 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.h

  Log Message:
  -----------
  [Coordinated Graphics] Support background color of layer
https://bugs.webkit.org/show_bug.cgi?id=321991

Reviewed by Nikolas Zimmermann.

Added background color support to GraphicsLayerCoordinated,
CoordinatedPlatformLayer and SkiaCompositingLayer.

The "paint flushing" feature of WebInspector is using
GraphicsLayer::setBackgroundColor. For Skia compositor, there is one more bug
for the "paint flushing" feature. See <https://webkit.org/b/321993>.

* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::setBackgroundColor):
(WebCore::CoordinatedPlatformLayer::flushCompositingStateOnTarget):
(WebCore::CoordinatedPlatformLayer::flushCompositingStateOnSkiaTarget):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.cpp:
(WebCore::GraphicsLayerCoordinated::setBackgroundColor):
(WebCore::GraphicsLayerCoordinated::commitLayerChanges):
* 
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.h:
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::paintContents):

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



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

Reply via email to