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

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

Issue 2384593002: Encode frame number in pixel data for pose sync (Closed)
Patch Set: bajones #40: add sanity check + pointer zeroing Created 4 years, 2 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_renderer.cc ('k') | device/vr/android/gvr/gvr_device.h » ('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 d9d9cf738012a7b085e692a382ea4991228ff054..18be9b88e594d98785ef0a4fc1514cc1709b5bc2 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,8 @@ class DEVICE_VR_EXPORT GvrDelegate {
float top,
float width,
float height) = 0;
-
+ virtual void SetGvrPoseForWebVr(const gvr::Mat4f& pose,
+ uint32_t pose_index) = 0;
virtual gvr::GvrApi* gvr_api() = 0;
};
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_renderer.cc ('k') | device/vr/android/gvr/gvr_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698