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

Unified Diff: chrome/browser/android/vr_shell/vr_shell.h

Issue 2739973002: Revert of WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: 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/vr_shell.h
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
index 27e439b4f8d36448cccf79983a0cdb5a0986f6ac..deb1f1fefdd8dffe017701b027c1dfb4aff4c912 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -30,10 +30,6 @@
namespace content {
class WebContents;
-}
-
-namespace gpu {
-struct MailboxHolder;
}
namespace ui {
@@ -173,7 +169,7 @@
static device::mojom::VRPosePtr VRPosePtrFromGvrPose(gvr::Mat4f head_mat);
static device::mojom::VRDisplayInfoPtr CreateVRDisplayInfo(
gvr::GvrApi* gvr_api,
- gvr::Sizei recommended_size,
+ gvr::Sizei compositor_size,
uint32_t device_id);
private:
@@ -190,12 +186,10 @@
// device::GvrDelegate implementation
void SetWebVRSecureOrigin(bool secure_origin) override;
- void SubmitWebVRFrame(int16_t frame_index,
- const gpu::MailboxHolder& mailbox) override;
+ void SubmitWebVRFrame() override;
void UpdateWebVRTextureBounds(int16_t frame_index,
const gvr::Rectf& left_bounds,
- const gvr::Rectf& right_bounds,
- const gvr::Sizei& source_size) override;
+ const gvr::Rectf& right_bounds) override;
void OnVRVsyncProviderRequest(
device::mojom::VRVSyncProviderRequest request) override;
void UpdateVSyncInterval(int64_t timebase_nanos,
« no previous file with comments | « chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698