Archive:Background Image Loader: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Normal texture loading ==
== Normal texture loading ==
The only textures loaded by XBMC 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, XBMC will delay the scrolling animation until all of the images in the next row are loaded.
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 ==
== Background loading ==
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.