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

Issue 2877133002: VR: Add a loading indicator to the scene. (Closed)

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

Description

VR: Add a loading indicator to the scene. - Report loading state transiently, if loading is in progress. The element disappears shortly after loading completes. - Prevent elements from attempt to draw themselves before Initialization. BUG=715620 Review-Url: https://codereview.chromium.org/2877133002 Cr-Commit-Position: refs/heads/master@{#471602} Committed: https://chromium.googlesource.com/chromium/src/+/2a7558705385f6bcfa8fa31e1466733cd97725dd

Patch Set 1 #

Patch Set 2 : Add units to timeout constant. #

Total comments: 3

Patch Set 3 : Centralize and clean up scene config; rebase onto Ian's CL for renderer-initiated drawing. #

Patch Set 4 : Clear dirty flags after drawing. This yields a mysterious performance boost. #

Total comments: 6

Patch Set 5 : Make clearing dirty bit bulletproof; nits. #

Patch Set 6 : Rebase onto render text change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -59 lines) Patch
M chrome/browser/android/vr_shell/BUILD.gn View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/textures/loading_indicator_texture.h View 3 4 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/textures/loading_indicator_texture.cc View 1 2 3 4 1 chunk +75 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/textures/ui_texture.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/textures/ui_texture.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/textures/url_bar_texture.h View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/textures/url_bar_texture.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_elements/loading_indicator.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_elements/loading_indicator.cc View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/textured_element.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/textured_element.cc View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/ui_element.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/ui_element.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/url_bar.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/url_bar.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_interface.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.h View 1 2 4 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 2 3 4 5 12 chunks +66 lines, -47 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_gl_thread.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_gl_thread.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (16 generated)
cjgrant
This works as is, but depending on when Ian's change lands, it should be rebased ...
3 years, 7 months ago (2017-05-12 17:19:52 UTC) #2
mthiesse
lgtm
3 years, 7 months ago (2017-05-12 18:13:23 UTC) #3
amp
https://codereview.chromium.org/2877133002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2877133002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode222 chrome/browser/android/vr_shell/ui_scene_manager.cc:222: void UiSceneManager::ConfigureScene() { Should we have the fullscreen changes ...
3 years, 7 months ago (2017-05-12 18:46:44 UTC) #5
cjgrant
https://codereview.chromium.org/2877133002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2877133002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode222 chrome/browser/android/vr_shell/ui_scene_manager.cc:222: void UiSceneManager::ConfigureScene() { On 2017/05/12 18:46:44, amp wrote: > ...
3 years, 7 months ago (2017-05-12 18:52:12 UTC) #6
cjgrant
https://codereview.chromium.org/2877133002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2877133002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode222 chrome/browser/android/vr_shell/ui_scene_manager.cc:222: void UiSceneManager::ConfigureScene() { On 2017/05/12 18:52:12, cjgrant wrote: > ...
3 years, 7 months ago (2017-05-12 21:03:06 UTC) #7
amp
lgtm assuming the backplane comment below isn't a problem. a couple of nit's on comments ...
3 years, 7 months ago (2017-05-12 21:13:46 UTC) #10
Ian Vollick
On 2017/05/12 21:13:46, amp wrote: > lgtm assuming the backplane comment below isn't a problem. ...
3 years, 7 months ago (2017-05-12 21:44:54 UTC) #11
cjgrant
https://codereview.chromium.org/2877133002/diff/60001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2877133002/diff/60001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode250 chrome/browser/android/vr_shell/ui_scene_manager.cc:250: // Content quad. On 2017/05/12 21:13:46, amp wrote: > ...
3 years, 7 months ago (2017-05-12 21:45:53 UTC) #12
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/2877133002/80001
3 years, 7 months ago (2017-05-12 21:59:47 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/443743)
3 years, 7 months ago (2017-05-13 01:23:19 UTC) #20
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/2877133002/80001
3 years, 7 months ago (2017-05-13 01:58:46 UTC) #22
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/436180)
3 years, 7 months ago (2017-05-13 02:08:27 UTC) #24
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/2877133002/100001
3 years, 7 months ago (2017-05-13 18:34:13 UTC) #27
commit-bot: I haz the power
3 years, 7 months ago (2017-05-13 19:30:37 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/2a7558705385f6bcfa8fa31e1466...

Powered by Google App Engine
This is Rietveld 408576698