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

Issue 2112993002: Factor draw functionality out of DefaultPlatformDisplay into FrameGenerator. (Closed)

Created:
4 years, 5 months ago by mfomitchev
Modified:
4 years, 5 months ago
Reviewers:
Fady Samuel, fsamuel, 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

Factor draw functionality out of DefaultPlatformDisplay into FrameGenerator. Introducing a new class FrameGenerator, which is responsible for redrawing the display by submitting CompositorFrames to the owned DisplayCompositor. FrameGenerator is owned by PlatformDisplay. BUG=NONE Committed: https://crrev.com/6ccecb6657bcc8c670c0685ee36078fa4befa16b Cr-Commit-Position: refs/heads/master@{#403969}

Patch Set 1 #

Patch Set 2 : Temporary: rearrange method order to make review easier #

Patch Set 3 : Move methods to proper places, no functional changes. #

Patch Set 4 : git cl format #

Patch Set 5 : Removing debug LOG's. #

Total comments: 4

Patch Set 6 : Addressing a nit. #

Patch Set 7 : Rebase. #

Patch Set 8 : fix namespace comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -684 lines) Patch
M services/ui/ws/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A + services/ui/ws/frame_generator.h View 1 2 3 4 5 6 2 chunks +43 lines, -144 lines 0 comments Download
A + services/ui/ws/frame_generator.cc View 1 2 3 4 5 6 2 chunks +94 lines, -323 lines 0 comments Download
A + services/ui/ws/frame_generator_delegate.h View 1 2 3 4 5 6 7 1 chunk +20 lines, -12 lines 0 comments Download
M services/ui/ws/platform_display.h View 1 2 3 4 5 6 5 chunks +19 lines, -48 lines 0 comments Download
M services/ui/ws/platform_display.cc View 1 2 3 4 5 6 10 chunks +23 lines, -157 lines 0 comments Download
M services/ui/ws/test_utils.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (7 generated)
mfomitchev
PTAL. Factoring the draw functionality into a separate class as discussed in crrev.com/2099893002.
4 years, 5 months ago (2016-06-30 20:29:50 UTC) #4
Fady Samuel
Thanks for this refactor Mikhail. This makes it a lot easier to reason about and ...
4 years, 5 months ago (2016-06-30 20:45:35 UTC) #6
sky
https://codereview.chromium.org/2112993002/diff/120001/components/mus/ws/frame_generator_delegate.h File components/mus/ws/frame_generator_delegate.h (right): https://codereview.chromium.org/2112993002/diff/120001/components/mus/ws/frame_generator_delegate.h#newcode22 components/mus/ws/frame_generator_delegate.h:22: virtual ~FrameGeneratorDelegate(){}; nit: no ';', space after '()' and ...
4 years, 5 months ago (2016-06-30 23:40:20 UTC) #7
mfomitchev
https://codereview.chromium.org/2112993002/diff/120001/components/mus/ws/frame_generator_delegate.h File components/mus/ws/frame_generator_delegate.h (right): https://codereview.chromium.org/2112993002/diff/120001/components/mus/ws/frame_generator_delegate.h#newcode22 components/mus/ws/frame_generator_delegate.h:22: virtual ~FrameGeneratorDelegate(){}; On 2016/06/30 23:40:20, sky wrote: > nit: ...
4 years, 5 months ago (2016-07-06 15:53:09 UTC) #8
sky
What you have is good, LGTM
4 years, 5 months ago (2016-07-06 19:34:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2112993002/180001
4 years, 5 months ago (2016-07-06 19:50:04 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 5 months ago (2016-07-06 23:18:57 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 23:19:07 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 23:20:27 UTC) #16
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/6ccecb6657bcc8c670c0685ee36078fa4befa16b
Cr-Commit-Position: refs/heads/master@{#403969}

Powered by Google App Engine
This is Rietveld 408576698