| 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 7624202fa9115a394b5bd7643525dd6be02eb896..aa606383efc322a1c8bf9f5b5e33ac289ae02bc8 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| @@ -60,9 +60,10 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
|
| };
|
|
|
| // Does not take ownership of |client| which must outlive |*this|.
|
| - explicit DXVAVideoDecodeAccelerator(
|
| + DXVAVideoDecodeAccelerator(
|
| const base::Callback<bool(void)>& make_context_current,
|
| - gfx::GLContext* gl_context);
|
| + gfx::GLContext* gl_context,
|
| + bool enable_accelerated_vpx_decode);
|
| ~DXVAVideoDecodeAccelerator() override;
|
|
|
| // media::VideoDecodeAccelerator implementation.
|
| @@ -393,6 +394,9 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
|
| // 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_;
|
|
|
|
|