Remove assorted bad logs. (flutter/engine#53139)

Fixes https://github.com/flutter/flutter/issues/149376
Fixes https://github.com/flutter/flutter/issues/147081

Lets not log Skia on macOS or anything about transfer queues.
This commit is contained in:
Jonah Williams
2024-05-30 21:28:19 -07:00
committed by GitHub
parent 97b59fdbc5
commit 8afa79a341
2 changed files with 4 additions and 1 deletions

View File

@@ -287,7 +287,6 @@ void ContextVK::Setup(Settings settings) {
return;
}
if (!transfer_queue.has_value()) {
FML_LOG(INFO) << "Dedicated transfer queue not avialable.";
transfer_queue = graphics_queue.value();
}
if (!compute_queue.has_value()) {

View File

@@ -65,7 +65,11 @@ FLUTTER_ASSERT_ARC
return nil;
}
// Only log this message on iOS where the default is Impeller. On macOS
// desktop, Skia is still the default and this log is unecessary.
#if defined(FML_OS_IOS) || defined(FML_OS_IOS_SIM)
FML_LOG(IMPORTANT) << "Using the Skia rendering backend (Metal).";
#endif // defined(FML_OS_IOS) || defined(FML_OS_IOS_SIM)
_resourceContext->setResourceCacheLimit(0u);
}