-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved handling of dt_dev_pixelpipe_change()
dt_dev_pixelpipe_change() calls the possibly costly dt_dev_pixelpipe_get_dimensions() in all cases in addition to possibly syncing pipe nodes. In dt_dev_process_image_job() we check for situations where we *must* call dt_dev_pixelpipe_change() as we don't have the pipe dimensions available in addition to pipe->changed != DT_DEV_PIPE_UNCHANGED. This leads to a significant performance gain due to less "pixelpipe-runs" just done to get the dimension. In dt_dev_pixelpipe_change() we reduce the amount of syncing if possible as there is another active dt_dev_pixelpipe_change_t flag that includes work to be done. Locking history is also done only if required as nodes/parameters have been changed. Some log improvements reducing misleading noise.
- Loading branch information
1 parent
a6b01f7
commit 4cac472
Showing
3 changed files
with
45 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters