Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1025)

Unified Diff: media/gpu/ipc/service/gpu_video_decode_accelerator.h

Issue 2682723003: Make disabling accelerated VPX decoding a GPU driver bug workaround. (Closed)
Patch Set: remove flag Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/gpu/ipc/service/gpu_video_decode_accelerator.h
diff --git a/media/gpu/ipc/service/gpu_video_decode_accelerator.h b/media/gpu/ipc/service/gpu_video_decode_accelerator.h
index c194c7567ff5ab068744f203212064338b213b70..6c6d0bff669394dfcb204194f60bed81127ebc0e 100644
--- a/media/gpu/ipc/service/gpu_video_decode_accelerator.h
+++ b/media/gpu/ipc/service/gpu_video_decode_accelerator.h
@@ -26,6 +26,7 @@
#include "ui/gfx/geometry/size.h"
namespace gpu {
+class GpuDriverBugWorkarounds;
struct GpuPreferences;
} // namespace gpu
@@ -49,7 +50,8 @@ class GpuVideoDecodeAccelerator
// This query calls the appropriate platform-specific version. The returned
// capabilities will not contain duplicate supported profile entries.
static gpu::VideoDecodeAcceleratorCapabilities GetCapabilities(
- const gpu::GpuPreferences& gpu_preferences);
+ const gpu::GpuPreferences& gpu_preferences,
+ const gpu::GpuDriverBugWorkarounds& workarounds);
// IPC::Listener implementation.
bool OnMessageReceived(const IPC::Message& message) override;

Powered by Google App Engine
This is Rietveld 408576698