• Frank Liberato's avatar
    Wait for the sync token in D3D11VideoDecoder. · 4f46c7df
    Frank Liberato authored
    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: default avatarDan Sanders <sandersd@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#551860}
    4f46c7df
d3d11_video_decoder_impl.h 4.19 KB