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

Issue 888783002: Composite to cc::Display from ui::InProcessContextFactory. (Closed)

Created:
5 years, 10 months ago by jbauman
Modified:
5 years, 10 months ago
Reviewers:
jamesr, sky, piman
CC:
chromium-reviews, sadrul, Ian Vollick, tfarina, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Composite to cc::Display from ui::InProcessContextFactory. The trees this composites may contain SurfaceLayers, so they have to be aggregated into a Display before being drawn. Also move OnscreenDisplayClient and SurfaceDisplayOutputSurface into cc/surfaces/ so they can be used by ui/compositor. Committed: https://crrev.com/f400ce53d5f5dfe57d0f533ae1b86e19c7ad72c6 Cr-Commit-Position: refs/heads/master@{#314269}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -448 lines) Patch
M cc/cc.gyp View 2 chunks +4 lines, -0 lines 0 comments Download
M cc/surfaces/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
A + cc/surfaces/onscreen_display_client.h View 1 3 chunks +18 lines, -16 lines 0 comments Download
A + cc/surfaces/onscreen_display_client.cc View 3 chunks +17 lines, -19 lines 0 comments Download
A cc/surfaces/surface_display_output_surface.h View 1 chunk +63 lines, -0 lines 0 comments Download
A + cc/surfaces/surface_display_output_surface.cc View 4 chunks +18 lines, -22 lines 0 comments Download
M content/browser/BUILD.gn View 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 3 chunks +11 lines, -9 lines 0 comments Download
D content/browser/compositor/onscreen_display_client.h View 1 chunk +0 lines, -73 lines 0 comments Download
D content/browser/compositor/onscreen_display_client.cc View 1 chunk +0 lines, -98 lines 0 comments Download
D content/browser/compositor/surface_display_output_surface.h View 1 chunk +0 lines, -64 lines 0 comments Download
D content/browser/compositor/surface_display_output_surface.cc View 1 chunk +0 lines, -102 lines 0 comments Download
M content/browser/compositor/test/no_transport_image_transport_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/test/no_transport_image_transport_factory.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 2 chunks +10 lines, -9 lines 0 comments Download
M content/content_browser.gypi View 2 chunks +0 lines, -9 lines 0 comments Download
M ui/aura/bench/bench_main.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/demo/demo_main.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/test/context_factories_for_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/compositor/test/in_process_context_factory.h View 1 2 2 chunks +12 lines, -2 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 2 6 chunks +46 lines, -8 lines 0 comments Download
M ui/views/examples/examples_main.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (4 generated)
jbauman
5 years, 10 months ago (2015-01-30 02:03:31 UTC) #2
piman
lgtm
5 years, 10 months ago (2015-01-30 04:02:34 UTC) #3
piman
nit: the issue title mentions NoTransportImageTransportFactory, but this is really about InProcessContextFactory, can you fix? ...
5 years, 10 months ago (2015-01-30 04:03:49 UTC) #4
jamesr
lgtm https://codereview.chromium.org/888783002/diff/1/cc/surfaces/display_client.h File cc/surfaces/display_client.h (right): https://codereview.chromium.org/888783002/diff/1/cc/surfaces/display_client.h#newcode16 cc/surfaces/display_client.h:16: class CC_SURFACES_EXPORT DisplayClient { this type has no ...
5 years, 10 months ago (2015-01-30 20:33:10 UTC) #5
jbauman
Also adding sadrul@ for OWNERS review of ui/.
5 years, 10 months ago (2015-01-30 23:09:14 UTC) #7
jbauman
I guess sadrul@ is ooo, so sky@ could you do a ui/ OWNERS review?
5 years, 10 months ago (2015-02-03 00:08:19 UTC) #9
sky
https://codereview.chromium.org/888783002/diff/20001/ui/compositor/test/in_process_context_factory.cc File ui/compositor/test/in_process_context_factory.cc (right): https://codereview.chromium.org/888783002/diff/20001/ui/compositor/test/in_process_context_factory.cc#newcode90 ui/compositor/test/in_process_context_factory.cc:90: InProcessContextFactory::~InProcessContextFactory() {} Might per_compositor_data_ be non-empty when you get ...
5 years, 10 months ago (2015-02-03 00:44:58 UTC) #10
jbauman
https://codereview.chromium.org/888783002/diff/20001/ui/compositor/test/in_process_context_factory.cc File ui/compositor/test/in_process_context_factory.cc (right): https://codereview.chromium.org/888783002/diff/20001/ui/compositor/test/in_process_context_factory.cc#newcode90 ui/compositor/test/in_process_context_factory.cc:90: InProcessContextFactory::~InProcessContextFactory() {} On 2015/02/03 00:44:58, sky wrote: > Might ...
5 years, 10 months ago (2015-02-03 01:47:21 UTC) #11
sky
LGTM
5 years, 10 months ago (2015-02-03 03:59:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888783002/40001
5 years, 10 months ago (2015-02-03 04:06:09 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-03 04:55:28 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 04:56:36 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f400ce53d5f5dfe57d0f533ae1b86e19c7ad72c6
Cr-Commit-Position: refs/heads/master@{#314269}

Powered by Google App Engine
This is Rietveld 408576698