From 23d0ad417d3bd261e09924a36382a0c757933315 Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Thu, 6 Aug 2026 18:39:07 -0400 Subject: [PATCH] [hw_composer] Removal of visible composite --- .../hle/service/nvnflinger/hardware_composer.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/core/hle/service/nvnflinger/hardware_composer.cpp b/src/core/hle/service/nvnflinger/hardware_composer.cpp index db83848aac..e491b24a8f 100644 --- a/src/core/hle/service/nvnflinger/hardware_composer.cpp +++ b/src/core/hle/service/nvnflinger/hardware_composer.cpp @@ -57,24 +57,9 @@ u32 HardwareComposer::ComposeLocked(f32* out_speed_scale, Display& display, // Set default speed limit to 100%. *out_speed_scale = 1.0f; - // The composition queued last frame reads guest memory on the GPU thread, so its framebuffers - // may only go back to the guest once it has run. nvdisp.WaitForComposite(); this->ReleaseFramebuffersLocked(display); - // If no layers are available, skip the logic. - bool any_visible = false; - for (auto& layer : display.stack.layers) { - if (layer->visible) { - any_visible = true; - break; - } - } - if (!any_visible) { - *out_speed_scale = 1.0f; - return 1; - } - // Determine the number of vsync periods to wait before composing again. std::optional swap_interval{}; bool has_acquired_buffer{};