capture_switches.h 595 B

12345678910111213141516171819
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef MEDIA_CAPTURE_CAPTURE_SWITCHES_H_
  5. #define MEDIA_CAPTURE_CAPTURE_SWITCHES_H_
  6. #include "media/capture/capture_export.h"
  7. namespace switches {
  8. CAPTURE_EXPORT extern const char kVideoCaptureUseGpuMemoryBuffer[];
  9. CAPTURE_EXPORT extern const char kDisableVideoCaptureUseGpuMemoryBuffer[];
  10. CAPTURE_EXPORT bool IsVideoCaptureUseGpuMemoryBufferEnabled();
  11. } // namespace switches
  12. #endif // MEDIA_CAPTURE_CAPTURE_SWITCHES_H_