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

Unified Diff: content/browser/renderer_host/media/video_capture_host.h

Issue 1267883002: Pass GpuMemoryBuffer backed VideoFrame from browser to renderer processes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gmbtracker-multiple
Patch Set: Rebase Created 5 years, 4 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: content/browser/renderer_host/media/video_capture_host.h
diff --git a/content/browser/renderer_host/media/video_capture_host.h b/content/browser/renderer_host/media/video_capture_host.h
index 1caa8570c5332cb2421eca0290bab12b7d8b5d83..f2709123e1bd0e0cff79e0ff089d77629d81f513 100644
--- a/content/browser/renderer_host/media/video_capture_host.h
+++ b/content/browser/renderer_host/media/video_capture_host.h
@@ -82,6 +82,10 @@ class CONTENT_EXPORT VideoCaptureHost
base::SharedMemoryHandle handle,
int length,
int buffer_id) override;
+ void OnBufferCreated2(VideoCaptureControllerID id,
+ const std::vector<gfx::GpuMemoryBufferHandle>& handles,
+ const gfx::Size& size,
+ int buffer_id) override;
void OnBufferDestroyed(VideoCaptureControllerID id,
int buffer_id) override;
void OnBufferReady(VideoCaptureControllerID id,

Powered by Google App Engine
This is Rietveld 408576698