[webkit-changes] [WebKit/WebKit] c73ac9: LibWebRTCCodecs's createRemoteEncoder is going thr...

Jean-Yves Avenard noreply at github.com
Fri Mar 1 04:36:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c73ac9c2ac4156120af075caee3703855f239517
      https://github.com/WebKit/WebKit/commit/c73ac9c2ac4156120af075caee3703855f239517
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp
    M Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.h

  Log Message:
  -----------
  LibWebRTCCodecs's createRemoteEncoder is going through the main thread.
https://bugs.webkit.org/show_bug.cgi?id=270280
rdar://123806984

Reviewed by Youenn Fablet.

Make use of new sendWithAsyncReplyOnDispatcher to avoid the now unnecessary task re-dispatch.

No change in observable behaviour.

* Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp:
(WebKit::createRemoteDecoder):
(WebKit::LibWebRTCCodecs::createDecoderInternal):
(WebKit::createRemoteEncoder):
(WebKit::LibWebRTCCodecs::createEncoderInternal):
(WebKit::LibWebRTCCodecs::flushEncoder):
* Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.h:
(WebKit::LibWebRTCCodecs::workQueue const):

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