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

Unified Diff: media/capture/video/video_capture_device.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: reveman@ comment: remove multiple textures. 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: media/capture/video/video_capture_device.h
diff --git a/media/capture/video/video_capture_device.h b/media/capture/video/video_capture_device.h
index 2f806d0c9af3765699e59b3f2560e81fbe5e6549..bc7dd38eb64f27b03384c30a1be768f563d3f121 100644
--- a/media/capture/video/video_capture_device.h
+++ b/media/capture/video/video_capture_device.h
@@ -181,7 +181,8 @@ class MEDIA_EXPORT VideoCaptureDevice {
public:
virtual ~Buffer() = 0;
virtual int id() const = 0;
- virtual size_t size() const = 0;
+ virtual gfx::Size dimensions() const = 0;
+ virtual size_t mapped_size() const = 0;
virtual void* data(int plane) = 0;
void* data() { return data(0); }
virtual ClientBuffer AsClientBuffer(int plane) = 0;

Powered by Google App Engine
This is Rietveld 408576698