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

Issue 2844313002: Add VR gradient and grid background to non-WebVR scene. (Closed)

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

Description

Add VR gradient and grid background to non-WebVR scene. - Add the floor, ceiling and grid quads. - Add the content backplane to avoid reticle jumping around the edges. - Configure the scene reticle distance limit based on content. BUG=715573 TEST=Verified background on regular page; no background in WebVR. Review-Url: https://codereview.chromium.org/2844313002 Cr-Commit-Position: refs/heads/master@{#467814} Committed: https://chromium.googlesource.com/chromium/src/+/20d7dfb2f40463c2921495a48a3f571094978d2b

Patch Set 1 #

Total comments: 9

Patch Set 2 : Break out methods for adding categories of elements. #

Patch Set 3 : Remove element name strings (no longer useful). #

Patch Set 4 : Rebase onto amp@'s magic number CL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -20 lines) Patch
M chrome/browser/android/vr_shell/ui_elements/ui_element.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.h View 1 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 2 3 6 chunks +104 lines, -16 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
cjgrant
Folks, here's the background for 2D mode.
3 years, 7 months ago (2017-04-27 15:08:37 UTC) #2
cjgrant
https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode84 chrome/browser/android/vr_shell/ui_scene_manager.cc:84: // Place an invisible but hittable plane behind the ...
3 years, 7 months ago (2017-04-27 15:11:14 UTC) #3
mthiesse
https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode46 chrome/browser/android/vr_shell/ui_scene_manager.cc:46: element->name = "Permanent security warning"; Hmm. Is there an ...
3 years, 7 months ago (2017-04-27 15:47:12 UTC) #4
amp
https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode23 chrome/browser/android/vr_shell/ui_scene_manager.cc:23: static constexpr float kBackplaneSize = 1000.0; As long as ...
3 years, 7 months ago (2017-04-27 17:28:53 UTC) #5
cjgrant
https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode23 chrome/browser/android/vr_shell/ui_scene_manager.cc:23: static constexpr float kBackplaneSize = 1000.0; On 2017/04/27 17:28:53, ...
3 years, 7 months ago (2017-04-27 18:50:20 UTC) #6
amp
https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode23 chrome/browser/android/vr_shell/ui_scene_manager.cc:23: static constexpr float kBackplaneSize = 1000.0; On 2017/04/27 18:50:20, ...
3 years, 7 months ago (2017-04-27 18:54:27 UTC) #7
tiborg
On 2017/04/27 18:54:27, amp wrote: > https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc > File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): > > https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode23 > ...
3 years, 7 months ago (2017-04-27 19:20:45 UTC) #8
cjgrant
GTG. PTAL, SVP. TY. https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2844313002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode46 chrome/browser/android/vr_shell/ui_scene_manager.cc:46: element->name = "Permanent security warning"; ...
3 years, 7 months ago (2017-04-27 21:28:33 UTC) #9
mthiesse
Looks lgtm to moi
3 years, 7 months ago (2017-04-27 21:36:55 UTC) #10
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/2844313002/60001
3 years, 7 months ago (2017-04-27 21:37:48 UTC) #13
amp
lgtm
3 years, 7 months ago (2017-04-27 21:51:23 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 01:49:06 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/20d7dfb2f40463c2921495a48a3f...

Powered by Google App Engine
This is Rietveld 408576698