Fix ordering of GetFrameInfo requests
This CL adds requests queue to FrameInfoHelperImpl to make sure all requests are ordered to keep VideoFrameFactoryImpl pipeline ordered. Before this change VFFI would cache FrameInfo to avoid thread hops to GPU thread and it was possible that some CreateVideoFrame requests will be completed out-of-order. After this change VFFI doesn't cache FrameInfo and always call FrameInfoHelper. FrameInfoHelper does all necessary caching to avoid unnecessary hops to GPU thread and guarantees that callbacks with FrameInfo will come in order. Change-Id: Iacb63cf3746991c911f1f0d5e3667db3dbd56c68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2304092 Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Reviewed-by:Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#790127}
Showing
This diff is collapsed.
Please register or sign in to comment