gui: wps: render SBS and WPS in one batch
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Thu, 7 May 2026 22:28:56 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 20194cb60654ed5c5b453b6424868ba74ee0d5cb Author: Christian Soffke <[email protected]> Date: Wed May 6 23:55:01 2026 +0200 gui: wps: render SBS and WPS in one batch For themes that display the SBS on the WPS, update display only once, instead of separately. Change-Id: I773207ef2ddbe185eb287505950ba8322624d380 diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 6d8597d495..99a1f6917e 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -599,7 +599,10 @@ static void gwps_enter_wps(bool theme_enabled) skin_backdrop_show(gwps->data->backdrop_id); #endif display->clear_display(); + if (skin_has_sbs(gwps)) + skin_defer_rendering(true); skin_update(WPS, i, SKIN_REFRESH_ALL); + skin_defer_rendering(false); } #ifdef HAVE_TOUCHSCREEN -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs