summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-04-09 22:57:27 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-04-09 23:15:48 +0100
commit8dbc0914f6a09bea395f801f948b7a993d379493 (patch)
tree41844d8f96eb57115272902b907e3d0a97b9db5b /utils
parent32f1418c5ad1becd829b65628f9f6ec32b6dda79 (diff)
downloadrockbox-8dbc0914f6a09bea395f801f948b7a993d379493.tar.gz
rockbox-8dbc0914f6a09bea395f801f948b7a993d379493.zip
imageviewer: limit progress bar LCD update rate
The progress callback doesn't rate limit LCD updates, which causes excessive slowdowns (up to 150x!) on some targets. Limiting updates to 20fps solves the problem and should boost load speed across the board, particularly for large images and animated GIFs that may run the progress callback thousands of times. Change-Id: Ia48924d4dcb24c1111509329581809be494d0165
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions