Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Issue 2894903002: VR: Fix invalidation race viewing native pages. (Closed)

Created:
3 years, 7 months ago by mthiesse
Modified:
3 years, 7 months ago
Reviewers:
ymalik
CC:
chromium-reviews, feature-vr-reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

VR: Fix invalidation race viewing native pages. If the NativePage finishes drawing before we connect a surface for it to draw into, then it won't redraw into the surface unless we invalidate it. We were only partially handling this previously, and weren't invalidating as much as we needed to. This also fixes a possible race that could trigger unnecessary recreation of our content surface when switching between NativePages and WebContents. BUG=717244 Review-Url: https://codereview.chromium.org/2894903002 Cr-Commit-Position: refs/heads/master@{#473265} Committed: https://chromium.googlesource.com/chromium/src/+/e26a4859564edfca90ad1919a83a6e43aed2a9eb

Patch Set 1 #

Patch Set 2 : remove logs #

Total comments: 2

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
mthiesse
PTAL
3 years, 7 months ago (2017-05-19 15:10:09 UTC) #2
ymalik
nit: regarding descriptions, I generally find it helpful when instead of just saying what this ...
3 years, 7 months ago (2017-05-19 17:23:34 UTC) #3
mthiesse
Updated description. https://codereview.chromium.org/2894903002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2894903002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode428 chrome/browser/android/vr_shell/vr_shell.cc:428: if (!taken_surface_) On 2017/05/19 17:23:34, ymalik wrote: ...
3 years, 7 months ago (2017-05-19 17:59:09 UTC) #5
ymalik
lgtm
3 years, 7 months ago (2017-05-19 18:06:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2894903002/40001
3 years, 7 months ago (2017-05-19 18:08:16 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 19:01:18 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e26a4859564edfca90ad1919a83a...

Powered by Google App Engine
This is Rietveld 408576698