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

Issue 277713002: ui/compositor: move the browser compositor thread to the ContextFactory (Closed)

Created:
6 years, 7 months ago by piman
Modified:
6 years, 7 months ago
Reviewers:
danakj, sky
CC:
chromium-reviews, cc-bugs_chromium.org, ben+aura_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, Ian Vollick, sadrul, jam, yzshen+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, Aaron Boodman, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, abarth-chromium, ben+mojo_chromium.org, darin (slow to review)
Visibility:
Public.

Description

ui/compositor: move the browser compositor thread to the ContextFactory Trying to get rid of more globals in ui/compositor. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269608

Patch Set 1 #

Total comments: 8

Patch Set 2 : review comments #

Patch Set 3 : rebase #

Patch Set 4 : rebase, fix includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -87 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.h View 3 chunks +6 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 6 chunks +24 lines, -4 lines 0 comments Download
M content/browser/compositor/reflector_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/reflector_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/compositor/software_browser_compositor_output_surface_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/compositor/software_output_device_ozone_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M mojo/aura/context_factory_mojo.h View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/aura/context_factory_mojo.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/env.cc View 1 3 chunks +0 lines, -5 lines 0 comments Download
M ui/compositor/compositor.h View 3 chunks +5 lines, -5 lines 0 comments Download
M ui/compositor/compositor.cc View 12 chunks +10 lines, -64 lines 0 comments Download
M ui/compositor/layer_unittest.cc View 4 chunks +0 lines, -4 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 2 3 3 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
piman
It also means we don't need Compositor::Initialize/Terminate. danakj: please review sky: OWNER for aura and ...
6 years, 7 months ago (2014-05-08 22:26:42 UTC) #1
piman
On 2014/05/08 22:26:42, piman wrote: > It also means we don't need Compositor::Initialize/Terminate. > > ...
6 years, 7 months ago (2014-05-08 22:33:23 UTC) #2
sky
https://codereview.chromium.org/277713002/diff/1/ui/aura/env.cc File ui/aura/env.cc (right): https://codereview.chromium.org/277713002/diff/1/ui/aura/env.cc#newcode9 ui/aura/env.cc:9: #include "ui/compositor/compositor.h" If you can, remove this include.
6 years, 7 months ago (2014-05-08 22:37:13 UTC) #3
danakj
LGTM https://codereview.chromium.org/277713002/diff/1/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/277713002/diff/1/content/browser/compositor/gpu_process_transport_factory.cc#newcode85 content/browser/compositor/gpu_process_transport_factory.cc:85: compositor_thread_->Stop(); Why do we need to do Stop() ...
6 years, 7 months ago (2014-05-08 22:37:30 UTC) #4
piman
https://codereview.chromium.org/277713002/diff/1/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/277713002/diff/1/content/browser/compositor/gpu_process_transport_factory.cc#newcode85 content/browser/compositor/gpu_process_transport_factory.cc:85: compositor_thread_->Stop(); On 2014/05/08 22:37:30, danakj wrote: > Why do ...
6 years, 7 months ago (2014-05-08 22:48:34 UTC) #5
piman
The CQ bit was checked by piman@chromium.org
6 years, 7 months ago (2014-05-09 02:24:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/277713002/40001
6 years, 7 months ago (2014-05-09 02:27:38 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 06:01:10 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 06:08:40 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/66727) linux_chromium_chromeos_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_clang_dbg/builds/15620)
6 years, 7 months ago (2014-05-09 06:08:41 UTC) #10
sky
LGTM
6 years, 7 months ago (2014-05-09 16:49:29 UTC) #11
piman
The CQ bit was checked by piman@chromium.org
6 years, 7 months ago (2014-05-09 16:49:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/277713002/40001
6 years, 7 months ago (2014-05-09 16:54:27 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 17:13:10 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 17:25:48 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_clang_dbg/builds/15723)
6 years, 7 months ago (2014-05-09 17:25:49 UTC) #16
piman
The CQ bit was checked by piman@chromium.org
6 years, 7 months ago (2014-05-09 22:10:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/277713002/60001
6 years, 7 months ago (2014-05-09 22:13:36 UTC) #18
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 19:00:57 UTC) #19
Message was sent while issue was closed.
Change committed as 269608

Powered by Google App Engine
This is Rietveld 408576698