| 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 0158e74ed8f92bb9df925b574937473f8473e064..16cc5e554d53c2f1f0ac3bfe6cead66dfb69440e 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| @@ -139,6 +139,12 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
|
| // Returns the maximum resolution for H264 video.
|
| static std::pair<int, int> GetMaxH264Resolution();
|
|
|
| + // Certain AMD GPU drivers like R600, R700, Evergreen and Cayman and
|
| + // some second generation Intel GPU drivers crash if we create a video
|
| + // device with a resolution higher then 1920 x 1088. This function
|
| + // checks if the GPU is in this list and if yes returns true.
|
| + static bool IsLegacyGPU(ID3D11Device* device);
|
| +
|
| // Creates and initializes an instance of the D3D device and the
|
| // corresponding device manager. The device manager instance is eventually
|
| // passed to the IMFTransform interface implemented by the decoder.
|
|
|