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

Issue 2612333002: Allow VRDisplay to specify which frame the layer bounds should be updated at. (Closed)

Created:
3 years, 11 months ago by mthiesse
Modified:
3 years, 10 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, haraken, Aaron Boodman, feature-vr-reviews_chromium.org, blink-reviews, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow VRDisplay to specify which frame the layer bounds should be updated at. BUG=655722, 670891 Review-Url: https://codereview.chromium.org/2612333002 Cr-Commit-Position: refs/heads/master@{#446707} Committed: https://chromium.googlesource.com/chromium/src/+/961dc47e8f5b088debbab559fe81b85f32e9f9e4

Patch Set 1 #

Total comments: 1

Patch Set 2 : Finish implementaion #

Total comments: 2

Patch Set 3 : Rebase + fix wrap logic #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Total comments: 14

Patch Set 6 : Address comments #

Total comments: 10

Patch Set 7 : rebase + address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -88 lines) Patch
M chrome/browser/android/vr_shell/non_presenting_gvr_delegate.h View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc View 1 2 3 4 5 6 5 chunks +11 lines, -14 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 4 5 6 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.h View 1 2 3 4 5 6 7 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 2 3 4 5 6 13 chunks +66 lines, -26 lines 0 comments Download
M device/vr/android/gvr/gvr_delegate.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/android/gvr/gvr_device.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/android/gvr/gvr_device.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M device/vr/test/fake_vr_device.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/test/fake_vr_device.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/vr_device.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/vr_display_impl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/vr_display_impl.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M device/vr/vr_service.mojom View 1 2 4 chunks +14 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.h View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.cpp View 1 2 3 4 5 6 5 chunks +13 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (12 generated)
mthiesse
PTAL, no functional changes yet, just paving the way for them.
3 years, 11 months ago (2017-01-05 20:15:59 UTC) #2
klausw
On 2017/01/05 20:15:59, mthiesse wrote: > PTAL, no functional changes yet, just paving the way ...
3 years, 11 months ago (2017-01-05 20:40:31 UTC) #4
mthiesse
On 2017/01/05 20:40:31, klausw wrote: > On 2017/01/05 20:15:59, mthiesse wrote: > > PTAL, no ...
3 years, 11 months ago (2017-01-05 20:42:55 UTC) #6
klausw
On 2017/01/05 20:42:55, mthiesse wrote: > On 2017/01/05 20:40:31, klausw wrote: > > On 2017/01/05 ...
3 years, 11 months ago (2017-01-05 20:44:06 UTC) #7
bajones
Plumbing approved! LGTM.
3 years, 11 months ago (2017-01-05 20:56:58 UTC) #9
mthiesse
dcheng@, please review .mojom changes.
3 years, 11 months ago (2017-01-05 20:56:58 UTC) #10
dcheng
https://codereview.chromium.org/2612333002/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2612333002/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode941 chrome/browser/android/vr_shell/vr_shell_gl.cc:941: // |for_frame_index|. Sorry for missing this in my review ...
3 years, 11 months ago (2017-01-10 06:53:19 UTC) #11
klausw
FYI, I have a rough implementation for the bounds change in the WIP change https://codereview.chromium.org/2584343002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc ...
3 years, 11 months ago (2017-01-10 08:10:56 UTC) #12
klausw
FYI, I have a rough implementation for the bounds change in the WIP change https://codereview.chromium.org/2584343002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc ...
3 years, 11 months ago (2017-01-10 08:10:56 UTC) #13
dcheng
On 2017/01/10 08:10:56, klausw wrote: > FYI, I have a rough implementation for the bounds ...
3 years, 11 months ago (2017-01-11 22:48:34 UTC) #14
mthiesse
On 2017/01/11 22:48:34, dcheng wrote: > On 2017/01/10 08:10:56, klausw wrote: > > FYI, I ...
3 years, 11 months ago (2017-01-11 22:50:41 UTC) #15
mthiesse
On 2017/01/11 22:50:41, mthiesse wrote: > On 2017/01/11 22:48:34, dcheng wrote: > > On 2017/01/10 ...
3 years, 11 months ago (2017-01-12 20:13:03 UTC) #16
dcheng
https://codereview.chromium.org/2612333002/diff/20001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2612333002/diff/20001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode983 chrome/browser/android/vr_shell/vr_shell_gl.cc:983: CHECK(callback_.is_null()); Since this is getting called by the renderer, ...
3 years, 11 months ago (2017-01-14 11:17:01 UTC) #17
mthiesse
https://codereview.chromium.org/2612333002/diff/20001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2612333002/diff/20001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode983 chrome/browser/android/vr_shell/vr_shell_gl.cc:983: CHECK(callback_.is_null()); On 2017/01/14 11:17:01, dcheng wrote: > Since this ...
3 years, 11 months ago (2017-01-16 22:21:32 UTC) #18
dcheng
https://codereview.chromium.org/2612333002/diff/100001/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc File chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc (right): https://codereview.chromium.org/2612333002/diff/100001/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc#newcode117 chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc:117: SendVSync(pending_time_, std::move(callback)); Nit: std::move() here is a no-op https://codereview.chromium.org/2612333002/diff/100001/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.h ...
3 years, 11 months ago (2017-01-18 23:58:08 UTC) #20
mthiesse
https://codereview.chromium.org/2612333002/diff/100001/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc File chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc (right): https://codereview.chromium.org/2612333002/diff/100001/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc#newcode117 chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc:117: SendVSync(pending_time_, std::move(callback)); On 2017/01/18 23:58:07, dcheng wrote: > Nit: ...
3 years, 11 months ago (2017-01-19 01:19:09 UTC) #22
klausw (use chromium instead)
LGTM apart from type nit. https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/vr_shell_gl.h File chrome/browser/android/vr_shell/vr_shell_gl.h (right): https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/vr_shell_gl.h#newcode201 chrome/browser/android/vr_shell/vr_shell_gl.h:201: uint16_t last_frame_index_ = -1; ...
3 years, 11 months ago (2017-01-19 01:34:27 UTC) #25
mthiesse
https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/vr_shell_gl.h File chrome/browser/android/vr_shell/vr_shell_gl.h (right): https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/vr_shell_gl.h#newcode201 chrome/browser/android/vr_shell/vr_shell_gl.h:201: uint16_t last_frame_index_ = -1; On 2017/01/19 01:34:27, klausw (use ...
3 years, 10 months ago (2017-01-26 23:23:03 UTC) #26
klausw
https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/vr_shell_gl.h File chrome/browser/android/vr_shell/vr_shell_gl.h (right): https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/vr_shell_gl.h#newcode201 chrome/browser/android/vr_shell/vr_shell_gl.h:201: uint16_t last_frame_index_ = -1; On 2017/01/26 23:23:03, mthiesse wrote: ...
3 years, 10 months ago (2017-01-27 00:24:55 UTC) #27
mthiesse
https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/vr_shell_gl.h File chrome/browser/android/vr_shell/vr_shell_gl.h (right): https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/vr_shell_gl.h#newcode201 chrome/browser/android/vr_shell/vr_shell_gl.h:201: uint16_t last_frame_index_ = -1; On 2017/01/27 00:24:55, klausw wrote: ...
3 years, 10 months ago (2017-01-27 00:57:28 UTC) #28
dcheng
mojo lgtm https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc File chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc (right): https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc#newcode60 chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc:60: callback_.Run(nullptr, base::TimeDelta(), -1); One possibility (if you ...
3 years, 10 months ago (2017-01-27 09:41:33 UTC) #29
mthiesse
https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc File chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc (right): https://codereview.chromium.org/2612333002/diff/140001/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc#newcode60 chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc:60: callback_.Run(nullptr, base::TimeDelta(), -1); On 2017/01/27 09:41:33, dcheng wrote: > ...
3 years, 10 months ago (2017-01-27 16:15:31 UTC) #30
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/2612333002/180001
3 years, 10 months ago (2017-01-27 16:16:17 UTC) #33
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 18:06:51 UTC) #36
Message was sent while issue was closed.
Committed patchset #7 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/961dc47e8f5b088debbab559fe81...

Powered by Google App Engine
This is Rietveld 408576698