|
|
Chromium Code Reviews|
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 #
Messages
Total messages: 21 (13 generated)
The CQ bit was checked by vollick@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== [vr] Use ELEMENT_ARRAY_BUFFERS for quads in VrShellRenderer This is a minor cleanup to prepare for similar changes in future. BUG=739158 ========== to ========== [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. BUG=739158 ==========
vollick@chromium.org changed reviewers: + cjgrant@chromium.org, mthiesse@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: 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_presub...)
vollick@chromium.org changed reviewers: + bajones@chromium.org
Brandon, if you have a moment to look at this, would love your opinion.
lgtm
The CQ bit was checked by vollick@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_presub...)
Description was changed from ========== [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. BUG=739158 ========== to ========== [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 ==========
The CQ bit was checked by vollick@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 1, "attempt_start_ts": 1499201159027890, "parent_rev":
"772ace0703fb420097d1c14b53a5f186d2027771", "commit_rev":
"28cbda8e680f987b98c22a8f5382a60f40ce06fc"}
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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/+/28cbda8e680f987b98c22a8f5382... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/28cbda8e680f987b98c22a8f5382...
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. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
