Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3f810b0168cd8a4e3bfc1b6b29fa9dfc5465122e
      
https://github.com/WebKit/WebKit/commit/3f810b0168cd8a4e3bfc1b6b29fa9dfc5465122e
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

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

  Log Message:
  -----------
  [GTK][WPE] Skia compositor: use CoordinatedPlatformLayerBufferSkiaImage for 
non accelerated video frame buffers
https://bugs.webkit.org/show_bug.cgi?id=323316

Reviewed by Nikolas Zimmermann.

Instead of manually allocating a texture and uploading the pixels, we can just 
create
a raster SkImage wrapping the video frame pixels and pass it to the compositor.

* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp:
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferIfNeeded):
(WebCore::CoordinatedPlatformLayerBufferVideo::skiaImage):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.h:

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



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

Reply via email to