Merge "sf: avoid lock on main thread during luma calc" into qt-dev