The MacBook Pro would need to support Airplay Mirroring. Only recent ones do.
Look under feature specific requirements for airplay mirroring and it will list capable models.
You would need to be running Mountain Lion or later (when it comes).
A software solution with mixed views is Airparrot - Google it and try their demo.