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

Issue 1438903002: p1 mus+ash chrome renders ui and content (Closed)

Created:
5 years, 1 month ago by rjkroege
Modified:
5 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

p1 mus+ash chrome renders ui and content This patch forces mus+ash Chrome to software composite the ui and content region into a single bitmap that is uploaded to the mus window server. The approach here is similar to how Chrome paints to X11 when hardware acceleration is not available. BUG=554699 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/e482a6010424204e7c8e313c5922acc38506be5c Cr-Commit-Position: refs/heads/master@{#360289} Committed: https://crrev.com/c109de6120382395cafa9de062710e0f9eed861a Cr-Commit-Position: refs/heads/master@{#360464}

Patch Set 1 #

Patch Set 2 : cleaned up #

Total comments: 15

Patch Set 3 : review comments #

Total comments: 2

Patch Set 4 : more review #

Total comments: 10

Patch Set 5 : review comments #

Total comments: 6

Patch Set 6 : rebase, nits #

Patch Set 7 : fix build issues #

Patch Set 8 : rebased #

Patch Set 9 : rebase, build fix #

Patch Set 10 : rebased, fixed release build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -6 lines) Patch
M base/threading/thread_restrictions.h View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M components/bitmap_uploader/bitmap_uploader.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/bitmap_uploader/bitmap_uploader.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/compositor/DEPS View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 6 7 8 3 chunks +19 lines, -0 lines 0 comments Download
A content/browser/compositor/software_output_device_mus.h View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A content/browser/compositor/software_output_device_mus.cc View 1 2 3 4 5 6 7 8 9 1 chunk +64 lines, -0 lines 0 comments Download
M ui/views/mus/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -3 lines 0 comments Download
M ui/views/mus/platform_window_mus.cc View 1 2 3 4 5 6 7 2 chunks +15 lines, -1 line 0 comments Download
M ui/views/mus/window_tree_host_mus.h View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -0 lines 0 comments Download
M ui/views/mus/window_tree_host_mus.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 62 (27 generated)
rjkroege
+danakj@chromium.org for content/browser/compositor +jam@chromium.org for base/threading per discussion On 2015/11/13 01:45:55, rjkroege wrote: > Description ...
5 years, 1 month ago (2015-11-13 01:51:35 UTC) #4
rjkroege
danakj@chromium.org: Please review changes in jam@chromium.org: Please review changes in
5 years, 1 month ago (2015-11-13 01:52:03 UTC) #6
Fady Samuel
A few comments, thoughts and nits. https://codereview.chromium.org/1438903002/diff/20001/components/bitmap_uploader/bitmap_uploader.h File components/bitmap_uploader/bitmap_uploader.h (right): https://codereview.chromium.org/1438903002/diff/20001/components/bitmap_uploader/bitmap_uploader.h#newcode23 components/bitmap_uploader/bitmap_uploader.h:23: extern const char ...
5 years, 1 month ago (2015-11-13 02:18:02 UTC) #8
rjkroege
https://codereview.chromium.org/1438903002/diff/20001/components/bitmap_uploader/bitmap_uploader.h File components/bitmap_uploader/bitmap_uploader.h (right): https://codereview.chromium.org/1438903002/diff/20001/components/bitmap_uploader/bitmap_uploader.h#newcode23 components/bitmap_uploader/bitmap_uploader.h:23: extern const char kBitmapUploaderForAcceleratedWidget[]; On 2015/11/13 02:18:02, Fady Samuel ...
5 years, 1 month ago (2015-11-13 03:10:44 UTC) #9
Ben Goodger (Google)
https://codereview.chromium.org/1438903002/diff/40001/content/browser/compositor/software_output_device_mus.h File content/browser/compositor/software_output_device_mus.h (right): https://codereview.chromium.org/1438903002/diff/40001/content/browser/compositor/software_output_device_mus.h#newcode24 content/browser/compositor/software_output_device_mus.h:24: void EndPaint() override; nit: -> private
5 years, 1 month ago (2015-11-13 03:26:52 UTC) #11
Ben Goodger (Google)
https://codereview.chromium.org/1438903002/diff/20001/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/1438903002/diff/20001/content/browser/compositor/gpu_process_transport_factory.cc#newcode153 content/browser/compositor/gpu_process_transport_factory.cc:153: "mojo-platform-channel-handle")) { On 2015/11/13 03:10:43, rjkroege wrote: > On ...
5 years, 1 month ago (2015-11-13 03:29:35 UTC) #12
rjkroege
https://codereview.chromium.org/1438903002/diff/40001/content/browser/compositor/software_output_device_mus.h File content/browser/compositor/software_output_device_mus.h (right): https://codereview.chromium.org/1438903002/diff/40001/content/browser/compositor/software_output_device_mus.h#newcode24 content/browser/compositor/software_output_device_mus.h:24: void EndPaint() override; On 2015/11/13 03:26:52, Ben Goodger (Google) ...
5 years, 1 month ago (2015-11-13 03:38:52 UTC) #13
rjkroege
On 2015/11/13 03:29:35, Ben Goodger (Google) wrote: > https://codereview.chromium.org/1438903002/diff/20001/content/browser/compositor/gpu_process_transport_factory.cc > File content/browser/compositor/gpu_process_transport_factory.cc (right): > > ...
5 years, 1 month ago (2015-11-13 03:39:21 UTC) #14
Fady Samuel
lgtm + a couple of other nits. https://codereview.chromium.org/1438903002/diff/60001/content/browser/compositor/software_output_device_mus.cc File content/browser/compositor/software_output_device_mus.cc (right): https://codereview.chromium.org/1438903002/diff/60001/content/browser/compositor/software_output_device_mus.cc#newcode14 content/browser/compositor/software_output_device_mus.cc:14: #include "ui/gfx/vsync_provider.h" ...
5 years, 1 month ago (2015-11-13 07:57:34 UTC) #15
sky
https://codereview.chromium.org/1438903002/diff/60001/ui/views/mus/window_tree_host_mus.cc File ui/views/mus/window_tree_host_mus.cc (right): https://codereview.chromium.org/1438903002/diff/60001/ui/views/mus/window_tree_host_mus.cc#newcode32 ui/views/mus/window_tree_host_mus.cc:32: static uint32_t widget_counter = 1; nit: accelerated_widget_count. https://codereview.chromium.org/1438903002/diff/60001/ui/views/mus/window_tree_host_mus.cc#newcode197 ui/views/mus/window_tree_host_mus.cc:197: ...
5 years, 1 month ago (2015-11-13 16:24:26 UTC) #16
jam
lgtm with comment https://codereview.chromium.org/1438903002/diff/60001/base/threading/thread_restrictions.h File base/threading/thread_restrictions.h (right): https://codereview.chromium.org/1438903002/diff/60001/base/threading/thread_restrictions.h#newcode222 base/threading/thread_restrictions.h:222: friend class content::SoftwareOutputDeviceMus; // http://crbug.com/548451 nit: ...
5 years, 1 month ago (2015-11-13 17:17:55 UTC) #17
rjkroege
ccameron@chromium.org: please look at content/browser/compositor/* sky@chromium.org: ptal. https://codereview.chromium.org/1438903002/diff/60001/base/threading/thread_restrictions.h File base/threading/thread_restrictions.h (right): https://codereview.chromium.org/1438903002/diff/60001/base/threading/thread_restrictions.h#newcode222 base/threading/thread_restrictions.h:222: friend class ...
5 years, 1 month ago (2015-11-13 23:00:12 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438903002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438903002/80001
5 years, 1 month ago (2015-11-13 23:03:42 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/123185) mac_chromium_gn_rel on ...
5 years, 1 month ago (2015-11-13 23:07:45 UTC) #25
Ben Goodger (Google)
sky's OOO the rest of the day so I'll lgtm with these nits. re his ...
5 years, 1 month ago (2015-11-13 23:15:05 UTC) #26
ccameron
https://codereview.chromium.org/1438903002/diff/80001/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/1438903002/diff/80001/content/browser/compositor/gpu_process_transport_factory.cc#newcode156 content/browser/compositor/gpu_process_transport_factory.cc:156: } Can we get a IsRunningInMojoRunner() similar to the ...
5 years, 1 month ago (2015-11-13 23:15:42 UTC) #27
rjkroege
On 2015/11/13 23:15:42, ccameron wrote: > https://codereview.chromium.org/1438903002/diff/80001/content/browser/compositor/gpu_process_transport_factory.cc > File content/browser/compositor/gpu_process_transport_factory.cc (right): > > https://codereview.chromium.org/1438903002/diff/80001/content/browser/compositor/gpu_process_transport_factory.cc#newcode156 > ...
5 years, 1 month ago (2015-11-13 23:31:37 UTC) #28
ccameron
Fair enough -- lgtm
5 years, 1 month ago (2015-11-13 23:39:07 UTC) #29
rjkroege
https://codereview.chromium.org/1438903002/diff/80001/content/browser/compositor/software_output_device_mus.h File content/browser/compositor/software_output_device_mus.h (right): https://codereview.chromium.org/1438903002/diff/80001/content/browser/compositor/software_output_device_mus.h#newcode21 content/browser/compositor/software_output_device_mus.h:21: class CONTENT_EXPORT SoftwareOutputDeviceMus : public cc::SoftwareOutputDevice { On 2015/11/13 ...
5 years, 1 month ago (2015-11-14 01:13:05 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438903002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438903002/100001
5 years, 1 month ago (2015-11-14 01:14:56 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, no build URL)
5 years, 1 month ago (2015-11-14 01:35:19 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438903002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438903002/120001
5 years, 1 month ago (2015-11-17 01:20:21 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/123992) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 1 month ago (2015-11-17 01:23:34 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438903002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438903002/140001
5 years, 1 month ago (2015-11-17 01:49:33 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/121490)
5 years, 1 month ago (2015-11-17 02:15:04 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438903002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438903002/160001
5 years, 1 month ago (2015-11-17 23:52:15 UTC) #47
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/97402)
5 years, 1 month ago (2015-11-18 02:58:47 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438903002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438903002/160001
5 years, 1 month ago (2015-11-18 03:00:48 UTC) #52
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 1 month ago (2015-11-18 04:22:00 UTC) #53
commit-bot: I haz the power
Failed to apply the patch.
5 years, 1 month ago (2015-11-18 04:22:24 UTC) #54
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/e482a6010424204e7c8e313c5922acc38506be5c Cr-Commit-Position: refs/heads/master@{#360289}
5 years, 1 month ago (2015-11-18 04:22:36 UTC) #55
msramek
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/1460593004/ by msramek@chromium.org. ...
5 years, 1 month ago (2015-11-18 09:47:48 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438903002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438903002/180001
5 years, 1 month ago (2015-11-18 23:13:47 UTC) #60
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 1 month ago (2015-11-19 01:40:58 UTC) #61
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 01:41:59 UTC) #62
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c109de6120382395cafa9de062710e0f9eed861a
Cr-Commit-Position: refs/heads/master@{#360464}

Powered by Google App Engine
This is Rietveld 408576698