#5878: Ensure surfaces are drawn before executing full-screen render commands, and when at the end of the render command list.
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'