1From 3d64bee51528bd55c4ebb146cd96de3126fd8594 Mon Sep 17 00:00:00 2001 2From: Hiroshi Hatake <hatake@clear-code.com> 3Date: Mon, 25 Jun 2018 11:41:19 +0900 4Subject: [PATCH] Mark GLFeature::framebuffer_multisample as unsupported 5 6Signed-off-by: Takuro Ashie <ashie@clear-code.com> 7 8--- 9 gfx/gl/GLContext.cpp | 10 ++++++++++ 10 1 file changed, 10 insertions(+) 11 12diff --git a/gfx/gl/GLContext.cpp b/gfx/gl/GLContext.cpp 13index 28fbdbac39..92206fac11 100644 14--- a/gfx/gl/GLContext.cpp 15+++ b/gfx/gl/GLContext.cpp 16@@ -705,6 +705,16 @@ bool GLContext::InitImpl() { 17 MarkUnsupported(GLFeature::framebuffer_multisample); 18 } 19 20+#ifdef MOZ_WAYLAND 21+ if (Vendor() == GLVendor::Imagination && 22+ Renderer() == GLRenderer::SGX544MP) { 23+ // PowerVR SGX544MP's EGL does not have valid 24+ // glRenderbufferStorageMultisampleANGLE implementation, which breaks 25+ // WebGL. 26+ MarkUnsupported(GLFeature::framebuffer_multisample); 27+ } 28+#endif 29+ 30 #ifdef XP_MACOSX 31 // The Mac Nvidia driver, for versions up to and including 10.8, 32 // don't seem to properly support this. See 814839 33