The walls must be sealed so that the paint will have a uniform sheen. Typically for new construction it takes three coats of paint to get enough paint on the walls to protect the texture and drywall. And it is less expensive to install two coats of primer and then one coat of paint. So, in this house we will spray two coats of primer before we install the doors and trim. There is less masking that way which saves a lot of time.