[webkit-changes] [WebKit/WebKit] 146c1b: RemoteImageDecoderAVFProxy does not attribute the ...
Kimmo Kinnunen
noreply at github.com
Fri Sep 22 11:29:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 146c1b7c9159eb722750086e5c2691d5fa72da00
https://github.com/WebKit/WebKit/commit/146c1b7c9159eb722750086e5c2691d5fa72da00
Author: Kimmo Kinnunen <kkinnunen at 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
More information about the webkit-changes
mailing list