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

Issue 1439533004: Remove dead code paths around PIXEL_STORAGE_TEXTURE in capture pipeline. (Closed)

Created:
5 years, 1 month ago by miu
Modified:
4 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove dead code paths around PIXEL_STORAGE_TEXTURE in capture pipeline. Removes code to capture a result as a GPU texture (i.e., tab/desktop capture without read-back into main memory). This code has no activation path and is being removed to make future refactoring/clean-up efforts go more smoothly. This change also has a few minor clean-ups/comment changes in downstream code, based on revealations during the code removal process. BUG=552570 Committed: https://crrev.com/d3ec5867d26f67b821489476179ff1a9b9996d2a Cr-Commit-Position: refs/heads/master@{#360021}

Patch Set 1 : #

Total comments: 21

Patch Set 2 : We must go deeper...(more complete dead code removal + stringent checks) #

Patch Set 3 : REBASE #

Total comments: 12

Patch Set 4 : mcasas's second round comments REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -435 lines) Patch
M content/browser/media/capture/aura_window_capture_machine.cc View 2 chunks +1 line, -34 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device_aura_unittest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_buffer_pool.cc View 1 1 chunk +8 lines, -8 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc View 1 3 chunks +4 lines, -8 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 1 2 3 4 chunks +58 lines, -35 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 1 2 7 chunks +2 lines, -117 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_device_client.cc View 1 2 3 4 chunks +51 lines, -49 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_host.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/common/media/video_capture_messages.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/renderer/media/video_capture_impl.h View 1 2 chunks +1 line, -6 lines 0 comments Download
M content/renderer/media/video_capture_impl.cc View 1 4 chunks +42 lines, -61 lines 0 comments Download
M content/renderer/media/video_capture_impl_unittest.cc View 1 4 chunks +9 lines, -39 lines 0 comments Download
M content/renderer/media/video_capture_message_filter.h View 1 2 chunks +1 line, -6 lines 0 comments Download
M content/renderer/media/video_capture_message_filter.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/media/video_capture_message_filter_unittest.cc View 1 2 chunks +5 lines, -31 lines 0 comments Download
M media/base/video_capture_types.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M media/base/video_capture_types.cc View 1 3 chunks +12 lines, -4 lines 0 comments Download
M media/base/video_frame.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M media/capture/content/screen_capture_device_core.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M media/capture/content/thread_safe_capture_oracle.cc View 1 2 3 3 chunks +16 lines, -17 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
miu
dalecurtis: OWNERS stamp for media/base/* changes. mcasas: PTAL at all changes.
5 years, 1 month ago (2015-11-12 01:24:24 UTC) #4
mcasas
looks good, just a few minor comments, in general all in the line of explicitly ...
5 years, 1 month ago (2015-11-13 19:13:57 UTC) #5
miu
mcasas: PTAL. Addressed your comments and also uncovered more dead code to remove. Also, you ...
5 years, 1 month ago (2015-11-14 03:43:48 UTC) #6
DaleCurtis
media/base lgtm
5 years, 1 month ago (2015-11-16 17:09:33 UTC) #7
mcasas
LGTM with some minor comments around. Big thanks! https://codereview.chromium.org/1439533004/diff/80001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/1439533004/diff/80001/content/browser/renderer_host/media/video_capture_controller.cc#newcode156 content/browser/renderer_host/media/video_capture_controller.cc:156: << ...
5 years, 1 month ago (2015-11-17 02:23:47 UTC) #8
miu
https://codereview.chromium.org/1439533004/diff/80001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/1439533004/diff/80001/content/browser/renderer_host/media/video_capture_controller.cc#newcode156 content/browser/renderer_host/media/video_capture_controller.cc:156: << ", " << params.requested_format.frame_rate On 2015/11/17 02:23:47, mcasas ...
5 years, 1 month ago (2015-11-17 04:28:03 UTC) #9
miu
wfh: Need OWNERS stamp for trivial change in content/common/media/video_capture_messages.h.
5 years, 1 month ago (2015-11-17 04:28:57 UTC) #11
Will Harris
On 2015/11/17 04:28:57, miu wrote: > wfh: Need OWNERS stamp for trivial change in > ...
5 years, 1 month ago (2015-11-17 04:32:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1439533004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1439533004/100001
5 years, 1 month ago (2015-11-17 05:06:24 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 1 month ago (2015-11-17 06:18:26 UTC) #16
commit-bot: I haz the power
5 years, 1 month ago (2015-11-17 06:19:22 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d3ec5867d26f67b821489476179ff1a9b9996d2a
Cr-Commit-Position: refs/heads/master@{#360021}

Powered by Google App Engine
This is Rietveld 408576698