[webkit-changes] [WebKit/WebKit] 8ceec4: Remove internals.grabNextMediaStreamTrackFrame

youennf noreply at github.com
Wed May 3 04:33:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8ceec419005a2955682f6fe9c4cd76d73da9ecdf
      https://github.com/WebKit/WebKit/commit/8ceec419005a2955682f6fe9c4cd76d73da9ecdf
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M LayoutTests/fast/mediastream/captureStream/canvas3d.html
    M Source/WebCore/platform/VideoFrame.cpp
    M Source/WebCore/platform/VideoFrame.h
    M Source/WebCore/platform/VideoFrame.mm
    M Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.h
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/Internals.h
    M Source/WebCore/testing/Internals.idl

  Log Message:
  -----------
  Remove internals.grabNextMediaStreamTrackFrame
https://bugs.webkit.org/show_bug.cgi?id=256204
rdar://108289717

Reviewed by Philippe Normand.

VideoFrame::getRGBAImageData is using a converter in WebProcess which is now blocked.
We can remove this code path since we are now supporting requestVideoFrameCallback and VideoFrame.
We update LayoutTests/fast/mediastream/captureStream/canvas3d.html accordingly and remove VideoFrame::getRGBAImageData and related internals code.

* LayoutTests/fast/mediastream/captureStream/canvas3d.html:
* Source/WebCore/platform/VideoFrame.cpp:
(WebCore::VideoFrame::getRGBAImageData const): Deleted.
* Source/WebCore/platform/VideoFrame.h:
* Source/WebCore/platform/VideoFrame.mm:
(WebCore::VideoFrame::getRGBAImageData const): Deleted.
* Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp:
(WebCore::VideoFrameGStreamer::computeRGBAImageData const): Deleted.
* Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::videoFrameAvailable):
(WebCore::Internals::grabNextMediaStreamTrackFrame): Deleted.
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:

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




More information about the webkit-changes mailing list