-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework image cache #1186
Open
wutschel
wants to merge
7
commits into
xbmc:master
Choose a base branch
from
wutschel:rework_img_cache2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Rework image cache #1186
Commits on Nov 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9e383bf - Browse repository at this point
Copy the full SHA 9e383bfView commit details -
- Only create color space, if needed, to avoid excessive memory consumption when keeping the image size. - Remove the image parameter as all of this is given by self. - Remove the quality parameter as callers used same value. - Let image scaling support different content scale modes
Configuration menu - View commit details
-
Copy full SHA for e23f651 - Browse repository at this point
Copy the full SHA e23f651View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3991c59 - Browse repository at this point
Copy the full SHA 3991c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2afed0 - Browse repository at this point
Copy the full SHA d2afed0View commit details -
Reduce memory usage of image cache
Not setting bytes-per-row somehow does not cause to retain CG context. This reduces the memory usage of the image cache to 50% when having shouldDecompressImages enabled.
Configuration menu - View commit details
-
Copy full SHA for e3bbaa1 - Browse repository at this point
Copy the full SHA e3bbaa1View commit details -
Deactivate image decompression in cache memory
This reduces the processing load when loading images from flash to RAM. But it also ends up in retaining the flash data from which the UIImages are created. This increases the image memory cache size by about 25%.
Configuration menu - View commit details
-
Copy full SHA for c4ce633 - Browse repository at this point
Copy the full SHA c4ce633View commit details -
Configuration menu - View commit details
-
Copy full SHA for e595f00 - Browse repository at this point
Copy the full SHA e595f00View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.