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

Issue 2335643002: Add VR Shell animation classes and unit test. (Closed)

Created:
4 years, 3 months ago by cjgrant
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add VR Shell animation classes and unit test. This change includes the animation and easing (intermediate state calculation) capabilities developed by mthiesse@, and adds initial unit tests for animation. BUG= Committed: https://crrev.com/1ce4ff3d8c73bfd77e7f8d0135134f2524b4d480 Cr-Commit-Position: refs/heads/master@{#419449}

Patch Set 1 #

Total comments: 35

Patch Set 2 : Add VR Shell animation classes and unit test. #

Patch Set 3 : Add VR Shell animation classes and unit test. #

Total comments: 25

Patch Set 4 : Add VR Shell animation classes and unit test. #

Patch Set 5 : Add VR Shell animation classes and unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+656 lines, -658 lines) Patch
M chrome/browser/android/vr_shell/BUILD.gn View 1 2 chunks +23 lines, -2 lines 0 comments Download
A chrome/browser/android/vr_shell/animation.h View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/animation.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/easing.h View 1 2 3 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/easing.cc View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements.h View 1 2 3 4 2 chunks +16 lines, -10 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements.cc View 1 2 2 chunks +92 lines, -1 line 0 comments Download
A chrome/browser/android/vr_shell/ui_elements_unittest.cc View 1 2 3 1 chunk +167 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/vr_gl_util.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/vr_gl_util.cc View 1 2 3 1 chunk +124 lines, -0 lines 0 comments Download
A + chrome/browser/android/vr_shell/vr_math.h View 5 chunks +3 lines, -21 lines 0 comments Download
A + chrome/browser/android/vr_shell/vr_math.cc View 1 4 chunks +1 line, -110 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/android/vr_shell/vr_util.h View 1 chunk +0 lines, -97 lines 0 comments Download
D chrome/browser/android/vr_shell/vr_util.cc View 1 chunk +0 lines, -414 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
cjgrant
Folks, note that this change will require a rebase after Michael's CL 2301633002 lands. This ...
4 years, 3 months ago (2016-09-12 13:30:42 UTC) #3
mthiesse
Just some nits, otherwise looks good. https://codereview.chromium.org/2335643002/diff/1/chrome/browser/android/vr_shell/animation.h File chrome/browser/android/vr_shell/animation.h (right): https://codereview.chromium.org/2335643002/diff/1/chrome/browser/android/vr_shell/animation.h#newcode21 chrome/browser/android/vr_shell/animation.h:21: UNUSED, // Available ...
4 years, 3 months ago (2016-09-12 14:18:27 UTC) #4
bshe
mostly nits https://codereview.chromium.org/2335643002/diff/1/chrome/browser/android/vr_shell/BUILD.gn File chrome/browser/android/vr_shell/BUILD.gn (right): https://codereview.chromium.org/2335643002/diff/1/chrome/browser/android/vr_shell/BUILD.gn#newcode44 chrome/browser/android/vr_shell/BUILD.gn:44: test("vr_shell_unittests") { I assume you have a ...
4 years, 3 months ago (2016-09-12 15:38:27 UTC) #5
cjgrant
https://codereview.chromium.org/2335643002/diff/1/chrome/browser/android/vr_shell/BUILD.gn File chrome/browser/android/vr_shell/BUILD.gn (right): https://codereview.chromium.org/2335643002/diff/1/chrome/browser/android/vr_shell/BUILD.gn#newcode44 chrome/browser/android/vr_shell/BUILD.gn:44: test("vr_shell_unittests") { On 2016/09/12 15:38:26, bshe wrote: > I ...
4 years, 3 months ago (2016-09-13 17:32:16 UTC) #6
cjgrant
https://codereview.chromium.org/2335643002/diff/40001/chrome/browser/android/vr_shell/ui_elements_unittest.cc File chrome/browser/android/vr_shell/ui_elements_unittest.cc (right): https://codereview.chromium.org/2335643002/diff/40001/chrome/browser/android/vr_shell/ui_elements_unittest.cc#newcode13 chrome/browser/android/vr_shell/ui_elements_unittest.cc:13: #define EXPECT_VEC3F_EQ(a, b) \ David, I'm curious about your ...
4 years, 3 months ago (2016-09-13 17:49:49 UTC) #8
bshe
lgtm https://codereview.chromium.org/2335643002/diff/1/chrome/browser/android/vr_shell/ui_elements.cc File chrome/browser/android/vr_shell/ui_elements.cc (right): https://codereview.chromium.org/2335643002/diff/1/chrome/browser/android/vr_shell/ui_elements.cc#newcode173 chrome/browser/android/vr_shell/ui_elements.cc:173: for (auto it = animations.begin(); it != animations.end();) ...
4 years, 3 months ago (2016-09-13 19:37:22 UTC) #9
David Trainor- moved to gerrit
mostly nits with a question on whether or not Animation should be smarter :). https://codereview.chromium.org/2335643002/diff/40001/chrome/browser/android/vr_shell/animation.h ...
4 years, 3 months ago (2016-09-14 21:43:30 UTC) #10
mthiesse
https://codereview.chromium.org/2335643002/diff/40001/chrome/browser/android/vr_shell/ui_elements.cc File chrome/browser/android/vr_shell/ui_elements.cc (right): https://codereview.chromium.org/2335643002/diff/40001/chrome/browser/android/vr_shell/ui_elements.cc#newcode92 chrome/browser/android/vr_shell/ui_elements.cc:92: Animation& animation = *it; On 2016/09/14 21:43:30, David Trainor ...
4 years, 3 months ago (2016-09-14 22:15:21 UTC) #11
cjgrant
Thanks for the comments David! PTAL when you have time... https://codereview.chromium.org/2335643002/diff/40001/chrome/browser/android/vr_shell/animation.h File chrome/browser/android/vr_shell/animation.h (right): https://codereview.chromium.org/2335643002/diff/40001/chrome/browser/android/vr_shell/animation.h#newcode15 ...
4 years, 3 months ago (2016-09-16 17:47:08 UTC) #12
David Trainor- moved to gerrit
lgtm. Yeah I don't have a much cleaner idea for the Animation class yet. If ...
4 years, 3 months ago (2016-09-16 21:25:44 UTC) #13
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/2335643002/80001
4 years, 3 months ago (2016-09-19 13:55:44 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-19 14:04:01 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 14:06:27 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1ce4ff3d8c73bfd77e7f8d0135134f2524b4d480
Cr-Commit-Position: refs/heads/master@{#419449}

Powered by Google App Engine
This is Rietveld 408576698