Actions
Feature #1033
openPreload icons
Start date:
10 Sep 2023
Due date:
% Done:
20%
Estimated time:
Severity:
02 - High
Description
do_carousel_drawing() loads images as it needs them. This can bog down moving through the list.
To fix this, readDB() should read the image at the time the db is being created. It should also scale the icons.
To help speed up start time, only the first 50 (or 100 or whatever) should be loaded. The rest will be loaded in the background with a g_idle_add() function.
This will simplify musicfe.c:do_carousel_drawing() by removing the image load section and thus speed up processing.
References:- https://www.baeldung.com/linux/gui
- https://www.cs.nmsu.edu/~joshagam/archive/cs574/3-dri.html
- https://unix.stackexchange.com/a/733390
- https://www.khronos.org/opengl/wiki/Platform_specifics:_Linux
- https://dri.freedesktop.org/wiki/
- https://en.wikipedia.org/wiki/Direct_Rendering_Manager
- https://en.wikipedia.org/wiki/Direct_Rendering_Infrastructure
Actions