Description[CRD iOS] Some fixes for rendering
This CL has these fixes:
1. Removed the glViewport call since it doesn't account for the screen DPI in
iOS client and it isn't required by either the Android or the iOS client. See
explanation in comments.
2. Do not reset the viewport if the new screen/desktop size have not changed,
since viewDidLayoutSubviews: may be called while the frame size is not
changed.
3. Fix the issue that the first rendered frame may not be shown on the screen
and explain with comments.
4. Releases the GlDisplayHandlerCore when disconnected.
Review-Url: https://codereview.chromium.org/2874143002
Cr-Commit-Position: refs/heads/master@{#471036}
Committed: https://chromium.googlesource.com/chromium/src/+/8e887d183b8176e14c6800b47fc97ab67fc1957a
Patch Set 1 #Patch Set 2 : Just use presentRenderbuffer to swap buffers #
Messages
Total messages: 10 (5 generated)
|