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

Unified Diff: device/vr/test/fake_vr_device.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/android/gvr/gvr_device.cc ('k') | device/vr/test/fake_vr_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/test/fake_vr_device.h
diff --git a/device/vr/test/fake_vr_device.h b/device/vr/test/fake_vr_device.h
index 178610eaacccb3238c582e93013b4402d0da1806..701a823468ace1b160c7ca2d4fa538d0688948fd 100644
--- a/device/vr/test/fake_vr_device.h
+++ b/device/vr/test/fake_vr_device.h
@@ -30,10 +30,14 @@ class FakeVRDevice : public VRDevice {
void RequestPresent(const base::Callback<void(bool)>& callback) override;
void SetSecureOrigin(bool secure_origin) override;
void ExitPresent() override;
- void SubmitFrame(mojom::VRPosePtr pose) override;
+ void SubmitFrame(int16_t frame_index,
+ const gpu::MailboxHolder& mailbox,
+ mojom::VRSubmitFrameClientPtr submit_client) override;
void UpdateLayerBounds(int16_t frame_index,
mojom::VRLayerBoundsPtr leftBounds,
- mojom::VRLayerBoundsPtr rightBounds) override;
+ mojom::VRLayerBoundsPtr rightBounds,
+ int16_t source_width,
+ int16_t source_height) override;
void GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) override;
private:
« no previous file with comments | « device/vr/android/gvr/gvr_device.cc ('k') | device/vr/test/fake_vr_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698