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

Unified Diff: chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc

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
Index: chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc
diff --git a/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc b/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc
index c25da54458e04fc8f1922be5bb5c9247182402dd..0dfdab4c50cf9b49ddb941cd27da174551b205e2 100644
--- a/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc
+++ b/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc
@@ -27,6 +27,14 @@ NonPresentingGvrDelegate::~NonPresentingGvrDelegate() {
StopVSyncLoop();
}
+void NonPresentingGvrDelegate::SubmitWebVRFrame(
+ int16_t frame_index,
+ const gpu::MailboxHolder& mailbox,
+ device::mojom::VRSubmitFrameClientPtr submit_client) {
+ submit_client->OnSubmitFrameTransferred();
+ submit_client->OnSubmitFrameRendered();
+}
+
void NonPresentingGvrDelegate::OnVRVsyncProviderRequest(
device::mojom::VRVSyncProviderRequest request) {
binding_.Close();
« no previous file with comments | « chrome/browser/android/vr_shell/non_presenting_gvr_delegate.h ('k') | chrome/browser/android/vr_shell/vr_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698