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

Unified Diff: device/vr/vr_display_impl.cc

Issue 2729523002: Re-land^2 WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: Further cleanups Created 3 years, 10 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/vr_display_impl.cc
diff --git a/device/vr/vr_display_impl.cc b/device/vr/vr_display_impl.cc
index 37f8ec981f2e85fe4c30ea53936663f5cc61a5c3..c6e9195ec40d959168644b59fcfc78e3cb928fbd 100644
--- a/device/vr/vr_display_impl.cc
+++ b/device/vr/vr_display_impl.cc
@@ -67,10 +67,11 @@ void VRDisplayImpl::ExitPresent() {
device_->ExitPresent();
}
-void VRDisplayImpl::SubmitFrame(mojom::VRPosePtr pose) {
+void VRDisplayImpl::SubmitFrame(mojom::VRPosePtr pose,
+ mojom::VRSubmitFrameClientPtr submit_client) {
if (!device_->CheckPresentingDisplay(this))
return;
- device_->SubmitFrame(std::move(pose));
+ device_->SubmitFrame(std::move(pose), std::move(submit_client));
}
void VRDisplayImpl::UpdateLayerBounds(int16_t frame_index,

Powered by Google App Engine
This is Rietveld 408576698