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

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

Issue 2738683002: WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: Less hacked up version Created 3 years, 9 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 | « device/vr/DEPS ('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 ed31de3388bd346dabdc6b2aff14ca2fb5d7ac7a..589bc508916a41e4a2653a8321d0d2234d624d32 100644
--- a/device/vr/android/gvr/gvr_delegate.h
+++ b/device/vr/android/gvr/gvr_delegate.h
@@ -17,10 +17,13 @@ constexpr gvr::Sizei kInvalidRenderTargetSize = {0, 0};
class DEVICE_VR_EXPORT GvrDelegate {
public:
virtual void SetWebVRSecureOrigin(bool secure_origin) = 0;
- virtual void SubmitWebVRFrame() = 0;
+ virtual void SubmitWebVRFrame(int16_t frame_index,
+ const gpu::MailboxHolder& mailbox,
+ mojom::VRSubmitFrameClientPtr) = 0;
virtual void UpdateWebVRTextureBounds(int16_t frame_index,
const gvr::Rectf& left_bounds,
- const gvr::Rectf& right_bounds) = 0;
+ const gvr::Rectf& right_bounds,
+ const gvr::Sizei& source_size) = 0;
virtual void OnVRVsyncProviderRequest(
mojom::VRVSyncProviderRequest request) = 0;
virtual void UpdateVSyncInterval(int64_t timebase_nanos,
« no previous file with comments | « device/vr/DEPS ('k') | device/vr/android/gvr/gvr_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698