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

Unified Diff: media/base/video_capture_types.h

Issue 1191443003: VideoCaptureParams: add flag for hinting capture using GpuMemoryBuffers & flag for it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « media/base/media_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_capture_types.h
diff --git a/media/base/video_capture_types.h b/media/base/video_capture_types.h
index c849ed7b35f9673d9112da267904754c9aafd25e..f2db64534609b5594f3f54d75b79a3143f09dfcc 100644
--- a/media/base/video_capture_types.h
+++ b/media/base/video_capture_types.h
@@ -113,6 +113,11 @@ class MEDIA_EXPORT VideoCaptureParams {
// Policy for resolution change.
ResolutionChangePolicy resolution_change_policy;
+
+#if defined(OS_LINUX)
+ // Indication to the Driver to try to use native GpuMemoryBuffers.
+ bool use_native_gpu_memory_buffers;
tommi (sloooow) - chröme 2015/06/15 19:08:58 the member variables in this class and above, don'
mcasas 2015/06/16 05:50:02 Done. And VideoCaptureFormat as well in l.67
+#endif
};
} // namespace media
« no previous file with comments | « media/base/media_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698