We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb34f2 commit ac9f68bCopy full SHA for ac9f68b
engine/src/flutter/shell/platform/android/flutter_main.cc
@@ -310,6 +310,11 @@ AndroidRenderingAPI FlutterMain::SelectedRenderingAPI(
310
return kVulkanUnsupportedFallback;
311
}
312
313
+ if (__system_property_find("ro.vendor.mediatek.platform") != nullptr) {
314
+ // Probably MediaTek. Avoid Vulkan.
315
+ return kVulkanUnsupportedFallback;
316
+ }
317
+
318
__system_property_get("ro.product.board", product_model);
319
if (IsKnownBadSOC(product_model)) {
320
// Avoid using Vulkan on known bad SoCs.
0 commit comments