Refactored compositor pipeline