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

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

Issue 2814443004: Refactor VR math off of GVR types, onto gfx types where possible. (Closed)
Patch Set: Created 3 years, 8 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: 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 2ece266d450f6db6484f0c18f2e08ec687d2106a..57dde4d0cc4f85cc0aef5e427d63d914fa718833 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -201,9 +201,9 @@ class VrShell : public device::PresentingGvrDelegate,
void SubmitWebVRFrame(int16_t frame_index,
const gpu::MailboxHolder& mailbox) override;
void UpdateWebVRTextureBounds(int16_t frame_index,
- const gvr::Rectf& left_bounds,
- const gvr::Rectf& right_bounds,
- const gvr::Sizei& source_size) override;
+ const gfx::RectF& left_bounds,
+ const gfx::RectF& right_bounds,
+ const gfx::Size& source_size) override;
void OnVRVsyncProviderRequest(
device::mojom::VRVSyncProviderRequest request) override;
void UpdateVSyncInterval(int64_t timebase_nanos,

Powered by Google App Engine
This is Rietveld 408576698