@@ -592,7 +592,6 @@ TEST_F(EmbedderTest, VMAndIsolateSnapshotSizesAreRedundantInAOTMode) {
592592// /
593593TEST_F (EmbedderTest,
594594 CompositorMustBeAbleToRenderKnownSceneWithSoftwareCompositor) {
595- FML_LOG (ERROR) << " ====bdero==== 0 BEGIN" ;
596595 auto & context = GetEmbedderContext (EmbedderTestContextType::kSoftwareContext );
597596
598597 EmbedderConfigBuilder builder (context);
@@ -607,12 +606,8 @@ TEST_F(EmbedderTest,
607606
608607 auto scene_image = context.GetNextSceneImage ();
609608
610- FML_LOG (ERROR) << " ====bdero==== 1 GetNextSceneImage" ;
611-
612609 context.GetCompositor ().SetNextPresentCallback (
613610 [&](const FlutterLayer** layers, size_t layers_count) {
614- FML_LOG (ERROR) << " ====bdero==== Present callback BEGIN" ;
615-
616611 ASSERT_EQ (layers_count, 5u );
617612
618613 // Layer Root
@@ -698,17 +693,12 @@ TEST_F(EmbedderTest,
698693 ASSERT_EQ (*layers[4 ], layer);
699694 }
700695
701- FML_LOG (ERROR) << " ====bdero==== Present callback latch" ;
702696 latch.CountDown ();
703-
704- FML_LOG (ERROR) << " ====bdero==== Present callback END" ;
705697 });
706698
707699 context.GetCompositor ().SetPlatformViewRendererCallback (
708700 [&](const FlutterLayer& layer, GrDirectContext*
709701 /* don't use because software compositor */ ) -> sk_sp<SkImage> {
710- FML_LOG (ERROR) << " ====bdero==== Renderer callback BEGIN" ;
711-
712702 auto surface = CreateRenderSurface (
713703 layer, nullptr /* null because software compositor */ );
714704 auto canvas = surface->getCanvas ();
@@ -741,7 +731,6 @@ TEST_F(EmbedderTest,
741731 << " Test was asked to composite an unknown platform view." ;
742732 }
743733
744- FML_LOG (ERROR) << " ====bdero==== Renderer callback END" ;
745734 return surface->makeImageSnapshot ();
746735 });
747736
@@ -750,12 +739,8 @@ TEST_F(EmbedderTest,
750739 CREATE_NATIVE_ENTRY (
751740 [&latch](Dart_NativeArguments args) { latch.CountDown (); }));
752741
753- FML_LOG (ERROR) << " ====bdero==== 2 Before LaunchEngine" ;
754-
755742 auto engine = builder.LaunchEngine ();
756743
757- FML_LOG (ERROR) << " ====bdero==== 3 After LaunchEngine" ;
758-
759744 // Send a window metrics events so frames may be scheduled.
760745 FlutterWindowMetricsEvent event = {};
761746 event.struct_size = sizeof (event);
@@ -770,16 +755,12 @@ TEST_F(EmbedderTest,
770755 kSuccess );
771756 ASSERT_TRUE (engine.is_valid ());
772757
773- FML_LOG (ERROR) << " ====bdero==== 4 Before latch" ;
774758 latch.Wait ();
775- FML_LOG (ERROR) << " ====bdero==== 5 After latch" ;
776759
777760 ASSERT_TRUE (ImageMatchesFixture (" compositor_software.png" , scene_image));
778761
779762 // There should no present calls on the root surface.
780763 ASSERT_EQ (context.GetSurfacePresentCount (), 0u );
781-
782- FML_LOG (ERROR) << " ====bdero==== 6 END" ;
783764}
784765
785766// ------------------------------------------------------------------------------
0 commit comments