Description[vr] Ensure that textured elements never draw with a dirty texture
This should never be possible, so I've made UpdateTexture a part
of OnBeginFrame. It will usually early out (because the texture won't
be dirty), but will ensure that we never again draw with a dirty
texture. I've also added a DCHECK to ensure that we don't change this.
NB: this has no impact on the the update throttling done by the URL
bar since it has its own overridden implementation of OnBeginFrame.
BUG=None
Review-Url: https://codereview.chromium.org/2969023003
Cr-Commit-Position: refs/heads/master@{#484142}
Committed: https://chromium.googlesource.com/chromium/src/+/286a6b8e56a7bd0b7ac58d8b9ba933e0c3dc2405
Patch Set 1 #
Total comments: 2
Patch Set 2 : . #
Messages
Total messages: 11 (4 generated)
|