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

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

Issue 2384593002: Encode frame number in pixel data for pose sync (Closed)
Patch Set: Frame pose sync: fix oscillating off-by-one Created 4 years, 3 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
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 d9d9cf738012a7b085e692a382ea4991228ff054..797664131155bebee4932a991d3fae59d9758b7b 100644
--- a/device/vr/android/gvr/gvr_delegate.h
+++ b/device/vr/android/gvr/gvr_delegate.h
@@ -7,6 +7,7 @@
#include "device/vr/android/gvr/gvr_device_provider.h"
#include "device/vr/vr_export.h"
+#include "third_party/gvr-android-sdk/src/ndk/include/vr/gvr/capi/include/gvr_types.h"
namespace gvr {
class GvrApi;
@@ -35,7 +36,7 @@ class DEVICE_VR_EXPORT GvrDelegate {
float top,
float width,
float height) = 0;
-
+ virtual void SetGvrPoseForWebVr(gvr::Mat4f pose, int32_t frameNumStarted) = 0;
virtual gvr::GvrApi* gvr_api() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698