mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
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
This commit is contained in:
parent
34054eaa42
commit
20194cb606
1 changed files with 3 additions and 0 deletions
|
|
@ -599,7 +599,10 @@ static void gwps_enter_wps(bool theme_enabled)
|
||||||
skin_backdrop_show(gwps->data->backdrop_id);
|
skin_backdrop_show(gwps->data->backdrop_id);
|
||||||
#endif
|
#endif
|
||||||
display->clear_display();
|
display->clear_display();
|
||||||
|
if (skin_has_sbs(gwps))
|
||||||
|
skin_defer_rendering(true);
|
||||||
skin_update(WPS, i, SKIN_REFRESH_ALL);
|
skin_update(WPS, i, SKIN_REFRESH_ALL);
|
||||||
|
skin_defer_rendering(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
#ifdef HAVE_TOUCHSCREEN
|
#ifdef HAVE_TOUCHSCREEN
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue