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

Issue 271593010: rendering_helper - Replaces multiple windows by a full-screen window. (Closed)

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

Description

rendering_helper - Replace multiple windows by a full-screen window. On some ChromeOS devices, there would be extra effert to copy content from a window to the screen when the window is not full-sized. This change tries to replace the windows by a full-screen window and let different decoders draw on different areas of the window. This did improve the performance a lot. After this change, the time took by the thumbnail test is improved from 7 seconds to 1.6 seconds. Due to crbug/270064, we cannot run two fullscreen X apps. The chrome should be stopped before unning the vda_unittest. # touch /var/run/disable_chrome_restrat # restart ui BUG=chrome-os-partner:28176 TEST=Run the test on peach-pit Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276025

Patch Set 1 #

Patch Set 2 : #

Total comments: 21

Patch Set 3 : address review comments #

Patch Set 4 : fix typos and run git cl format #

Total comments: 8

Patch Set 5 : address Pawel's comment. #

Patch Set 6 : fix typos for windows platfrom #

Patch Set 7 : fix compiling errors on windows. #

Patch Set 8 : fix compiling error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -131 lines) Patch
M content/common/gpu/media/rendering_helper.h View 1 2 3 4 4 chunks +21 lines, -8 lines 0 comments Download
M content/common/gpu/media/rendering_helper.cc View 1 2 3 4 5 6 7 13 chunks +150 lines, -118 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 chunks +15 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Owen Lin
PTAL. This is the first step. Next, I will try to remove ThrottledVDAClient since we ...
6 years, 7 months ago (2014-05-08 09:55:29 UTC) #1
Ami GONE FROM CHROMIUM
Defer the rest of this review to posciak/yuli. https://codereview.chromium.org/271593010/diff/20001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/271593010/diff/20001/content/common/gpu/media/rendering_helper.cc#newcode22 content/common/gpu/media/rendering_helper.cc:22: const ...
6 years, 7 months ago (2014-05-08 21:15:09 UTC) #2
Owen Lin
https://codereview.chromium.org/271593010/diff/20001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/271593010/diff/20001/content/common/gpu/media/rendering_helper.cc#newcode22 content/common/gpu/media/rendering_helper.cc:22: const int kDefaultWindowHeight = 720; On 2014/05/08 21:15:09, Ami ...
6 years, 7 months ago (2014-05-09 10:25:02 UTC) #3
Pawel Osciak
https://codereview.chromium.org/271593010/diff/130001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/271593010/diff/130001/content/common/gpu/media/rendering_helper.cc#newcode189 content/common/gpu/media/rendering_helper.cc:189: // Per-window/surface X11 & EGL initialization. CHECK(texture_ids_.empty()); CHECK(texture_targets_.empty()); https://codereview.chromium.org/271593010/diff/130001/content/common/gpu/media/rendering_helper.cc#newcode203 ...
6 years, 7 months ago (2014-05-27 06:21:48 UTC) #4
Owen Lin
https://codereview.chromium.org/271593010/diff/130001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/271593010/diff/130001/content/common/gpu/media/rendering_helper.cc#newcode203 content/common/gpu/media/rendering_helper.cc:203: texture_ids_.push_back(0); On 2014/05/27 06:21:49, Pawel Osciak wrote: > You ...
6 years, 7 months ago (2014-05-27 07:33:51 UTC) #5
Pawel Osciak
https://codereview.chromium.org/271593010/diff/130001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/271593010/diff/130001/content/common/gpu/media/rendering_helper.cc#newcode474 content/common/gpu/media/rendering_helper.cc:474: texture_ids_[window_id] = texture_id; On 2014/05/27 07:33:51, Owen Lin wrote: ...
6 years, 6 months ago (2014-05-28 05:45:51 UTC) #6
Owen Lin
On 2014/05/28 05:45:51, Pawel Osciak wrote: > https://codereview.chromium.org/271593010/diff/130001/content/common/gpu/media/rendering_helper.cc > File content/common/gpu/media/rendering_helper.cc (right): > > https://codereview.chromium.org/271593010/diff/130001/content/common/gpu/media/rendering_helper.cc#newcode474 ...
6 years, 6 months ago (2014-05-28 08:01:20 UTC) #7
Pawel Osciak
On 2014/05/28 08:01:20, Owen Lin wrote: > On 2014/05/28 05:45:51, Pawel Osciak wrote: > > ...
6 years, 6 months ago (2014-05-29 08:18:14 UTC) #8
Owen Lin
On 2014/05/29 08:18:14, Pawel Osciak wrote: > On 2014/05/28 08:01:20, Owen Lin wrote: > > ...
6 years, 6 months ago (2014-05-30 01:13:46 UTC) #9
Pawel Osciak
On 2014/05/30 01:13:46, Owen Lin wrote: > On 2014/05/29 08:18:14, Pawel Osciak wrote: > > ...
6 years, 6 months ago (2014-05-30 01:25:57 UTC) #10
Owen Lin
On 2014/05/30 01:25:57, Pawel Osciak wrote: > On 2014/05/30 01:13:46, Owen Lin wrote: > > ...
6 years, 6 months ago (2014-05-30 01:54:00 UTC) #11
Owen Lin
Hi, Scherkus, Can you help us review the CL? Pawel and I has discussed about ...
6 years, 6 months ago (2014-06-04 05:05:29 UTC) #12
scherkus (not reviewing)
rs lgtm
6 years, 6 months ago (2014-06-06 21:50:38 UTC) #13
Owen Lin
The CQ bit was checked by owenlin@chromium.org
6 years, 6 months ago (2014-06-09 03:01:24 UTC) #14
Owen Lin
The CQ bit was unchecked by owenlin@chromium.org
6 years, 6 months ago (2014-06-09 03:01:26 UTC) #15
Owen Lin
The CQ bit was checked by owenlin@chromium.org
6 years, 6 months ago (2014-06-09 03:01:47 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/271593010/150001
6 years, 6 months ago (2014-06-09 03:02:42 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-09 06:48:00 UTC) #18
Owen Lin
The CQ bit was unchecked by owenlin@chromium.org
6 years, 6 months ago (2014-06-09 06:49:31 UTC) #19
Owen Lin
The CQ bit was checked by owenlin@chromium.org
6 years, 6 months ago (2014-06-09 06:55:12 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/owenlin@chromium.org/271593010/170001
6 years, 6 months ago (2014-06-09 06:55:53 UTC) #21
Owen Lin
The CQ bit was checked by owenlin@chromium.org
6 years, 6 months ago (2014-06-09 09:13:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/owenlin@chromium.org/271593010/190001
6 years, 6 months ago (2014-06-09 09:14:32 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-09 11:55:43 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-09 12:55:52 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/35633)
6 years, 6 months ago (2014-06-09 12:55:53 UTC) #26
Owen Lin
The CQ bit was checked by owenlin@chromium.org
6 years, 6 months ago (2014-06-10 04:32:10 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/owenlin@chromium.org/271593010/210001
6 years, 6 months ago (2014-06-10 04:35:47 UTC) #28
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 14:50:05 UTC) #29
Message was sent while issue was closed.
Change committed as 276025

Powered by Google App Engine
This is Rietveld 408576698