This CL makes a thorough reset of all variables in release() and clears the last rendered image so that the SurfaceViewRenderer object can be reinitialized with init() and work properly. This CL also removes an implicit assumption that init() is called before surfaceCreated() - now they can be called in any order. BUG=webrtc:4742 R=hbos@webrtc.org Review URL: https://codereview.webrtc.org/1389203003 . Cr-Commit-Position: refs/heads/master@{#10217}