microsoft / D3D12TranslationLayer

A library containing utilities for mapping higher-level graphics work to D3D12
MIT License
327 stars 47 forks source link

CommandListManager/ImmediateContext: Limit in-flight Video Decode operations to 16 and wait on CPU when pool is full #79

Closed sivileri closed 1 year ago

sivileri commented 1 year ago

CommandListManager/ImmediateContext: Create CBoundedFencePool to allow for CPU blocking after N in-flight pending commands. Apply 16 limit to Video Decode cmdlists.

Fixes https://github.com/microsoft/D3D11On12/issues/40