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

Issue 83793004: Implement IPCs and VideoCapture::Client interfaces for texture capture (Closed)

Created:
7 years, 1 month ago by sheu
Modified:
6 years, 9 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org, Pawel Osciak, Alpha Left Google
Visibility:
Public.

Description

Implement IPCs and VideoCapture::Client interfaces for texture capture This change implements the IPC and interface changes necessary to support allowing video capture devices to capture to texture mailboxes. This is in preparation for eventually allowing zero-copy desktop/tab capture. BUG=269312 TEST=local build, unittests, run on CrOS snow Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254133

Patch Set 1 : 81ab4efa Initial. #

Patch Set 2 : 0fed6392 Rework for gpu::MailboxHolder. #

Patch Set 3 : 13752be6 Return syncpoints. #

Patch Set 4 : b8dd8be8 Run with desktop capture. #

Patch Set 5 : 5744a8bbb Nits. #

Total comments: 27

Patch Set 6 : 0b8d3c0b Updated. #

Total comments: 6

Patch Set 7 : 0e81839c Rebase, renames. #

Patch Set 8 : be295fcd Rebase. #

Patch Set 9 : 16cf3941 Rebase, comment. #

Total comments: 14

Patch Set 10 : ef9dfe6c Nits. #

Patch Set 11 : 826433e4 Rebase. #

Patch Set 12 : 563ffdfe Rebase. #

Patch Set 13 : e296ac98 Win32 bits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+733 lines, -335 lines) Patch
M content/browser/media/capture/content_video_capture_device_core.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/media/capture/content_video_capture_device_core.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +13 lines, -10 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +11 lines, -8 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +18 lines, -22 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +16 lines, -17 lines 0 comments Download
M content/browser/media/webrtc_getusermedia_browsertest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.h View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -7 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 12 chunks +97 lines, -62 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_event_handler.h View 1 2 3 4 5 6 7 8 9 2 chunks +17 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 13 chunks +170 lines, -41 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host.h View 1 2 3 4 5 6 3 chunks +18 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host.cc View 1 2 3 4 5 6 7 8 11 4 chunks +50 lines, -11 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host_unittest.cc View 1 2 3 4 5 6 7 5 chunks +32 lines, -9 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager_unittest.cc View 1 2 3 4 5 6 1 chunk +9 lines, -5 lines 0 comments Download
M content/common/media/video_capture_messages.h View 1 2 3 4 5 6 7 3 chunks +15 lines, -4 lines 0 comments Download
M content/renderer/media/video_capture_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +15 lines, -8 lines 0 comments Download
M content/renderer/media/video_capture_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +53 lines, -13 lines 0 comments Download
M content/renderer/media/video_capture_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/media/video_capture_message_filter.h View 1 2 3 4 5 6 7 8 9 3 chunks +22 lines, -4 lines 0 comments Download
M content/renderer/media/video_capture_message_filter.cc View 1 2 3 4 5 6 3 chunks +33 lines, -9 lines 0 comments Download
M content/renderer/media/video_capture_message_filter_unittest.cc View 1 2 3 4 5 6 2 chunks +44 lines, -9 lines 0 comments Download
M media/video/capture/android/video_capture_device_android.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -5 lines 0 comments Download
M media/video/capture/fake_video_capture_device.cc View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M media/video/capture/file_video_capture_device.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -5 lines 0 comments Download
M media/video/capture/linux/video_capture_device_linux.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M media/video/capture/mac/video_capture_device_mac.mm View 1 2 3 4 5 6 7 2 chunks +6 lines, -6 lines 0 comments Download
M media/video/capture/mac/video_capture_device_qtkit_mac.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/video_capture_device.h View 1 2 3 4 5 2 chunks +23 lines, -28 lines 0 comments Download
M media/video/capture/video_capture_device_unittest.cc View 1 2 3 4 5 1 chunk +10 lines, -11 lines 0 comments Download
M media/video/capture/video_capture_types.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M media/video/capture/video_capture_types.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/win/video_capture_device_mf_win.h View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download
M media/video/capture/win/video_capture_device_mf_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +9 lines, -11 lines 0 comments Download
M media/video/capture/win/video_capture_device_win.cc View 1 2 3 4 5 6 9 10 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 51 (0 generated)
sheu
Adding some relevant eyes on this. jiayl@, mcasas@: PTAL
6 years, 11 months ago (2014-01-15 09:20:46 UTC) #1
sheu
CC += posciak@ for informational purposes
6 years, 11 months ago (2014-01-15 09:23:13 UTC) #2
mcasas
Looks nice, just some comments here and there on my side -- but I'd get ...
6 years, 11 months ago (2014-01-21 14:34:02 UTC) #3
Alpha Left Google
6 years, 11 months ago (2014-01-23 19:54:25 UTC) #4
jiayl
https://codereview.chromium.org/83793004/diff/200037/content/browser/renderer_host/media/video_capture_device_impl.h File content/browser/renderer_host/media/video_capture_device_impl.h (right): https://codereview.chromium.org/83793004/diff/200037/content/browser/renderer_host/media/video_capture_device_impl.h#newcode148 content/browser/renderer_host/media/video_capture_device_impl.h:148: class CONTENT_EXPORT VideoCaptureDeviceImpl The naming of the class seems ...
6 years, 11 months ago (2014-01-23 22:18:52 UTC) #5
sheu
Updated. PTAL https://chromiumcodereview.appspot.com/83793004/diff/200037/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://chromiumcodereview.appspot.com/83793004/diff/200037/content/browser/renderer_host/media/video_capture_controller.cc#newcode469 content/browser/renderer_host/media/video_capture_controller.cc:469: << "Non-I420 output buffer format " << ...
6 years, 10 months ago (2014-01-29 01:19:20 UTC) #6
jiayl
https://chromiumcodereview.appspot.com/83793004/diff/200037/content/browser/renderer_host/media/video_capture_device_impl.h File content/browser/renderer_host/media/video_capture_device_impl.h (right): https://chromiumcodereview.appspot.com/83793004/diff/200037/content/browser/renderer_host/media/video_capture_device_impl.h#newcode148 content/browser/renderer_host/media/video_capture_device_impl.h:148: class CONTENT_EXPORT VideoCaptureDeviceImpl On 2014/01/29 01:19:20, sheu wrote: > ...
6 years, 10 months ago (2014-01-31 19:32:38 UTC) #7
sheu
https://chromiumcodereview.appspot.com/83793004/diff/200037/content/browser/renderer_host/media/video_capture_device_impl.h File content/browser/renderer_host/media/video_capture_device_impl.h (right): https://chromiumcodereview.appspot.com/83793004/diff/200037/content/browser/renderer_host/media/video_capture_device_impl.h#newcode148 content/browser/renderer_host/media/video_capture_device_impl.h:148: class CONTENT_EXPORT VideoCaptureDeviceImpl On 2014/01/31 19:32:38, jiayl wrote: > ...
6 years, 10 months ago (2014-02-07 00:37:24 UTC) #8
jiayl
https://chromiumcodereview.appspot.com/83793004/diff/200037/content/browser/renderer_host/media/video_capture_device_impl.h File content/browser/renderer_host/media/video_capture_device_impl.h (right): https://chromiumcodereview.appspot.com/83793004/diff/200037/content/browser/renderer_host/media/video_capture_device_impl.h#newcode148 content/browser/renderer_host/media/video_capture_device_impl.h:148: class CONTENT_EXPORT VideoCaptureDeviceImpl I hope we can avoid "impl", ...
6 years, 10 months ago (2014-02-07 01:22:07 UTC) #9
sheu
Rebased and such. The VideoCaptureDeviceImpl rename has been done in another CL. jiayl@: PTAL https://chromiumcodereview.appspot.com/83793004/diff/630001/content/browser/renderer_host/media/video_capture_controller.h ...
6 years, 10 months ago (2014-02-14 01:59:28 UTC) #10
jiayl
https://chromiumcodereview.appspot.com/83793004/diff/630001/content/browser/renderer_host/media/video_capture_controller.h File content/browser/renderer_host/media/video_capture_controller.h (right): https://chromiumcodereview.appspot.com/83793004/diff/630001/content/browser/renderer_host/media/video_capture_controller.h#newcode104 content/browser/renderer_host/media/video_capture_controller.h:104: // destroying or recycling the texture. But the code ...
6 years, 10 months ago (2014-02-14 17:39:43 UTC) #11
sheu
https://chromiumcodereview.appspot.com/83793004/diff/630001/content/browser/renderer_host/media/video_capture_controller.h File content/browser/renderer_host/media/video_capture_controller.h (right): https://chromiumcodereview.appspot.com/83793004/diff/630001/content/browser/renderer_host/media/video_capture_controller.h#newcode104 content/browser/renderer_host/media/video_capture_controller.h:104: // destroying or recycling the texture. On 2014/02/14 17:39:44, ...
6 years, 10 months ago (2014-02-14 20:23:18 UTC) #12
jiayl
On 2014/02/14 20:23:18, sheu wrote: > https://chromiumcodereview.appspot.com/83793004/diff/630001/content/browser/renderer_host/media/video_capture_controller.h > File content/browser/renderer_host/media/video_capture_controller.h (right): > > https://chromiumcodereview.appspot.com/83793004/diff/630001/content/browser/renderer_host/media/video_capture_controller.h#newcode104 > ...
6 years, 10 months ago (2014-02-15 01:01:24 UTC) #13
sheu
OWNERS reviews now. wjia@: PTAL. Thanks!
6 years, 10 months ago (2014-02-19 19:46:09 UTC) #14
wjia(left Chromium)
https://codereview.chromium.org/83793004/diff/1090001/content/browser/renderer_host/media/content_video_capture_device_core.h File content/browser/renderer_host/media/content_video_capture_device_core.h (right): https://codereview.chromium.org/83793004/diff/1090001/content/browser/renderer_host/media/content_video_capture_device_core.h#newcode19 content/browser/renderer_host/media/content_video_capture_device_core.h:19: nit: remove the blank line here and line 21. ...
6 years, 10 months ago (2014-02-19 22:05:18 UTC) #15
sheu
Updated. wjia@: PTAL, thanks! https://codereview.chromium.org/83793004/diff/1090001/content/browser/renderer_host/media/content_video_capture_device_core.h File content/browser/renderer_host/media/content_video_capture_device_core.h (right): https://codereview.chromium.org/83793004/diff/1090001/content/browser/renderer_host/media/content_video_capture_device_core.h#newcode19 content/browser/renderer_host/media/content_video_capture_device_core.h:19: On 2014/02/19 22:05:19, wjia wrote: ...
6 years, 10 months ago (2014-02-19 23:18:34 UTC) #16
wjia(left Chromium)
lgtm
6 years, 10 months ago (2014-02-20 00:07:10 UTC) #17
sheu
cevans@: IPC review please for content/common/media/video_capture_messages.h. Thanks!
6 years, 10 months ago (2014-02-20 01:06:31 UTC) #18
sheu
6 years, 10 months ago (2014-02-20 02:39:07 UTC) #19
sheu
cevans@: PTAL, thanks!
6 years, 10 months ago (2014-02-21 02:04:35 UTC) #20
sheu
cdn@: PTAL at content/common/media/video_capture_messages.h. Thanks!
6 years, 10 months ago (2014-02-22 00:56:47 UTC) #21
Cris Neckar
On 2014/02/22 00:56:47, sheu wrote: > cdn@: PTAL at content/common/media/video_capture_messages.h. Thanks! IPC changes lgtm
6 years, 10 months ago (2014-02-24 18:37:26 UTC) #22
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 10 months ago (2014-02-24 22:05:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/83793004/1600001
6 years, 10 months ago (2014-02-24 22:08:06 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-24 22:39:14 UTC) #25
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 10 months ago (2014-02-24 22:39:15 UTC) #26
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 10 months ago (2014-02-24 22:49:39 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/83793004/1600001
6 years, 10 months ago (2014-02-24 22:53:03 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-24 23:47:38 UTC) #29
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=118102
6 years, 10 months ago (2014-02-24 23:47:39 UTC) #30
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 10 months ago (2014-02-24 23:49:35 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/83793004/1600001
6 years, 10 months ago (2014-02-24 23:52:56 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/83793004/1600001
6 years, 10 months ago (2014-02-25 01:42:02 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-25 02:30:22 UTC) #34
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=118178
6 years, 10 months ago (2014-02-25 02:30:23 UTC) #35
mcasas
On 2014/02/25 02:30:23, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 10 months ago (2014-02-25 08:37:40 UTC) #36
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 10 months ago (2014-02-25 08:38:42 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/83793004/1600001
6 years, 10 months ago (2014-02-25 08:39:35 UTC) #38
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-25 08:39:45 UTC) #39
commit-bot: I haz the power
Failed to apply patch for content/browser/renderer_host/media/content_video_capture_device_core.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years, 10 months ago (2014-02-25 08:39:47 UTC) #40
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 10 months ago (2014-02-26 22:09:43 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/83793004/1620001
6 years, 10 months ago (2014-02-26 22:10:00 UTC) #42
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-26 22:41:50 UTC) #43
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 10 months ago (2014-02-26 22:41:52 UTC) #44
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 9 months ago (2014-02-28 08:49:05 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/83793004/1660002
6 years, 9 months ago (2014-02-28 08:49:30 UTC) #46
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-28 09:29:04 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel
6 years, 9 months ago (2014-02-28 09:29:04 UTC) #48
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 9 months ago (2014-02-28 13:54:51 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/83793004/1660002
6 years, 9 months ago (2014-02-28 13:55:11 UTC) #50
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 15:43:53 UTC) #51
Message was sent while issue was closed.
Change committed as 254133

Powered by Google App Engine
This is Rietveld 408576698