Merge "Only generate paint/mask bitmap when starting animations" into sc-dev