• Leonard Grey's avatar
    [Sheriff] Revert "[Win Camera Capture] Use D3D11 with Media Foundation Video Capture" · 279b611b
    Leonard Grey authored
    This reverts commit f2f4de88.
    
    Reason for revert: Crashing on Win7 bots
    Example: https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8868424013558569488/+/steps/capture_unittests/0/logs/Deterministic_failure:_VideoCaptureDeviceMFWinTestWithDXGI.SimpleInit__status_CRASH_/0
    
    Original change's description:
    > [Win Camera Capture] Use D3D11 with Media Foundation Video Capture
    > 
    > This CL updates the VideoCaptureDeviceFactoryWin/VideoCaptureDeviceMFWin
    > implementations to use D3D11 with the MF device source and capture
    > engine. The VideoCaptureDeviceFactoryWin creates and manages an
    > IMFDXGIDeviceManager and associated D3D11 device instance. It provides
    > the IMFDXGIDeviceManager to the MF device source and also plumbs it to
    > the VideoCaptureDeviceMFWin implementation. The VideoCaptureDeviceMFWin
    > implementation subsequently provides the IMFDXGIDeviceManager to the MF
    > capture engine on initialization.
    > 
    > Providing a MF DXGI device manager to the MF device source and capture
    > engine is required for zero-copy capture (it allows the Windows frame
    > server service and MF capture engine to keep captured video frames in
    > GPU memory and expose MF samples backed by D3D11 textures).
    > 
    > Bug: 1120900
    > Change-Id: Ic5367d03f337daab2220f8d87d1bfe51f6ca8b72
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2370092
    > Reviewed-by: Guido Urdaneta <guidou@chromium.org>
    > Reviewed-by: Markus Handell <handellm@google.com>
    > Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
    > Reviewed-by: Ilya Nikolaevskiy <ilnik@chromium.org>
    > Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org>
    > Commit-Queue: Isuru Pathirana <Isuru.Pathirana@microsoft.com>
    > Cr-Commit-Position: refs/heads/master@{#809472}
    
    TBR=mcasas@chromium.org,stefan@webrtc.org,sunnyps@chromium.org,rafael.cintron@microsoft.com,guidou@chromium.org,chfremer@chromium.org,ilnik@chromium.org,handellm@google.com,Isuru.Pathirana@microsoft.com,handellm@chromium.org
    
    Change-Id: I8d3559eb85d195d76263f905ce3884c879254e7f
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 1120900
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424898Reviewed-by: default avatarLeonard Grey <lgrey@chromium.org>
    Commit-Queue: Leonard Grey <lgrey@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#809522}
    279b611b
BUILD.gn 16.6 KB