Add resource name to log outputs to distinguish local renderer from remote renderer. This Cl also adds some thread checks and factors out a small helper function makeBlack(). Review URL: https://codereview.webrtc.org/1420203003 Cr-Commit-Position: refs/heads/master@{#10596}