[webkit-changes] [WebKit/WebKit] 2d161e: RemoteImageDecoderAVFProxy does not attribute the ...

Jean-Yves Avenard noreply at github.com
Tue Apr 16 22:37:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2d161e7f91ddd559e8f51193cacb7f7198f3a502
      https://github.com/WebKit/WebKit/commit/2d161e7f91ddd559e8f51193cacb7f7198f3a502
  Author: Jean-Yves Avenard <jya at apple.com>
  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 at main to assign ownership accounting.
276270 at 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


More information about the webkit-changes mailing list