Chromium Code Reviews| Index: device/vr/vr_service.mojom |
| diff --git a/device/vr/vr_service.mojom b/device/vr/vr_service.mojom |
| index d41b1a9ed09da0fe5157c51d9de5af058d4e1a0d..9eb108e01b935de783c0910fc1b8cdefdea37d76 100644 |
| --- a/device/vr/vr_service.mojom |
| +++ b/device/vr/vr_service.mojom |
| @@ -84,14 +84,17 @@ interface VRServiceClient { |
| }; |
| interface VRDisplay { |
| - [Sync] |
| - GetPose() => (VRPose? pose); |
| ResetPose(); |
| RequestPresent(bool secureOrigin) => (bool success); |
| ExitPresent(); |
| SubmitFrame(VRPose? pose); |
| UpdateLayerBounds(VRLayerBounds leftBounds, VRLayerBounds rightBounds); |
| + GetVRVSyncProvider(VRVSyncProvider& request); |
|
dcheng
2017/01/12 09:56:56
Out of curiosity, why a separate interface?
mthiesse
2017/01/12 15:49:03
We bind to the VRVSyncProvider on a separate threa
dcheng
2017/01/14 11:22:52
The one thing to watch out for is there won't be a
mthiesse
2017/01/16 20:52:57
Oh, yes I was careful to make sure ordering isn't
|
| +}; |
| + |
| +interface VRVSyncProvider { |
| + GetVSync() => (VRPose? pose, double time_seconds); |
|
dcheng
2017/01/12 09:56:56
Is it possible to use mojo.common.mojom.TimeTicks
mthiesse
2017/01/12 15:49:03
Would using TimeDelta be okay? I should probably a
dcheng
2017/01/14 11:22:52
I'm honestly not sure. I know CC sends around Time
mthiesse
2017/01/16 20:52:57
Done?
Sidenote, figuring out I had to include "//
|
| }; |
| interface VRDisplayClient { |