зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1668385 - Add a failure id to GPUProcess::FallbackToSoftware. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D91992
This commit is contained in:
Родитель
6c274b34d0
Коммит
6edb2ee215
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче