Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit abb4c95

Browse files
Remove assorted bad logs. (#53139)
Fixes flutter/flutter#149376 Fixes flutter/flutter#147081 Lets not log Skia on macOS or anything about transfer queues.
1 parent 2158748 commit abb4c95

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

impeller/renderer/backend/vulkan/context_vk.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ void ContextVK::Setup(Settings settings) {
287287
return;
288288
}
289289
if (!transfer_queue.has_value()) {
290-
FML_LOG(INFO) << "Dedicated transfer queue not avialable.";
291290
transfer_queue = graphics_queue.value();
292291
}
293292
if (!compute_queue.has_value()) {

shell/platform/darwin/graphics/FlutterDarwinContextMetalSkia.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ - (instancetype)initWithMTLDevice:(id<MTLDevice>)device
6565
return nil;
6666
}
6767

68+
// Only log this message on iOS where the default is Impeller. On macOS
69+
// desktop, Skia is still the default and this log is unecessary.
70+
#if defined(FML_OS_IOS) || defined(FML_OS_IOS_SIM)
6871
FML_LOG(IMPORTANT) << "Using the Skia rendering backend (Metal).";
72+
#endif // defined(FML_OS_IOS) || defined(FML_OS_IOS_SIM)
6973

7074
_resourceContext->setResourceCacheLimit(0u);
7175
}

0 commit comments

Comments
 (0)