pipes: improve render performance