Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2d161e7f91ddd559e8f51193cacb7f7198f3a502
      
https://github.com/WebKit/WebKit/commit/2d161e7f91ddd559e8f51193cacb7f7198f3a502
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm
    M Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.h
    M Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm

  Log Message:
  -----------
  RemoteImageDecoderAVFProxy does not attribute the video decoder reference 
frames to Web process
https://bugs.webkit.org/show_bug.cgi?id=272720
rdar://115887772

Reviewed by Eric Carlson.

Use method added in 276270@main to assign ownership accounting.
276270@main only assigned ownership on video frames decoded with a 
`VideoDecoder`
(VPx and AV1), we extend the functionality to assign ownership for all
type, including those decoded by a `VTDecompressionSession`

* Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm:
(WebCore::ImageDecoderAVFObjC::ImageDecoderAVFObjC):
(WebCore::ImageDecoderAVFObjC::sampleIsComplete const):
* Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.h:
* Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm:
(WebCore::WebCoreDecompressionSession::assignResourceOwner):
(WebCore::WebCoreDecompressionSession::maybeDecodeNextSample):
(WebCore::WebCoreDecompressionSession::decodeSampleSync):
(WebCore::WebCoreDecompressionSession::initializeVideoDecoder):

Canonical link: https://commits.webkit.org/277594@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