Set OnFramePresentedCB from main thread
Currently, we jump to the compositor thread in order to set the new frame presented callback on the VideoFrameCompositor. This CL is a small change that allows us to set that callback from the main thread. This should help minimize the amount of frames we miss in video.rAF calls. Bug: 1012063 Change-Id: I521eb0bf0a6e71f59552c60276006e1884c1f989 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040436 Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Auto-Submit: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#738770}
Showing
Please register or sign in to comment