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

Issue 2101833002: [Remoting Android] DisplayUpdaterFactory cleanups (Closed)

Created:
4 years, 5 months ago by Yuwei
Modified:
4 years, 5 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, posciak+watch_chromium.org, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Remoting Android] DisplayUpdaterFactory cleanups This CL resolves comments in 2055143002 after CL being committed: * Move Initialize() function to protocol::VideoRenderer interface * Rename JniFrameConsumer to JniVideoRenderer * Resolves other comments BUG=385924 Committed: https://crrev.com/9915862a79639f07174a2cfbc210d78389783501 Cr-Commit-Position: refs/heads/master@{#403263}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Reviewer's Feedback #

Total comments: 10

Patch Set 3 : Reviewer's Feedback #

Patch Set 4 : Fix Build Failure #

Patch Set 5 : Build Fix again #

Total comments: 16

Patch Set 6 : Reviewer's Feedback #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -344 lines) Patch
M remoting/android/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.h View 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M remoting/client/jni/display_updater_factory.h View 2 chunks +2 lines, -5 lines 0 comments Download
M remoting/client/jni/jni_display_handler.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/client/jni/jni_display_handler.cc View 2 chunks +4 lines, -4 lines 2 comments Download
D remoting/client/jni/jni_frame_consumer.h View 1 chunk +0 lines, -71 lines 0 comments Download
D remoting/client/jni/jni_frame_consumer.cc View 1 chunk +0 lines, -157 lines 0 comments Download
M remoting/client/jni/jni_gl_display_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/jni/jni_gl_display_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/client/jni/jni_video_renderer.h View 1 2 3 4 5 1 chunk +54 lines, -17 lines 0 comments Download
A + remoting/client/jni/jni_video_renderer.cc View 1 2 3 4 5 5 chunks +21 lines, -26 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M remoting/client/plugin/pepper_video_renderer.h View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M remoting/client/plugin/pepper_video_renderer_2d.h View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M remoting/client/plugin/pepper_video_renderer_2d.cc View 1 2 3 4 5 4 chunks +15 lines, -13 lines 0 comments Download
M remoting/client/plugin/pepper_video_renderer_3d.h View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M remoting/client/plugin/pepper_video_renderer_3d.cc View 1 2 3 4 5 4 chunks +25 lines, -21 lines 0 comments Download
M remoting/client/software_video_renderer.h View 1 2 3 4 5 3 chunks +10 lines, -1 line 0 comments Download
M remoting/client/software_video_renderer.cc View 1 2 3 chunks +16 lines, -0 lines 0 comments Download
M remoting/protocol/fake_video_renderer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/protocol/fake_video_renderer.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/protocol/video_renderer.h View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M remoting/test/protocol_perftest.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/test/test_video_renderer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/test/test_video_renderer.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (11 generated)
Yuwei
ptal https://codereview.chromium.org/2101833002/diff/1/remoting/client/jni/jni_video_renderer.h File remoting/client/jni/jni_video_renderer.h (right): https://codereview.chromium.org/2101833002/diff/1/remoting/client/jni/jni_video_renderer.h#newcode20 remoting/client/jni/jni_video_renderer.h:20: class ClientContext; This is from the old JniFrameConsumer. ...
4 years, 5 months ago (2016-06-28 00:18:35 UTC) #2
Sergey Ulanov
Thanks for the cleanups! https://codereview.chromium.org/2101833002/diff/1/remoting/client/jni/jni_video_renderer.cc File remoting/client/jni/jni_video_renderer.cc (right): https://codereview.chromium.org/2101833002/diff/1/remoting/client/jni/jni_video_renderer.cc#newcode1 remoting/client/jni/jni_video_renderer.cc:1: // Copyright 2013 The Chromium ...
4 years, 5 months ago (2016-06-28 17:59:50 UTC) #3
Yuwei
ptal https://codereview.chromium.org/2101833002/diff/1/remoting/client/jni/jni_video_renderer.cc File remoting/client/jni/jni_video_renderer.cc (right): https://codereview.chromium.org/2101833002/diff/1/remoting/client/jni/jni_video_renderer.cc#newcode1 remoting/client/jni/jni_video_renderer.cc:1: // Copyright 2013 The Chromium Authors. All rights ...
4 years, 5 months ago (2016-06-28 18:46:06 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2101833002/20001
4 years, 5 months ago (2016-06-28 18:47:58 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/88438) linux_chromium_asan_rel_ng on ...
4 years, 5 months ago (2016-06-28 19:07:54 UTC) #8
Sergey Ulanov
https://codereview.chromium.org/2101833002/diff/20001/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/2101833002/diff/20001/remoting/client/plugin/chromoting_instance.cc#newcode637 remoting/client/plugin/chromoting_instance.cc:637: !video_renderer_->SetPepperContext(this, this)) { Call SetPepperContext() before Initialize() https://codereview.chromium.org/2101833002/diff/20001/remoting/client/plugin/pepper_video_renderer_2d.cc File ...
4 years, 5 months ago (2016-06-28 19:08:02 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2101833002/40001
4 years, 5 months ago (2016-06-28 21:38:26 UTC) #11
Yuwei
ptal https://codereview.chromium.org/2101833002/diff/20001/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/2101833002/diff/20001/remoting/client/plugin/chromoting_instance.cc#newcode637 remoting/client/plugin/chromoting_instance.cc:637: !video_renderer_->SetPepperContext(this, this)) { On 2016/06/28 19:08:01, Sergey Ulanov ...
4 years, 5 months ago (2016-06-28 21:43:03 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/88871) linux_chromium_rel_ng on ...
4 years, 5 months ago (2016-06-28 22:06:59 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2101833002/60001
4 years, 5 months ago (2016-06-28 22:24:37 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2101833002/80001
4 years, 5 months ago (2016-06-28 23:04:11 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 01:05:08 UTC) #21
Sergey Ulanov
https://codereview.chromium.org/2101833002/diff/80001/remoting/client/jni/jni_video_renderer.cc File remoting/client/jni/jni_video_renderer.cc (right): https://codereview.chromium.org/2101833002/diff/80001/remoting/client/jni/jni_video_renderer.cc#newcode98 remoting/client/jni/jni_video_renderer.cc:98: video_renderer_(this), call this software_video_renderer_? https://codereview.chromium.org/2101833002/diff/80001/remoting/client/jni/jni_video_renderer.cc#newcode150 remoting/client/jni/jni_video_renderer.cc:150: return true; return ...
4 years, 5 months ago (2016-06-29 23:02:13 UTC) #22
Yuwei
ptal https://codereview.chromium.org/2101833002/diff/80001/remoting/client/jni/jni_video_renderer.cc File remoting/client/jni/jni_video_renderer.cc (right): https://codereview.chromium.org/2101833002/diff/80001/remoting/client/jni/jni_video_renderer.cc#newcode98 remoting/client/jni/jni_video_renderer.cc:98: video_renderer_(this), On 2016/06/29 23:02:12, Sergey Ulanov wrote: > ...
4 years, 5 months ago (2016-06-29 23:38:03 UTC) #23
Yuwei
https://codereview.chromium.org/2101833002/diff/100001/remoting/client/jni/jni_display_handler.cc File remoting/client/jni/jni_display_handler.cc (right): https://codereview.chromium.org/2101833002/diff/100001/remoting/client/jni/jni_display_handler.cc#newcode96 remoting/client/jni/jni_display_handler.cc:96: new JniVideoRenderer(runtime_, weak_factory_.GetWeakPtr())); After separating initialization code from the ...
4 years, 5 months ago (2016-06-30 07:51:02 UTC) #24
Sergey Ulanov
LGTM
4 years, 5 months ago (2016-06-30 19:03:09 UTC) #25
Yuwei
https://codereview.chromium.org/2101833002/diff/100001/remoting/client/jni/jni_display_handler.cc File remoting/client/jni/jni_display_handler.cc (right): https://codereview.chromium.org/2101833002/diff/100001/remoting/client/jni/jni_display_handler.cc#newcode96 remoting/client/jni/jni_display_handler.cc:96: new JniVideoRenderer(runtime_, weak_factory_.GetWeakPtr())); On 2016/06/30 07:51:02, Yuwei wrote: > ...
4 years, 5 months ago (2016-06-30 19:13:54 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2101833002/100001
4 years, 5 months ago (2016-06-30 19:15:40 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-06-30 20:09:57 UTC) #29
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 20:10:21 UTC) #30
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 20:11:52 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9915862a79639f07174a2cfbc210d78389783501
Cr-Commit-Position: refs/heads/master@{#403263}

Powered by Google App Engine
This is Rietveld 408576698