Bug 1668385 - Add a failure id to GPUProcess::FallbackToSoftware. r=aosmond

Differential Revision: https://phabricator.services.mozilla.com/D91992
This commit is contained in:
Jeff Muizelaar 2020-09-30 23:05:38 +00:00
Родитель 6c274b34d0
Коммит 6edb2ee215
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -537,11 +537,12 @@ void GPUProcessManager::OnRemoteProcessDeviceReset(GPUProcessHost* aHost) {
void GPUProcessManager::FallbackToSoftware(const char* aMessage) {
gfxConfig::SetFailed(Feature::HW_COMPOSITING, FeatureStatus::Blocked,
aMessage);
aMessage, "GPU_PROCESS_FALLBACK_TO_SOFTWARE"_ns);
#ifdef XP_WIN
gfxConfig::SetFailed(Feature::D3D11_COMPOSITING, FeatureStatus::Blocked,
aMessage);
gfxConfig::SetFailed(Feature::DIRECT2D, FeatureStatus::Blocked, aMessage);
aMessage, "GPU_PROCESS_FALLBACK_TO_SOFTWARE"_ns);
gfxConfig::SetFailed(Feature::DIRECT2D, FeatureStatus::Blocked, aMessage,
"GPU_PROCESS_FALLBACK_TO_SOFTWARE"_ns);
#endif
}