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

Unified Diff: content/common/gpu/media/dxva_video_decode_accelerator_win.h

Issue 1796633002: Revert of content gpu refactor: get rid of gpu related content switches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: content/common/gpu/media/dxva_video_decode_accelerator_win.h
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator_win.h b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
index aa606383efc322a1c8bf9f5b5e33ac289ae02bc8..7624202fa9115a394b5bd7643525dd6be02eb896 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator_win.h
+++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
@@ -60,10 +60,9 @@
};
// Does not take ownership of |client| which must outlive |*this|.
- DXVAVideoDecodeAccelerator(
+ explicit DXVAVideoDecodeAccelerator(
const base::Callback<bool(void)>& make_context_current,
- gfx::GLContext* gl_context,
- bool enable_accelerated_vpx_decode);
+ gfx::GLContext* gl_context);
~DXVAVideoDecodeAccelerator() override;
// media::VideoDecodeAccelerator implementation.
@@ -394,9 +393,6 @@
// Set to true if we are sharing ANGLE's device.
bool using_angle_device_;
- // Enables experimental hardware acceleration for VP8/VP9 video decoding.
- const bool enable_accelerated_vpx_decode_;
-
// WeakPtrFactory for posting tasks back to |this|.
base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_;

Powered by Google App Engine
This is Rietveld 408576698