WebVR unstuffing: delay "rendered" notification

In order to prevent queue stuffing from overeager frame creation, ensure
that we never have more than one frame being rendered while the next
frame is being prepared in Javascript. The rendering time should include
GVR overhead to avoid overcommitting rendering resources, so this change
moves the "rendering done, ok to submit the next frame" notification
past GVR submit.

BUG=723962

Review-Url: https://codereview.chromium.org/2897583002
Cr-Commit-Position: refs/heads/master@{#474147}
1 file changed