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

Issue 2970663006: [vr] Use ELEMENT_ARRAY_BUFFERS for quads in VrShellRenderer (Closed)

Created:
3 years, 5 months ago by Ian Vollick
Modified:
3 years, 5 months ago
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[vr] Use ELEMENT_ARRAY_BUFFERS for quads in VrShellRenderer This is a minor cleanup to prepare for similar changes in future. With this change, we also remove the need for texture coordinate attributes in many cases since they can be derived from positions. NOPRESUBMIT=true BUG=739158 Review-Url: https://codereview.chromium.org/2970663006 Cr-Commit-Position: refs/heads/master@{#484154} Committed: https://chromium.googlesource.com/chromium/src/+/28cbda8e680f987b98c22a8f5382a60f40ce06fc

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -66 lines) Patch
M chrome/browser/android/vr_shell/vr_shell_renderer.h View 4 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.cc View 16 chunks +70 lines, -64 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
Ian Vollick
3 years, 5 months ago (2017-07-04 12:43:37 UTC) #5
Ian Vollick
Brandon, if you have a moment to look at this, would love your opinion.
3 years, 5 months ago (2017-07-04 20:14:11 UTC) #9
cjgrant
lgtm
3 years, 5 months ago (2017-07-04 20:29:02 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/2970663006/1
3 years, 5 months ago (2017-07-04 20:32:45 UTC) #12
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/480231)
3 years, 5 months ago (2017-07-04 20:40:58 UTC) #14
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/2970663006/1
3 years, 5 months ago (2017-07-04 20:46:08 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/28cbda8e680f987b98c22a8f5382a60f40ce06fc
3 years, 5 months ago (2017-07-04 20:46:49 UTC) #20
bajones1
3 years, 5 months ago (2017-07-05 19:37:57 UTC) #21
Message was sent while issue was closed.
LGTM FWIW.

One semi-related very high level comment that doesn't really apply to this CL:
While the changes here definitely feel like a net win we should generally be
cautious any time we're adding work to the vertex shaders. The amount of
per-vertex work done on any scene doubles when in VR vs mono, while the
per-fragment work only increases something like 1.2x (in the optimal case).
Doesn't have as much effect of us because the UI is largely simple quads, but if
we get into mesh backgrounds or anything like that it's something to be aware
of.

Powered by Google App Engine
This is Rietveld 408576698