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

  Changed paths:
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp

  Log Message:
  -----------
  [GTK][WPE] Skia compositor: non accelerated videos have the RB colors swapped
https://bugs.webkit.org/show_bug.cgi?id=322981

Reviewed by Nikolas Zimmermann.

We need to set the BitmapTexture::Flags::UseBGRALayout when allocating
the BitmapTexture and handle it in
CoordinatedPlatformLayerBufferRGB::skiaImage() like we do for the tiles.

* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp:
(WebCore::CoordinatedPlatformLayerBufferRGB::skiaImage):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp:
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferFromMappedFrameIfNeeded):

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



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

Reply via email to