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

Issue 11470028: Move screen capturers to remoting/capturer. (Closed)

Created:
8 years ago by Sergey Ulanov
Modified:
8 years ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, sail+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Move screen capturers to remoting/capturer. Separating screen capturer code from the rest of remoting code so that it can be reused for screen capturing in WebRTC. Also added struct MouseCursorShape to avoid protobuf dependency. BUG=134249 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173789

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 18

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+445 lines, -5872 lines) Patch
D remoting/base/capture_data.h View 1 chunk +0 lines, -99 lines 0 comments Download
D remoting/base/capture_data.cc View 1 chunk +0 lines, -29 lines 0 comments Download
D remoting/base/shared_buffer.h View 1 chunk +0 lines, -69 lines 0 comments Download
D remoting/base/shared_buffer.cc View 1 chunk +0 lines, -37 lines 0 comments Download
D remoting/base/shared_buffer_factory.h View 1 chunk +0 lines, -28 lines 0 comments Download
D remoting/base/shared_buffer_unittest.cc View 1 chunk +0 lines, -50 lines 0 comments Download
M remoting/base/util.h View 1 2 3 4 5 1 chunk +1 line, -8 lines 0 comments Download
M remoting/base/util.cc View 1 2 3 4 5 2 chunks +14 lines, -37 lines 0 comments Download
A + remoting/capturer/DEPS View 1 1 chunk +1 line, -1 line 0 comments Download
A + remoting/capturer/capture_data.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + remoting/capturer/capture_data.cc View 1 chunk +1 line, -1 line 0 comments Download
A + remoting/capturer/differ.h View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
A + remoting/capturer/differ.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + remoting/capturer/differ_block.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + remoting/capturer/differ_block.cc View 2 chunks +6 lines, -5 lines 0 comments Download
A + remoting/capturer/differ_block_sse2.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/capturer/differ_block_sse2.cc View 2 chunks +3 lines, -2 lines 0 comments Download
A + remoting/capturer/differ_block_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + remoting/capturer/differ_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + remoting/capturer/linux/x_server_pixel_buffer.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/capturer/linux/x_server_pixel_buffer.cc View 1 chunk +1 line, -1 line 0 comments Download
A + remoting/capturer/mac/scoped_pixel_buffer_object.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/capturer/mac/scoped_pixel_buffer_object.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A remoting/capturer/mouse_cursor_shape.h View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
A + remoting/capturer/mouse_cursor_shape.cc View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
A + remoting/capturer/shared_buffer.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/capturer/shared_buffer.cc View 1 chunk +1 line, -1 line 0 comments Download
A + remoting/capturer/shared_buffer_factory.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/capturer/shared_buffer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A remoting/capturer/video_capturer_mock_objects.h View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
A remoting/capturer/video_capturer_mock_objects.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
A + remoting/capturer/video_frame.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + remoting/capturer/video_frame.cc View 1 chunk +1 line, -1 line 0 comments Download
A + remoting/capturer/video_frame_capturer.h View 1 2 3 4 chunks +6 lines, -8 lines 0 comments Download
A + remoting/capturer/video_frame_capturer_fake.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + remoting/capturer/video_frame_capturer_fake.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + remoting/capturer/video_frame_capturer_helper.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/capturer/video_frame_capturer_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
A + remoting/capturer/video_frame_capturer_helper_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + remoting/capturer/video_frame_capturer_linux.cc View 1 2 3 3 chunks +18 lines, -24 lines 0 comments Download
A + remoting/capturer/video_frame_capturer_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +42 lines, -25 lines 0 comments Download
A + remoting/capturer/video_frame_capturer_mac_unittest.cc View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
A + remoting/capturer/video_frame_capturer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -5 lines 0 comments Download
A + remoting/capturer/video_frame_capturer_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 8 chunks +25 lines, -31 lines 0 comments Download
A + remoting/capturer/video_frame_queue.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/capturer/video_frame_queue.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + remoting/capturer/win/desktop.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/capturer/win/desktop.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A + remoting/capturer/win/scoped_thread_desktop.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/capturer/win/scoped_thread_desktop.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/codec/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/codec/codec_test.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/codec/video_encoder_verbatim.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/codec/video_encoder_vp8.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/codec/video_encoder_vp8_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/chromoting_messages.h View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M remoting/host/client_session_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/desktop_environment.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/desktop_environment_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/desktop_session_agent.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M remoting/host/desktop_session_agent.cc View 1 2 3 2 chunks +3 lines, -10 lines 0 comments Download
M remoting/host/desktop_session_proxy.h View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M remoting/host/desktop_session_proxy.cc View 1 2 3 4 chunks +8 lines, -15 lines 0 comments Download
D remoting/host/differ.h View 1 chunk +0 lines, -82 lines 0 comments Download
D remoting/host/differ.cc View 1 chunk +0 lines, -211 lines 0 comments Download
D remoting/host/differ_block.h View 1 chunk +0 lines, -26 lines 0 comments Download
D remoting/host/differ_block.cc View 1 chunk +0 lines, -48 lines 0 comments Download
D remoting/host/differ_block_internal.h View 1 chunk +0 lines, -25 lines 0 comments Download
D remoting/host/differ_block_sse2.cc View 1 chunk +0 lines, -111 lines 0 comments Download
D remoting/host/differ_block_unittest.cc View 1 chunk +0 lines, -81 lines 0 comments Download
D remoting/host/differ_unittest.cc View 1 chunk +0 lines, -639 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 3 4 5 2 chunks +0 lines, -33 lines 0 comments Download
M remoting/host/host_mock_objects.cc View 1 2 3 4 5 1 chunk +0 lines, -17 lines 0 comments Download
M remoting/host/ipc_desktop_environment.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/ipc_desktop_environment_factory.cc View 2 chunks +1 line, -1 line 0 comments Download
M remoting/host/ipc_video_frame_capturer.h View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M remoting/host/ipc_video_frame_capturer.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
D remoting/host/linux/x_server_pixel_buffer.h View 1 chunk +0 lines, -71 lines 0 comments Download
D remoting/host/linux/x_server_pixel_buffer.cc View 1 chunk +0 lines, -265 lines 0 comments Download
D remoting/host/mac/scoped_pixel_buffer_object.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -33 lines 0 comments Download
D remoting/host/mac/scoped_pixel_buffer_object.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -47 lines 0 comments Download
M remoting/host/mouse_clamping_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/sas_injector_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
D remoting/host/video_frame.h View 1 chunk +0 lines, -63 lines 0 comments Download
D remoting/host/video_frame.cc View 1 chunk +0 lines, -18 lines 0 comments Download
D remoting/host/video_frame_capturer.h View 1 chunk +0 lines, -123 lines 0 comments Download
D remoting/host/video_frame_capturer_fake.h View 1 chunk +0 lines, -64 lines 0 comments Download
D remoting/host/video_frame_capturer_fake.cc View 1 chunk +0 lines, -133 lines 0 comments Download
D remoting/host/video_frame_capturer_helper.h View 1 chunk +0 lines, -83 lines 0 comments Download
D remoting/host/video_frame_capturer_helper.cc View 1 chunk +0 lines, -118 lines 0 comments Download
D remoting/host/video_frame_capturer_helper_unittest.cc View 1 chunk +0 lines, -215 lines 0 comments Download
D remoting/host/video_frame_capturer_linux.cc View 1 chunk +0 lines, -643 lines 0 comments Download
D remoting/host/video_frame_capturer_mac.mm View 1 chunk +0 lines, -857 lines 0 comments Download
D remoting/host/video_frame_capturer_mac_unittest.cc View 1 chunk +0 lines, -127 lines 0 comments Download
D remoting/host/video_frame_capturer_unittest.cc View 1 chunk +0 lines, -101 lines 0 comments Download
D remoting/host/video_frame_capturer_win.cc View 1 chunk +0 lines, -627 lines 0 comments Download
D remoting/host/video_frame_queue.h View 1 chunk +0 lines, -69 lines 0 comments Download
D remoting/host/video_frame_queue.cc View 1 chunk +0 lines, -38 lines 0 comments Download
M remoting/host/video_scheduler.h View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M remoting/host/video_scheduler.cc View 1 2 3 2 chunks +13 lines, -4 lines 0 comments Download
M remoting/host/video_scheduler_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
D remoting/host/win/desktop.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -58 lines 0 comments Download
D remoting/host/win/desktop.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -104 lines 0 comments Download
D remoting/host/win/scoped_thread_desktop.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -47 lines 0 comments Download
D remoting/host/win/scoped_thread_desktop.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -49 lines 0 comments Download
M remoting/host/win/session_desktop_environment_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/win/session_event_executor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 16 chunks +66 lines, -47 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Sergey Ulanov
tsepez@ - please approve chromoting_messages.h wez@ - everything else
8 years ago (2012-12-08 02:09:38 UTC) #1
Tom Sepez
chromoting_messages.h LGTM.
8 years ago (2012-12-08 16:46:00 UTC) #2
Sergey Ulanov
wez:ping
8 years ago (2012-12-10 23:31:42 UTC) #3
Wez
LGTM, but please let alexeypa@ take a look at the IPC changes. https://chromiumcodereview.appspot.com/11470028/diff/3001/remoting/capturer/capturer_mock_objects.h File remoting/capturer/capturer_mock_objects.h ...
8 years ago (2012-12-11 05:23:18 UTC) #4
Sergey Ulanov
alexeypa: ping https://codereview.chromium.org/11470028/diff/3001/remoting/capturer/capturer_mock_objects.h File remoting/capturer/capturer_mock_objects.h (right): https://codereview.chromium.org/11470028/diff/3001/remoting/capturer/capturer_mock_objects.h#newcode5 remoting/capturer/capturer_mock_objects.h:5: #ifndef REMOTING_CAPTURER_CAPTURER_MOCK_OBJECTS_H_ On 2012/12/11 05:23:18, Wez wrote: ...
8 years ago (2012-12-12 18:31:12 UTC) #5
alexeypa (please no reviews)
lgtm https://chromiumcodereview.appspot.com/11470028/diff/3001/remoting/capturer/mouse_cursor_shape.h File remoting/capturer/mouse_cursor_shape.h (right): https://chromiumcodereview.appspot.com/11470028/diff/3001/remoting/capturer/mouse_cursor_shape.h#newcode26 remoting/capturer/mouse_cursor_shape.h:26: std::string data; nit: std::vector<uint8> is more appropriate here. ...
8 years ago (2012-12-12 19:53:09 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/11470028/diff/12001/remoting/capturer/video_frame_capturer_mac.mm File remoting/capturer/video_frame_capturer_mac.mm (right): https://codereview.chromium.org/11470028/diff/12001/remoting/capturer/video_frame_capturer_mac.mm#newcode58 remoting/capturer/video_frame_capturer_mac.mm:58: void CopyRect(const uint8* src_plane, On 2012/12/12 19:53:10, alexeypa wrote: ...
8 years ago (2012-12-13 02:57:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11470028/21002
8 years ago (2012-12-13 02:57:59 UTC) #8
commit-bot: I haz the power
Presubmit check for 11470028-21002 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-13 02:58:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11470028/26001
8 years ago (2012-12-14 00:42:48 UTC) #10
commit-bot: I haz the power
Presubmit check for 11470028-26001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-14 00:43:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11470028/24002
8 years ago (2012-12-14 01:46:02 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-14 02:27:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11470028/35003
8 years ago (2012-12-15 01:14:34 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-15 01:50:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11470028/46002
8 years ago (2012-12-17 21:28:49 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-17 22:37:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11470028/30008
8 years ago (2012-12-18 02:18:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11470028/39008
8 years ago (2012-12-18 06:40:01 UTC) #19
commit-bot: I haz the power
8 years ago (2012-12-18 07:15:18 UTC) #20
Sorry for I got bad news for ya.
Compile failed with a clobber build on linux_chromeos.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chro...
Your code is likely broken or HEAD is junk. Please ensure your
code is not broken then alert the build sheriffs.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698