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

Issue 2907203002: VR: Soften the floor grid (Closed)

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

Description

VR: Soften the floor grid - The grid is now drawn in the fragment shader instead of calling DrawLines. - A single quad is used for the floor, mixing the background and the grid itself in a single shader. - The geometry simplifies from a set of lines to a single quad. - The precision for gradient shaders was set to low to reduce stress in the GPU. BUG=728146 # Presubmit doesn't like float casts in the shader code, which it thinks is c++ when it isn't. NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2907203002 Cr-Commit-Position: refs/heads/master@{#475935} Committed: https://chromium.googlesource.com/chromium/src/+/5d5052f3e33d06bf1f6710a8e1a94fd972e9c83e

Patch Set 1 #

Patch Set 2 : single quad for the floor #

Total comments: 6

Patch Set 3 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -91 lines) Patch
M chrome/browser/android/vr_shell/ui_elements/ui_element.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/ui_element_debug_id.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 4 chunks +3 lines, -19 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.h View 1 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.cc View 1 2 3 chunks +47 lines, -58 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
acondor_
PTAL
3 years, 6 months ago (2017-05-31 14:21:37 UTC) #4
acondor_
PTAL
3 years, 6 months ago (2017-05-31 14:22:35 UTC) #6
mthiesse
lgtm % nits https://codereview.chromium.org/2907203002/diff/20001/chrome/browser/android/vr_shell/vr_shell_renderer.cc File chrome/browser/android/vr_shell/vr_shell_renderer.cc (right): https://codereview.chromium.org/2907203002/diff/20001/chrome/browser/android/vr_shell/vr_shell_renderer.cc#newcode267 chrome/browser/android/vr_shell/vr_shell_renderer.cc:267: float diff = diff_x < diff_y ...
3 years, 6 months ago (2017-05-31 14:41:02 UTC) #8
cjgrant
lgtm https://codereview.chromium.org/2907203002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (left): https://codereview.chromium.org/2907203002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc#oldcode255 chrome/browser/android/vr_shell/ui_scene_manager.cc:255: element->set_debug_id(kFloorGrid); Need to remove kFloorGrid from the debug ...
3 years, 6 months ago (2017-05-31 14:49:17 UTC) #9
acondor_
https://codereview.chromium.org/2907203002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (left): https://codereview.chromium.org/2907203002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc#oldcode255 chrome/browser/android/vr_shell/ui_scene_manager.cc:255: element->set_debug_id(kFloorGrid); On 2017/05/31 14:49:17, cjgrant wrote: > Need to ...
3 years, 6 months ago (2017-05-31 15:38:31 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/2907203002/40001
3 years, 6 months ago (2017-05-31 15:39:12 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/451990)
3 years, 6 months ago (2017-05-31 15:47:39 UTC) #15
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/2907203002/40001
3 years, 6 months ago (2017-05-31 16:01:20 UTC) #18
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 16:23:25 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5d5052f3e33d06bf1f6710a8e1a9...

Powered by Google App Engine
This is Rietveld 408576698