No issue - Clarify Azure Back-end info.

Only mention OpenGL accelerated canvas flag when it's relevant, and rename
the entry to be more descriptive, to prevent confusion for users looking
at Troubleshooting Information.
This commit is contained in:
Moonchild 2025-08-22 01:28:16 +02:00 committed by roytam1
commit c7e103b06e

View file

@ -272,7 +272,9 @@ public:
virtual void GetAzureBackendInfo(mozilla::widget::InfoObject &aObj) {
aObj.DefineProperty("AzureCanvasBackend", GetBackendName(mPreferredCanvasBackend));
aObj.DefineProperty("AzureCanvasAccelerated", AllowOpenGLCanvas());
if (mPreferredCanvasBackend == mozilla::gfx::BackendType::SKIA) {
aObj.DefineProperty("AzureCanvasSkiaOpenGL", AllowOpenGLCanvas());
}
aObj.DefineProperty("AzureFallbackCanvasBackend", GetBackendName(mFallbackCanvasBackend));
aObj.DefineProperty("AzureContentBackend", GetBackendName(mContentBackend));
}