Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb7b8624edc02b0d33e121fff1c41026d75b555a
      
https://github.com/WebKit/WebKit/commit/fb7b8624edc02b0d33e121fff1c41026d75b555a
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-08-18 (Tue, 18 Aug 2026)

  Changed paths:
    M Source/WebCore/page/scrolling/coordinated/ScrollerCoordinated.cpp
    M Source/WebCore/platform/TextureMapper.cmake
    M Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
    M Source/WebCore/platform/graphics/skia/GraphicsContextSkia.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/CoordinatedPlatformLayerBuffer.h
    A 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaDeferredImage.cpp
    A 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaDeferredImage.h

  Log Message:
  -----------
  [GTK][WPE] Skia compositor: use deferred display list to paint scrollbars
https://bugs.webkit.org/show_bug.cgi?id=321930

Reviewed by Nikolas Zimmermann.

This way we avoid creating a gl context for skia in the scrolling
thread. A new buffer type CoordinatedPlatformLayerBufferSkiaDeferredImage
receives the recorded display list that is replayed on the compositor
thread when painting the buffer for the first time.

* Source/WebCore/page/scrolling/coordinated/ScrollerCoordinated.cpp:
(WebCore::ScrollerCoordinated::updateValues):
* Source/WebCore/platform/TextureMapper.cmake:
* Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContextSkia::beginRecording):
(WebCore::GraphicsContextSkia::endRecording):
* Source/WebCore/platform/graphics/skia/GraphicsContextSkia.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::CoordinatedPlatformLayer):
(WebCore::CoordinatedPlatformLayer::threadSafeGrContext const): Deleted.
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h:
(WebCore::CoordinatedPlatformLayer::threadSafeGrContext const):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBuffer.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaDeferredImage.cpp:
 Added.
(WebCore::CoordinatedPlatformLayerBufferSkiaDeferredImage::create):
(WebCore::CoordinatedPlatformLayerBufferSkiaDeferredImage::CoordinatedPlatformLayerBufferSkiaDeferredImage):
(WebCore::m_displayList):
(WebCore::CoordinatedPlatformLayerBufferSkiaDeferredImage::skiaImage):
(WebCore::CoordinatedPlatformLayerBufferSkiaDeferredImage::paintToTextureMapper):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaDeferredImage.h:
 Added.

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



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

Reply via email to