Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0bdf4bc8a0482a603ae2b4dfcd0b6b35459870c5
      
https://github.com/WebKit/WebKit/commit/0bdf4bc8a0482a603ae2b4dfcd0b6b35459870c5
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/cocoa/VP9UtilitiesCocoa.h
    M Source/WebCore/platform/graphics/cocoa/VP9UtilitiesCocoa.mm
    M Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm
    M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.cpp
    M Source/WebKit/GPUProcess/GPUConnectionToWebProcess.cpp
    M Source/WebKit/WebProcess/GPU/GPUProcessConnection.cpp

  Log Message:
  -----------
  vp9HardwareDecoderAvailable() is non-functional when called in the content 
process.
https://bugs.webkit.org/show_bug.cgi?id=299710
rdar://161534911

Reviewed by Youenn Fablet.

We re-use the VP9TestingOverrides structure to be able to store if we
the VP9 HW decoder is available. When the value of 
GPUProcessConnectionInfo::hasVP9HardwareDecoder
is retrieved, we set it to VP9TestingOverrides.

This allows to enable the SourceBufferParserWebM to work in the content process.

* Source/WebCore/platform/graphics/cocoa/VP9UtilitiesCocoa.h:
* Source/WebCore/platform/graphics/cocoa/VP9UtilitiesCocoa.mm:
(WebCore::VP9TestingOverrides::setVP9HardwareDecoderEnabledOverride):
(WebCore::vp9HardwareDecoderAvailable):
* Source/WebKit/WebProcess/GPU/GPUProcessConnection.cpp:
(WebKit::GPUProcessConnection::didInitialize):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to