Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 239e39ffdf78c6980c68cdb1df46ae7c6c09f9e4
      
https://github.com/WebKit/WebKit/commit/239e39ffdf78c6980c68cdb1df46ae7c6c09f9e4
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-08-18 (Tue, 18 Aug 2026)

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

  Log Message:
  -----------
  [GStreamer][Skia] Video rendering support for Qualcomm decoder
https://bugs.webkit.org/show_bug.cgi?id=320897

Reviewed by Adrian Perez de Castro.

307174@main added Qualcomm decoder support for TextureMapper only, skiaImage()
was left unimplemented so videos couldn't render.

EXT_YUV_target cannot be reproduced under Skia, Ganesh generates its own 
fragment
program and only emits samplerExternalOES. Use its implicit YUV to RGB 
conversion,
steered by EGL_YUV_COLOR_SPACE_HINT_EXT and EGL_SAMPLE_RANGE_HINT_EXT taken from
the frame colorimetry, and fall back to an hint-free import if the driver 
rejects
them.

* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferExternalOES.cpp:
(WebCore::CoordinatedPlatformLayerBufferExternalOES::create):
(WebCore::CoordinatedPlatformLayerBufferExternalOES::CoordinatedPlatformLayerBufferExternalOES):
(WebCore::CoordinatedPlatformLayerBufferExternalOES::createExternalOESTexture):
(WebCore::CoordinatedPlatformLayerBufferExternalOES::paintToTextureMapper):
(WebCore::CoordinatedPlatformLayerBufferExternalOES::skiaImage):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferExternalOES.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp:
(WebCore::yuvColorSpaceFromVideoInfo):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferIfNeeded):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferFromGLMemory):

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



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

Reply via email to