Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 146c1b7c9159eb722750086e5c2691d5fa72da00
      
https://github.com/WebKit/WebKit/commit/146c1b7c9159eb722750086e5c2691d5fa72da00
  Author: Kimmo Kinnunen <kkinnu...@apple.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/ImageDecoder.cpp
    M Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.h
    M Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm
    M Source/WebKit/GPUProcess/media/RemoteImageDecoderAVFProxy.cpp
    M Source/WebKit/GPUProcess/media/RemoteImageDecoderAVFProxy.h

  Log Message:
  -----------
  RemoteImageDecoderAVFProxy does not attribute the frames to the owner process
https://bugs.webkit.org/show_bug.cgi?id=261877
rdar://115838448

Reviewed by Brent Fulgham.

Attribute the IOSurface-backed CVPixelBuffers to the WebContent process
that instantiated the RemoteImageDecoderAVFProxy.

Note: this captures only subset of the CVPixelBuffers in flight.
Subsequent work is still needed.

* Source/WebCore/platform/graphics/ImageDecoder.cpp:
(WebCore::createInProcessImageDecoderAVFObjC):
(WebCore::platformRegisterFactories):
* Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.h:
* Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm:
(WebCore::ImageDecoderAVFObjC::create):
(WebCore::ImageDecoderAVFObjC::ImageDecoderAVFObjC):
(WebCore::ImageDecoderAVFObjC::storeSampleBuffer):
* Source/WebKit/GPUProcess/media/RemoteImageDecoderAVFProxy.cpp:
(WebKit::RemoteImageDecoderAVFProxy::RemoteImageDecoderAVFProxy):
(WebKit::RemoteImageDecoderAVFProxy::createDecoder):
* Source/WebKit/GPUProcess/media/RemoteImageDecoderAVFProxy.h:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to