Archive:Background Image Loader: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Karellen moved page Background Image Loader to Archive:Background Image Loader without leaving a redirect: Moved to Image Control)
mNo edit summary
 
Line 7: Line 7:
== Preloading ==
== Preloading ==
Used to automatically load the next items (or rows/columns in the case of a panel) while scrolling. Currently limited to 2.
Used to automatically load the next items (or rows/columns in the case of a panel) while scrolling. Currently limited to 2.
[[Category:Skin development]]

Latest revision as of 07:58, 29 August 2020

Normal texture loading

The only textures loaded by Kodi are the ones currently visible. Nothing displays on the screen until all the images have been loaded in memory, this can result in "jerky" scrolling through panel containers. As you scroll down, Kodi will delay the scrolling animation until all of the images in the next row are loaded.

Background loading

Images are loaded one at a time in a background worker thread and are shown as soon as xbmc processes them. Has the benefit that images can be loaded into memory before they're visible, resulting in smoother scrolling and transitions.

Preloading

Used to automatically load the next items (or rows/columns in the case of a panel) while scrolling. Currently limited to 2.