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

Issue 2775283004: Rendering Daydream controller in a fixed position. (Closed)

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

Description

Rendering Daydream controller in a fixed position. - Model file is not included, as it will be delivered through component updater. - UI continues to work as before when the model file is missing. - Textures included for each button state. - Conform to DD UX specs pending. - Refactored rendering-classes inheritance to be able to generalize them to non quads. BUG=644562 Review-Url: https://codereview.chromium.org/2775283004 Cr-Commit-Position: refs/heads/master@{#460625} Committed: https://chromium.googlesource.com/chromium/src/+/e4a64eab960f6b5a25df0270b03e86311206d802

Patch Set 1 #

Patch Set 2 : Using textures for corresponding button states. #

Total comments: 22

Patch Set 3 : Removing ownership of Buffers from the gltf asset #

Total comments: 9

Patch Set 4 : Moving code to more appropriate locations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+551 lines, -56 lines) Patch
M chrome/browser/android/vr_shell/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/gltf_asset.h View 1 2 4 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/gltf_asset.cc View 1 2 4 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/android/vr_shell/gltf_parser.h View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/gltf_parser.cc View 1 2 6 chunks +17 lines, -8 lines 0 comments Download
M chrome/browser/android/vr_shell/gltf_parser_unittest.cc View 1 2 3 chunks +18 lines, -13 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_controller.h View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_controller.cc View 1 2 3 4 chunks +32 lines, -1 line 0 comments Download
A chrome/browser/android/vr_shell/vr_controller_model.h View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/vr_controller_model.cc View 1 2 3 1 chunk +168 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 5 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.h View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.h View 1 2 8 chunks +49 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.cc View 1 2 7 chunks +114 lines, -12 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
acondor_
The initial implementation for visualizing the controller is done. It is still left to conform ...
3 years, 9 months ago (2017-03-27 20:43:19 UTC) #2
mthiesse
https://codereview.chromium.org/2775283004/diff/20001/chrome/browser/android/vr_shell/gltf_asset.h File chrome/browser/android/vr_shell/gltf_asset.h (right): https://codereview.chromium.org/2775283004/diff/20001/chrome/browser/android/vr_shell/gltf_asset.h#newcode113 chrome/browser/android/vr_shell/gltf_asset.h:113: void FreeBuffers(); I don't really like that we're clearing ...
3 years, 8 months ago (2017-03-28 20:26:23 UTC) #5
cjgrant
https://codereview.chromium.org/2775283004/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2775283004/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode87 chrome/browser/android/vr_shell/vr_shell.cc:87: .Append(VrControllerModel::kDefaultVersion) Formatting looks off here. https://codereview.chromium.org/2775283004/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode92 chrome/browser/android/vr_shell/vr_shell.cc:92: if (!base::PathExists(model_path)) ...
3 years, 8 months ago (2017-03-29 13:20:55 UTC) #6
bajones
https://codereview.chromium.org/2775283004/diff/20001/chrome/browser/android/vr_shell/vr_controller_model.cc File chrome/browser/android/vr_shell/vr_controller_model.cc (right): https://codereview.chromium.org/2775283004/diff/20001/chrome/browser/android/vr_shell/vr_controller_model.cc#newcode35 chrome/browser/android/vr_shell/vr_controller_model.cc:35: const gltf::BufferView* buffer_view = The elements buffer and indices ...
3 years, 8 months ago (2017-03-29 17:38:59 UTC) #7
acondor_
Now, during setup, the renderer receives the ownership of the ControllerModel and grabs all the ...
3 years, 8 months ago (2017-03-29 20:13:26 UTC) #8
cjgrant
lgtm https://codereview.chromium.org/2775283004/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2775283004/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode87 chrome/browser/android/vr_shell/vr_shell.cc:87: .Append(VrControllerModel::kDefaultVersion) On 2017/03/29 20:13:26, acondor wrote: > On ...
3 years, 8 months ago (2017-03-29 20:22:38 UTC) #9
bajones
On 2017/03/29 20:13:26, acondor wrote: > On 2017/03/29 17:38:58, bajones wrote: > > The elements ...
3 years, 8 months ago (2017-03-29 20:38:29 UTC) #10
mthiesse
lgtm
3 years, 8 months ago (2017-03-29 20:40:14 UTC) #11
asimjour1
https://codereview.chromium.org/2775283004/diff/60001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2775283004/diff/60001/chrome/browser/android/vr_shell/vr_shell.cc#newcode81 chrome/browser/android/vr_shell/vr_shell.cc:81: void LoadControllerModelTask( It should be moved to VrController https://codereview.chromium.org/2775283004/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc ...
3 years, 8 months ago (2017-03-29 20:40:44 UTC) #13
amp
Small nit on TODO comments. If you are already working on the TODOs (and they ...
3 years, 8 months ago (2017-03-29 20:54:56 UTC) #14
acondor_
Pieces of code where moved to more appropriate locations according to the suggestions and discussions ...
3 years, 8 months ago (2017-03-29 22:46:45 UTC) #15
asimjour1
On 2017/03/29 22:46:45, acondor wrote: > Pieces of code where moved to more appropriate locations ...
3 years, 8 months ago (2017-03-29 22:59:30 UTC) #16
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/2775283004/80001
3 years, 8 months ago (2017-03-29 23:23:48 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 8 months ago (2017-03-30 01:26:22 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/2775283004/80001
3 years, 8 months ago (2017-03-30 02:01:52 UTC) #23
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 02:10:11 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e4a64eab960f6b5a25df0270b03e...

Powered by Google App Engine
This is Rietveld 408576698