commit | 579b12b9050e905e8b64a775f6913efb3238043f | [log] [tgz] |
---|---|---|
author | liberato@chromium.org <liberato@chromium.org> | Sat May 25 01:10:11 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat May 25 01:10:11 2019 |
tree | 019479d7b3fc15e2f266b892aa1fd3bf17a3e59a | |
parent | 12cb77dbae862ca2c79493cf3c8ce4b9f444d6c5 [diff] |
Switch VideoFrameFactoryImpl to use a SharedImageVideoProvider This CL creates DirectSharedImageVideoProvider, which does a hop to the gpu main thread for every SharedImageVideo request. This is almost identical to what was happening before, just refactored. GpuVideoFrameFactory is now an implementation detail of the provider rather than VideoFrameFactoryImpl. A follow-up CL will provide an implementation of SharedImageVideoProvider that maintains a pool of SharedImageVideo objects to provide without hopping to the gpu main thread on the critical path. It will still post a "MaybeRenderEarly" to the main thread, but that doesn't need to hold up delivery of the VideoFrame to the renderer. Change-Id: Ia318862daf610327e716515f020b3eeb934dd012 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1628154 Commit-Queue: Frank Liberato <liberato@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#663361}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .