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

Unified Diff: device/vr/android/gvr/gvr_delegate.h

Issue 2901213002: Add SlidingAverage to FPSMeter, use for WebVR prediction time (Closed)
Patch Set: Fix "Complex destructor has an inline body" for = default. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_gl.cc ('k') | device/vr/android/gvr/gvr_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/android/gvr/gvr_delegate.h
diff --git a/device/vr/android/gvr/gvr_delegate.h b/device/vr/android/gvr/gvr_delegate.h
index d51581937f073f0c0857e5f55f1d4986efbe4f48..e7a2ae2902bf27a2a50a155c87997623cdb80c68 100644
--- a/device/vr/android/gvr/gvr_delegate.h
+++ b/device/vr/android/gvr/gvr_delegate.h
@@ -22,8 +22,14 @@ namespace device {
class DEVICE_VR_EXPORT GvrDelegate {
public:
static mojom::VRPosePtr VRPosePtrFromGvrPose(const vr::Mat4f& head_mat);
+ static void GetGvrPoseWithNeckModel(gvr::GvrApi* gvr_api,
+ vr::Mat4f* out,
+ int64_t prediction_time);
static void GetGvrPoseWithNeckModel(gvr::GvrApi* gvr_api, vr::Mat4f* out);
static mojom::VRPosePtr GetVRPosePtrWithNeckModel(gvr::GvrApi* gvr_api,
+ vr::Mat4f* head_mat_out,
+ int64_t prediction_time);
+ static mojom::VRPosePtr GetVRPosePtrWithNeckModel(gvr::GvrApi* gvr_api,
vr::Mat4f* head_mat_out);
static gfx::Size GetRecommendedWebVrSize(gvr::GvrApi* gvr_api);
static mojom::VRDisplayInfoPtr CreateVRDisplayInfo(gvr::GvrApi* gvr_api,
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_gl.cc ('k') | device/vr/android/gvr/gvr_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698