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

Issue 1976663003: Pull parts of TopLevelDisplayClient into DisplayCompositor (Closed)

Created:
4 years, 7 months ago by Fady Samuel
Modified:
4 years, 7 months ago
Reviewers:
rjkroege, sky
CC:
chromium-reviews, rjkroege
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pull parts of TopLevelDisplayClient into DisplayCompositor This CL starts to expose the beginnings of the API DisplayCompositor should have: SubmitCompositorFrame RequestCopyOfOutput TODO: Hittest TopLevelDisplayClient becomes a very thin implementation of cc::DisplayClient and starts to resemble OnscreenDisplayClient. BUG=610937, 610935 Committed: https://crrev.com/4ae9b136bbf91f081db79870a0ceee7d88b78464 Cr-Commit-Position: refs/heads/master@{#393731}

Patch Set 1 #

Patch Set 2 : Renders #

Patch Set 3 : Resize on new CompositorFrame #

Total comments: 12

Patch Set 4 : Added comment #

Total comments: 8

Patch Set 5 : Addressed Rob's comments #

Total comments: 2

Patch Set 6 : Fixed typo #

Patch Set 7 : Fix ID allocation #

Patch Set 8 : RegisterSurfaceIdNamespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -157 lines) Patch
M components/mus/surfaces/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A components/mus/surfaces/display_compositor.h View 1 2 3 4 5 1 chunk +72 lines, -0 lines 0 comments Download
A components/mus/surfaces/display_compositor.cc View 1 2 3 4 5 6 7 1 chunk +103 lines, -0 lines 0 comments Download
M components/mus/surfaces/top_level_display_client.h View 1 chunk +21 lines, -42 lines 0 comments Download
M components/mus/surfaces/top_level_display_client.cc View 1 2 3 4 2 chunks +19 lines, -99 lines 0 comments Download
M components/mus/ws/platform_display.h View 1 2 3 4 4 chunks +4 lines, -3 lines 0 comments Download
M components/mus/ws/platform_display.cc View 1 2 3 4 5 chunks +12 lines, -12 lines 0 comments Download
M components/mus/ws/server_window_surface_manager.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 33 (17 generated)
Fady Samuel
4 years, 7 months ago (2016-05-12 19:42:46 UTC) #5
rjkroege
I have lots of questions. Please add comments. https://codereview.chromium.org/1976663003/diff/40001/components/mus/surfaces/display_compositor.h File components/mus/surfaces/display_compositor.h (right): https://codereview.chromium.org/1976663003/diff/40001/components/mus/surfaces/display_compositor.h#newcode19 components/mus/surfaces/display_compositor.h:19: // ...
4 years, 7 months ago (2016-05-12 23:03:45 UTC) #7
Fady Samuel
PTAL Rob! https://codereview.chromium.org/1976663003/diff/40001/components/mus/surfaces/display_compositor.h File components/mus/surfaces/display_compositor.h (right): https://codereview.chromium.org/1976663003/diff/40001/components/mus/surfaces/display_compositor.h#newcode19 components/mus/surfaces/display_compositor.h:19: // TODO(fsamuel): This should become a mojo ...
4 years, 7 months ago (2016-05-12 23:13:45 UTC) #8
rjkroege
https://codereview.chromium.org/1976663003/diff/60001/components/mus/surfaces/display_compositor.cc File components/mus/surfaces/display_compositor.cc (right): https://codereview.chromium.org/1976663003/diff/60001/components/mus/surfaces/display_compositor.cc#newcode92 components/mus/surfaces/display_compositor.cc:92: factory_.SubmitCompositorFrame(surface_id_, std::move(frame), why do you need to wrap the ...
4 years, 7 months ago (2016-05-12 23:26:37 UTC) #9
Fady Samuel
PTAL Rob! https://codereview.chromium.org/1976663003/diff/60001/components/mus/surfaces/display_compositor.cc File components/mus/surfaces/display_compositor.cc (right): https://codereview.chromium.org/1976663003/diff/60001/components/mus/surfaces/display_compositor.cc#newcode92 components/mus/surfaces/display_compositor.cc:92: factory_.SubmitCompositorFrame(surface_id_, std::move(frame), On 2016/05/12 23:26:36, rjkroege wrote: ...
4 years, 7 months ago (2016-05-13 18:43:41 UTC) #10
rjkroege
lgtm with nit https://codereview.chromium.org/1976663003/diff/80001/components/mus/surfaces/display_compositor.h File components/mus/surfaces/display_compositor.h (right): https://codereview.chromium.org/1976663003/diff/80001/components/mus/surfaces/display_compositor.h#newcode45 components/mus/surfaces/display_compositor.h:45: // This requests the display CompositorFrame ...
4 years, 7 months ago (2016-05-13 20:39:35 UTC) #11
Fady Samuel
+sky@ for components/mus/ws https://codereview.chromium.org/1976663003/diff/80001/components/mus/surfaces/display_compositor.h File components/mus/surfaces/display_compositor.h (right): https://codereview.chromium.org/1976663003/diff/80001/components/mus/surfaces/display_compositor.h#newcode45 components/mus/surfaces/display_compositor.h:45: // This requests the display CompositorFrame ...
4 years, 7 months ago (2016-05-13 22:45:27 UTC) #13
sky
LGTM
4 years, 7 months ago (2016-05-13 23:50:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1976663003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1976663003/100001
4 years, 7 months ago (2016-05-13 23:51:37 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/148061)
4 years, 7 months ago (2016-05-14 00:27:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1976663003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1976663003/120001
4 years, 7 months ago (2016-05-14 01:00:25 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1976663003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1976663003/140001
4 years, 7 months ago (2016-05-14 01:50:38 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-14 02:52:22 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1976663003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1976663003/140001
4 years, 7 months ago (2016-05-14 02:56:27 UTC) #29
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-05-14 03:00:18 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-14 03:01:36 UTC) #33
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/4ae9b136bbf91f081db79870a0ceee7d88b78464
Cr-Commit-Position: refs/heads/master@{#393731}

Powered by Google App Engine
This is Rietveld 408576698