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

Unified Diff: chrome/browser/android/vr_shell/vr_shell.h

Issue 2433253002: Add passive and FOV-locked properties to UI elements. (Closed)
Patch Set: Address nits. 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/ui_scene_unittest.cc ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_shell.h
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
index dce6bcb6a8df3748478887a4ad3dd3986a560eb8..a1795da49479785615db14724fba575728e6ce4b 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -120,9 +120,11 @@ class VrShell : public device::GvrDelegate {
// initialized by checking IsUiTextureReady() first.
Rectf MakeUiGlCopyRect(Recti pixel_rect);
void DrawVrShell(const gvr::Mat4f& head_pose);
- void DrawEye(const gvr::Mat4f& view_matrix,
+ void DrawEye(gvr::Eye eye,
+ const gvr::Mat4f& head_pose,
const gvr::BufferViewport& params);
- void DrawUI(const gvr::Mat4f& render_matrix);
+ void DrawUI(const gvr::Mat4f& world_matrix,
+ const gvr::Mat4f& fov_matrix);
void DrawCursor(const gvr::Mat4f& render_matrix);
void DrawWebVr();
void DrawWebVrOverlay(int64_t present_time_nanos);
« no previous file with comments | « chrome/browser/android/vr_shell/ui_scene_unittest.cc ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698