Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef DEVICE_VR_ANDROID_GVR_DEVICE_H | 5 #ifndef DEVICE_VR_ANDROID_GVR_DEVICE_H |
| 6 #define DEVICE_VR_ANDROID_GVR_DEVICE_H | 6 #define DEVICE_VR_ANDROID_GVR_DEVICE_H |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "device/vr/vr_device.h" | 9 #include "device/vr/vr_device.h" |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 35 VRLayerBoundsPtr rightBounds) override; | 35 VRLayerBoundsPtr rightBounds) override; |
| 36 | 36 |
| 37 void SetDelegate(GvrDelegate* delegate); | 37 void SetDelegate(GvrDelegate* delegate); |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 gvr::GvrApi* GetGvrApi(); | 40 gvr::GvrApi* GetGvrApi(); |
| 41 | 41 |
| 42 GvrDelegate* delegate_; | 42 GvrDelegate* delegate_; |
| 43 GvrDeviceProvider* gvr_provider_; | 43 GvrDeviceProvider* gvr_provider_; |
| 44 bool secure_origin_; | 44 bool secure_origin_; |
| 45 uint32_t pose_num_ = 0; | |
|
mthiesse
2016/10/04 21:19:16
I think frame_index_ would be more clear.
klausw
2016/10/04 23:08:14
Changed to pose_index_. As discussed, this is stro
| |
| 45 | 46 |
| 46 DISALLOW_COPY_AND_ASSIGN(GvrDevice); | 47 DISALLOW_COPY_AND_ASSIGN(GvrDevice); |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 } // namespace device | 50 } // namespace device |
| 50 | 51 |
| 51 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_H | 52 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_H |
| OLD | NEW |