Wait for the sync token in D3D11VideoDecoder.
When a VideoFrame is destroyed, this CL causes D3D11VideoDecoder to wait for the sync token to clear before re-using the associated PictureBuffer. This ensures that any use of the underlying texture is also done. Bug: 832732 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Icdac2bfd95e8b98ff47a1633426bb50205f05820 Reviewed-on: https://chromium-review.googlesource.com/1012507 Commit-Queue: Frank Liberato <liberato@chromium.org> Reviewed-by:Dan Sanders <sandersd@chromium.org> Cr-Commit-Position: refs/heads/master@{#551860}
Showing
Please register or sign in to comment