| 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 cbdc58ecfdd7ddfcbe9751b94ec3f00eda83ffee..627c0dbe87122275cf3d1a740fe3d2b069b4ed35 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| @@ -220,6 +220,8 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
|
| // is the sample containing the frame to be copied.
|
| void CopyTexture(ID3D11Texture2D* src_texture,
|
| ID3D11Texture2D* dest_texture,
|
| + base::win::ScopedComPtr<IDXGIKeyedMutex> dest_keyed_mutex,
|
| + uint64_t keyed_mutex_value,
|
| IMFSample* video_frame,
|
| int picture_buffer_id,
|
| int input_buffer_id);
|
| @@ -360,6 +362,10 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
|
| // H/W decoding.
|
| bool use_dx11_;
|
|
|
| + // True if we should use DXGI keyed mutexes to synchronize between the two
|
| + // contexts.
|
| + bool use_keyed_mutex_;
|
| +
|
| // Set to true if the DX11 video format converter input media types need to
|
| // be initialized. Defaults to true.
|
| bool dx11_video_format_converter_media_type_needs_init_;
|
|
|