• Zijie He's avatar
    Use EvaluateCapability() to execute D3D check · 12d3490b
    Zijie He authored
    This change adds EvaluateD3D() function to evaluate the D3D capability of the
    host, which is used by HostAttributes. If the binary crashes, or DXGI components
    cannot be initialized, No-DirectX-Capturer will be added to the host attributes.
    So client can decide to let the host opt-out the experiment.
    
    Bug: 741926
    Change-Id: I48f842790b6e016efa541ab767b12d4d0e67edb6
    Reviewed-on: https://chromium-review.googlesource.com/592996
    Commit-Queue: Zijie He <zijiehe@chromium.org>
    Reviewed-by: default avatarJoe Downing <joedow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#491215}
    12d3490b
evaluate_d3d.cc 2.52 KB