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

Issue 2430543002: Draw WebVR security overlay with a non-reprojected viewport (Closed)

Created:
4 years, 2 months ago by bajones
Modified:
4 years, 2 months ago
Reviewers:
klausw, bshe, cjgrant
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Draw WebVR security overlay with a non-reprojected viewport This prevents the overlay from jittering regardless of the performance of the WebVR content. BUG=389343 Committed: https://crrev.com/58290e535d3de7a235e13b6f023b1c8bf06a223a Cr-Commit-Position: refs/heads/master@{#426912}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed Klaus' feedback #

Total comments: 5

Patch Set 3 : Rebase, Overlay->Headlocked #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -5 lines) Patch
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 6 chunks +41 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
klausw (use chromium instead)
Looks good in general, minor suggestions below. https://codereview.chromium.org/2430543002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2430543002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode447 chrome/browser/android/vr_shell/vr_shell.cc:447: buffer_viewport_list_->SetBufferViewport(buffer_viewport_list_->GetSize(), Using ...
4 years, 2 months ago (2016-10-17 23:03:18 UTC) #2
bajones
Thanks for the review, Klaus! Updated to take your feedback into account and also added ...
4 years, 2 months ago (2016-10-21 17:34:45 UTC) #4
klausw
LGTM https://codereview.chromium.org/2430543002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2430543002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode788 chrome/browser/android/vr_shell/vr_shell.cc:788: dom_contents_loaded_ = true; I'm a bit fuzzy about ...
4 years, 2 months ago (2016-10-21 17:50:47 UTC) #5
bshe
+cjgrant in case this conflicts with his refactor
4 years, 2 months ago (2016-10-21 18:18:53 UTC) #7
cjgrant
On 2016/10/21 18:18:53, bshe wrote: > +cjgrant in case this conflicts with his refactor It ...
4 years, 2 months ago (2016-10-21 18:24:31 UTC) #8
cjgrant
Also, I'm looking at the GL calls that occur in the 2D and WebVR cases, ...
4 years, 2 months ago (2016-10-21 18:25:38 UTC) #9
cjgrant
https://codereview.chromium.org/2430543002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2430543002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode788 chrome/browser/android/vr_shell/vr_shell.cc:788: dom_contents_loaded_ = true; On 2016/10/21 17:50:47, klausw wrote: > ...
4 years, 2 months ago (2016-10-21 18:29:03 UTC) #10
cjgrant
From the perspective of the HTML UI, I think it'd be best to land this ...
4 years, 2 months ago (2016-10-21 18:31:11 UTC) #11
klausw
cjgrant, refactoring other UI code to use this buffer doesn't sound appropriate. The key reason ...
4 years, 2 months ago (2016-10-21 18:32:42 UTC) #12
cjgrant
On 2016/10/21 18:32:42, klausw wrote: > cjgrant, refactoring other UI code to use this buffer ...
4 years, 2 months ago (2016-10-21 18:40:27 UTC) #13
klausw
On 2016/10/21 18:40:27, cjgrant wrote: > On 2016/10/21 18:32:42, klausw wrote: > > cjgrant, refactoring ...
4 years, 2 months ago (2016-10-21 18:51:26 UTC) #14
cjgrant
Cool. Let me know how you want to proceed - ie, this change landing first ...
4 years, 2 months ago (2016-10-21 18:53:37 UTC) #15
bshe
lgtm https://codereview.chromium.org/2430543002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2430543002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode265 chrome/browser/android/vr_shell/vr_shell.cc:265: overlay_left_viewport_.reset( nit: if you rename the above constexpr ...
4 years, 2 months ago (2016-10-21 19:00:04 UTC) #16
bajones
On 2016/10/21 18:53:37, cjgrant wrote: > Cool. Let me know how you want to proceed ...
4 years, 2 months ago (2016-10-21 20:19:06 UTC) #17
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/2430543002/20001
4 years, 2 months ago (2016-10-21 20:20:00 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/291628) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 2 months ago (2016-10-21 20:23:36 UTC) #21
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/2430543002/40001
4 years, 2 months ago (2016-10-21 20:52:54 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-21 22:16:05 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 22:26:24 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/58290e535d3de7a235e13b6f023b1c8bf06a223a
Cr-Commit-Position: refs/heads/master@{#426912}

Powered by Google App Engine
This is Rietveld 408576698