| 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 d3aeda62c9b06f837b0ec01dd0b48e00e25c571a..5f37ddf9844b3fdecf6ca4f2bc50c448527fe5ee 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| @@ -222,6 +222,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);
|
| @@ -373,6 +375,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_;
|
|
|