Implement module in_focus process cache #18195
Open
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.
Updated:
The standard pixelpipe cache offers input data for a module to be fully processed if all parameters including blending stuff match.
This commit implements a single line cache per pixelpipe only effective for a module being in focus and doing some blending.
Data are possibly read from this cache instead of the possibly costly
module->process/_cl
.Reading from this cache is reported in logs with -d pipe
Possibly write to that cache if data were not valid before.
While being here some cosmetic code simplifications.
Fixes #18180