Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ccbb3ff9c6451766b02b5a1bbf55ed78d8b710d8
      
https://github.com/WebKit/WebKit/commit/ccbb3ff9c6451766b02b5a1bbf55ed78d8b710d8
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-05-19 (Tue, 19 May 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaBackingStore.cpp
    M Source/WebCore/platform/graphics/skia/SkiaBackingStore.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferNativeImage.cpp

  Log Message:
  -----------
  [GTK][WPE] Skia Compositor: do not change format when uploading pixels
https://bugs.webkit.org/show_bug.cgi?id=315089

Reviewed by Nikolas Zimmermann.

If the buffer is BGRA we can just create a SkImage keeping the BGRA
format and let skia handle the conversion if needed when painting the
image instead of when uploading pixels.

* Source/WebCore/platform/graphics/skia/SkiaBackingStore.cpp:
(WebCore::SkiaBackingStore::Tile::tryEnsureSurface):
(WebCore::SkiaBackingStore::Tile::update):
(WebCore::SkiaBackingStore::Tile::image):
* Source/WebCore/platform/graphics/skia/SkiaBackingStore.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferNativeImage.cpp:
(WebCore::CoordinatedPlatformLayerBufferNativeImage::tryEnsureBuffer):

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



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

Reply via email to