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

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

Issue 2729523002: Re-land^2 WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: Revert FrameView.cpp change, re-enable typemap workaround. 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
Index: device/vr/android/gvr/gvr_device.h
diff --git a/device/vr/android/gvr/gvr_device.h b/device/vr/android/gvr/gvr_device.h
index 55fb95f3b5babad5ebcf1c519d66ab7bd55c4017..5aec12cae29776d6103438a1f0a959ef0bfb3b2d 100644
--- a/device/vr/android/gvr/gvr_device.h
+++ b/device/vr/android/gvr/gvr_device.h
@@ -27,10 +27,15 @@ class DEVICE_VR_EXPORT GvrDevice : public VRDevice {
void SetSecureOrigin(bool secure_origin) override;
void ExitPresent() override;
- void SubmitFrame(mojom::VRPosePtr pose) override;
+ void SubmitFrame(int16_t frame_index,
+ const gpu::Mailbox& mailbox,
+ const gpu::SyncToken& sync_token,
+ mojom::VRSubmitFrameClientPtr submit_client) override;
void UpdateLayerBounds(int16_t frame_index,
mojom::VRLayerBoundsPtr left_bounds,
- mojom::VRLayerBoundsPtr right_bounds) override;
+ mojom::VRLayerBoundsPtr right_bounds,
+ int16_t source_width,
+ int16_t source_height) override;
void GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) override;
void OnDelegateChanged();

Powered by Google App Engine
This is Rietveld 408576698