Bug 1092260. Block D3D11 layers on AMD hardware that delays by a frame. r=bas

It seems that some AMD drivers delay D3D11 output by a frame.
This shows up in other apps like Chrome:
https://code.google.com/p/chromium/issues/detail?id=402134

--HG--
extra : rebase_source : 6c2137edea70a655c0838d5a5b7d71e04cec74b3
This commit is contained in:
Jeff Muizelaar 2014-11-17 15:54:08 -05:00
parent 419fa97eb6
commit bb0ca8f88d

View File

@ -1013,11 +1013,20 @@ GfxInfo::GetGfxDriverInfo()
nsIGfxInfo::FEATURE_DIRECT2D, nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,
DRIVER_BETWEEN_INCLUSIVE_START, V(14,1,0,0), V(14,2,0,0), "ATI Catalyst 14.6+");
// Disable D2D on some ATI drivers which don't support dxgi keyed mutex correctly (bug 1089183)
// Disable acclerated layers on some ATI drivers because they add a frame of delay to D3D11 apps
// See bug 1092260
APPEND_TO_DRIVER_BLOCKLIST_RANGE( DRIVER_OS_ALL,
(nsAString&) GfxDriverInfo::GetDeviceVendor(VendorATI), GfxDriverInfo::allDevices,
nsIGfxInfo::FEATURE_DIRECT2D, nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,
DRIVER_BETWEEN_INCLUSIVE_START, V(8,653,0,0), V(8,691,0,0), "ATI Catalyst 14.6+");
APPEND_TO_DRIVER_BLOCKLIST_RANGE( DRIVER_OS_ALL,
(nsAString&) GfxDriverInfo::GetDeviceVendor(VendorATI), GfxDriverInfo::allDevices,
nsIGfxInfo::FEATURE_DIRECT3D_11_LAYERS, nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,
DRIVER_BETWEEN_INCLUSIVE_START, V(8,653,0,0), V(8,691,0,0), "ATI Catalyst 14.6+");
APPEND_TO_DRIVER_BLOCKLIST_RANGE( DRIVER_OS_ALL,
(nsAString&) GfxDriverInfo::GetDeviceVendor(VendorATI), GfxDriverInfo::allDevices,
nsIGfxInfo::FEATURE_DIRECT3D_9_LAYERS, nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,
DRIVER_BETWEEN_INCLUSIVE_START, V(8,653,0,0), V(8,691,0,0), "ATI Catalyst 14.6+");
/* Disable D3D9 layers on NVIDIA 6100/6150/6200 series due to glitches
* whilst scrolling. See bugs: 612007, 644787 & 645872.