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

Issue 462413004: rendering_helper - Refactoring - remove the Client interface. (Closed)

Created:
6 years, 4 months ago by Owen Lin
Modified:
6 years, 4 months ago
Reviewers:
Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

rendering_helper - Refactoring - remove the Client interface. Use a callback to return the released picture from rendering_helper. So we don't need the RenderingHelper::Client interface and thus simplify the code. BUG=None TEST=Run the vda_unittest on lumpy and ARM CrOS device. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291061

Patch Set 1 #

Total comments: 46

Patch Set 2 : address review comments #

Total comments: 21

Patch Set 3 : #

Total comments: 14

Patch Set 4 : address review comment #

Patch Set 5 : fix compiling errors(warnings) #

Patch Set 6 : fix one more compiling error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -148 lines) Patch
M content/common/gpu/media/rendering_helper.h View 1 2 3 4 5 6 chunks +72 lines, -39 lines 0 comments Download
M content/common/gpu/media/rendering_helper.cc View 1 2 3 4 5 10 chunks +89 lines, -29 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 16 chunks +37 lines, -80 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Owen Lin
PTAL.
6 years, 4 months ago (2014-08-13 10:05:40 UTC) #1
Pawel Osciak
Beautiful change, so much simpler than before. Thanks Owen. https://codereview.chromium.org/462413004/diff/1/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/462413004/diff/1/content/common/gpu/media/rendering_helper.cc#newcode74 content/common/gpu/media/rendering_helper.cc:74: ...
6 years, 4 months ago (2014-08-14 04:48:24 UTC) #2
Pawel Osciak
Oh and please also test on ARM of course.
6 years, 4 months ago (2014-08-14 04:48:43 UTC) #3
Owen Lin
Thanks for the comments. PTAL. https://codereview.chromium.org/462413004/diff/1/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/462413004/diff/1/content/common/gpu/media/rendering_helper.cc#newcode74 content/common/gpu/media/rendering_helper.cc:74: if (!no_longer_needed_cb_.is_null()) On 2014/08/14 ...
6 years, 4 months ago (2014-08-14 09:20:42 UTC) #4
Pawel Osciak
https://codereview.chromium.org/462413004/diff/1/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/462413004/diff/1/content/common/gpu/media/rendering_helper.cc#newcode172 content/common/gpu/media/rendering_helper.cc:172: clients_.resize(params.window_sizes.size()); On 2014/08/14 09:20:41, Owen Lin wrote: > On ...
6 years, 4 months ago (2014-08-15 05:45:16 UTC) #5
Owen Lin
Thanks. PTAL. https://codereview.chromium.org/462413004/diff/40001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/462413004/diff/40001/content/common/gpu/media/rendering_helper.cc#newcode394 content/common/gpu/media/rendering_helper.cc:394: DCHECK(!video->pending_frames.empty()); On 2014/08/15 05:45:16, Pawel Osciak wrote: ...
6 years, 4 months ago (2014-08-18 09:03:08 UTC) #6
Pawel Osciak
lgtm % nits https://chromiumcodereview.appspot.com/462413004/diff/40001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://chromiumcodereview.appspot.com/462413004/diff/40001/content/common/gpu/media/rendering_helper.cc#newcode520 content/common/gpu/media/rendering_helper.cc:520: video->last_frame_rendered = true; On 2014/08/18 09:03:08, ...
6 years, 4 months ago (2014-08-20 10:26:26 UTC) #7
Owen Lin
https://chromiumcodereview.appspot.com/462413004/diff/40001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://chromiumcodereview.appspot.com/462413004/diff/40001/content/common/gpu/media/rendering_helper.cc#newcode520 content/common/gpu/media/rendering_helper.cc:520: video->last_frame_rendered = true; We will keep at most one ...
6 years, 4 months ago (2014-08-21 03:45:18 UTC) #8
Owen Lin
The CQ bit was checked by owenlin@chromium.org
6 years, 4 months ago (2014-08-21 03:45:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/owenlin@chromium.org/462413004/80001
6 years, 4 months ago (2014-08-21 03:48:00 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 08:39:25 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 08:49:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/6468)
6 years, 4 months ago (2014-08-21 08:50:00 UTC) #13
Owen Lin
The CQ bit was checked by owenlin@chromium.org
6 years, 4 months ago (2014-08-21 10:39:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/owenlin@chromium.org/462413004/100001
6 years, 4 months ago (2014-08-21 10:39:55 UTC) #15
Owen Lin
The CQ bit was checked by owenlin@chromium.org
6 years, 4 months ago (2014-08-21 11:01:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/owenlin@chromium.org/462413004/120001
6 years, 4 months ago (2014-08-21 11:01:36 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 14:22:47 UTC) #18
Message was sent while issue was closed.
Committed patchset #6 (120001) as 291061

Powered by Google App Engine
This is Rietveld 408576698