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

Issue 2453973002: WIP WebVR mojo refactor (Closed)

Created:
4 years, 1 month ago by bajones
Modified:
4 years, 1 month ago
Reviewers:
shaobo.yan
CC:
chromium-reviews, creis+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, haraken, Aaron Boodman, darin-cc_chromium.org, blink-reviews, darin (slow to review), klausw
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WIP WebVR mojo refactor Based on the CL by shaobo.yan@intel.com https://codereview.chromium.org/2420743003/ BUG=652080 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Patch Set 1 #

Patch Set 2 : Further refactoring (untested) #

Patch Set 3 : Fix compile bugs #

Patch Set 4 : Fixed all compile errors, but crashes when using the WebVR API #

Patch Set 5 : Fixed crash. VR data doesn't seem to be polling correctly, though. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+627 lines, -762 lines) Patch
M content/browser/frame_host/render_frame_host_impl.cc View 2 3 1 chunk +1 line, -1 line 0 comments Download
M device/vr/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/android/gvr/gvr_device.h View 1 chunk +9 lines, -8 lines 0 comments Download
M device/vr/android/gvr/gvr_device.cc View 1 4 chunks +54 lines, -29 lines 0 comments Download
M device/vr/android/gvr/gvr_device_provider.h View 1 2 3 3 chunks +1 line, -4 lines 0 comments Download
M device/vr/android/gvr/gvr_device_provider.cc View 1 2 3 3 chunks +0 lines, -9 lines 0 comments Download
M device/vr/test/fake_vr_device.h View 1 chunk +31 lines, -9 lines 0 comments Download
M device/vr/test/fake_vr_device.cc View 4 chunks +45 lines, -15 lines 0 comments Download
M device/vr/test/fake_vr_device_provider.h View 1 chunk +3 lines, -2 lines 0 comments Download
M device/vr/test/fake_vr_device_provider.cc View 2 chunks +3 lines, -2 lines 0 comments Download
D device/vr/vr_client_dispatcher.h View 1 chunk +0 lines, -24 lines 0 comments Download
M device/vr/vr_device.h View 1 2 2 chunks +32 lines, -8 lines 0 comments Download
M device/vr/vr_device.cc View 1 2 2 chunks +44 lines, -2 lines 0 comments Download
M device/vr/vr_device_manager.h View 3 chunks +2 lines, -24 lines 0 comments Download
M device/vr/vr_device_manager.cc View 1 2 3 8 chunks +13 lines, -174 lines 0 comments Download
M device/vr/vr_device_manager_unittest.cc View 4 chunks +29 lines, -23 lines 0 comments Download
M device/vr/vr_device_provider.h View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
A device/vr/vr_display_impl.h View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A device/vr/vr_display_impl.cc View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
M device/vr/vr_service.mojom View 1 2 2 chunks +31 lines, -27 lines 0 comments Download
M device/vr/vr_service_impl.h View 1 2 1 chunk +20 lines, -20 lines 0 comments Download
M device/vr/vr_service_impl.cc View 1 2 1 chunk +29 lines, -50 lines 0 comments Download
M device/vr/vr_service_impl_unittest.cc View 5 chunks +10 lines, -111 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRController.h View 3 chunks +10 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRController.cpp View 1 2 3 4 2 chunks +34 lines, -162 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.h View 1 2 7 chunks +27 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.cpp View 1 2 12 chunks +84 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VREyeParameters.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VREyeParameters.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRFrameData.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRFrameData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRPose.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRPose.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRStageParameters.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRStageParameters.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
bajones
For the record, the Mojo connection flow here is: * Blink requests a VRService * ...
4 years, 1 month ago (2016-10-27 06:57:09 UTC) #3
shaobo.yan
On 2016/10/27 06:57:09, bajones wrote: > For the record, the Mojo connection flow here is: ...
4 years, 1 month ago (2016-10-27 07:58:01 UTC) #4
bajones
On 2016/10/27 07:58:01, shaobo.yan wrote: > On 2016/10/27 06:57:09, bajones wrote: > > For the ...
4 years, 1 month ago (2016-10-27 19:58:16 UTC) #5
bajones
FYI Klaus
4 years, 1 month ago (2016-10-28 00:22:55 UTC) #6
shaobo.yan
On 2016/10/27 19:58:16, bajones wrote: > On 2016/10/27 07:58:01, shaobo.yan wrote: > > On 2016/10/27 ...
4 years, 1 month ago (2016-10-28 03:04:15 UTC) #7
bajones
On 2016/10/28 03:04:15, shaobo.yan wrote: > On 2016/10/27 19:58:16, bajones wrote: > > On 2016/10/27 ...
4 years, 1 month ago (2016-10-28 05:46:00 UTC) #8
shaobo.yan
Hi, brandon I've fixed getVRDisplay return null issue and updated a patch set here https://codereview.chromium.org/2420743003/; ...
4 years, 1 month ago (2016-10-28 08:20:51 UTC) #10
shaobo.yan
4 years, 1 month ago (2016-10-31 02:31:49 UTC) #11
Hi, Brandon,
Happly Hallowee first !
After some fix, the mojo simpify patch seems to work now. I try to run WebVR
Sample VR Presenting, and it gives me correct rendering now. I think it means
the patch could function now.

However, I find that the sample will in low fps when entering vr with my debug
build, even if without the refactory patch. Is it a known issue or something
else ? 

Thx for your help with the refactory again !

BR,
Yan,Shaobo

Powered by Google App Engine
This is Rietveld 408576698