From c7e103b06e019832a7aa6ea91cf0d20f14796bc9 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 22 Aug 2025 01:28:16 +0200 Subject: [PATCH] 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. --- gfx/thebes/gfxPlatform.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gfx/thebes/gfxPlatform.h b/gfx/thebes/gfxPlatform.h index 178d261091..d939214ad5 100644 --- a/gfx/thebes/gfxPlatform.h +++ b/gfx/thebes/gfxPlatform.h @@ -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)); }