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

  Changed paths:
    M Source/WebCore/platform/graphics/ColorMatrix.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferNativeImage.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferNativeImage.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp

  Log Message:
  -----------
  [GTK][WPE] Skia Compositor: use Skia API to upload pixels to texture in 
CoordinatedPlatformLayerBufferNativeImage
https://bugs.webkit.org/show_bug.cgi?id=314630

Reviewed by Nikolas Zimmermann.

This way the BGRA to RGBA conversion happens when uploading pixels and
we don't need to apply a filter while drawing.

* Source/WebCore/platform/graphics/ColorMatrix.h:
(WebCore::swapRedBlueMatrix): Deleted.
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferNativeImage.cpp:
(WebCore::CoordinatedPlatformLayerBufferNativeImage::tryEnsureBuffer):
(WebCore::CoordinatedPlatformLayerBufferNativeImage::paintToCanvas):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferNativeImage.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp:
(WebCore::CoordinatedPlatformLayerBufferRGB::paintToCanvas):

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



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

Reply via email to