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

Issue 15875009: Refactor SynchronousCompositor out of SynchronousCompositorOutputSurface. (Closed)

Created:
7 years, 7 months ago by mkosiba (inactive)
Modified:
7 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, jdduke (slow)
Visibility:
Public.

Description

Refactor SynchronousCompositor out of SynchronousCompositorOutputSurface. This creates a separate SynchronousCompositorImpl class that is owned by the RenderWidget. This will be needed for hooking up the root layer scroll offset delegate. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203078

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : Joth's feedback #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : make it build on other platforms too #

Patch Set 6 : make it link on win #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : remove unneeded change in render_widget.h #

Patch Set 10 : Fix rebase mistake #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -52 lines) Patch
M cc/input/layer_scroll_offset_delegate.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/renderer/android/synchronous_compositor.h View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M content/public/renderer/android/synchronous_compositor_client.h View 1 2 chunks +9 lines, -3 lines 0 comments Download
A content/renderer/android/synchronous_compositor_impl.h View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
A content/renderer/android/synchronous_compositor_impl.cc View 1 2 3 4 5 6 7 1 chunk +88 lines, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 4 chunks +28 lines, -17 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 6 chunks +8 lines, -24 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
mkosiba (inactive)
Hey! This was part of https://codereview.chromium.org/15029006/ but it makes sense to do this change as ...
7 years, 7 months ago (2013-05-23 18:12:58 UTC) #1
joth
https://codereview.chromium.org/15875009/diff/2001/content/renderer/android/synchronous_compositor_impl.cc File content/renderer/android/synchronous_compositor_impl.cc (right): https://codereview.chromium.org/15875009/diff/2001/content/renderer/android/synchronous_compositor_impl.cc#newcode33 content/renderer/android/synchronous_compositor_impl.cc:33: return false; gracefully handling something you DCHECKed for is ...
7 years, 7 months ago (2013-05-23 19:20:57 UTC) #2
mkosiba (inactive)
https://codereview.chromium.org/15875009/diff/2001/content/renderer/android/synchronous_compositor_impl.cc File content/renderer/android/synchronous_compositor_impl.cc (right): https://codereview.chromium.org/15875009/diff/2001/content/renderer/android/synchronous_compositor_impl.cc#newcode33 content/renderer/android/synchronous_compositor_impl.cc:33: return false; On 2013/05/23 19:20:57, joth wrote: > gracefully ...
7 years, 7 months ago (2013-05-24 14:42:40 UTC) #3
joth
lgtm On Friday, 24 May 2013, <mkosiba@chromium.org> wrote: > > https://codereview.chromium.org/15875009/diff/2001/content/renderer/android/synchronous_compositor_impl.cc > File content/renderer/android/synchronous_compositor_impl.cc (right): ...
7 years, 7 months ago (2013-05-24 15:05:06 UTC) #4
jdduke (slow)
Sorry, kind of a drive-by =/ https://codereview.chromium.org/15875009/diff/7001/content/renderer/android/synchronous_compositor_impl.h File content/renderer/android/synchronous_compositor_impl.h (right): https://codereview.chromium.org/15875009/diff/7001/content/renderer/android/synchronous_compositor_impl.h#newcode17 content/renderer/android/synchronous_compositor_impl.h:17: class InputHandler; Nit: ...
7 years, 7 months ago (2013-05-24 15:16:41 UTC) #5
jdduke (slow)
https://codereview.chromium.org/15875009/diff/7001/content/public/renderer/android/synchronous_compositor.h File content/public/renderer/android/synchronous_compositor.h (right): https://codereview.chromium.org/15875009/diff/7001/content/public/renderer/android/synchronous_compositor.h#newcode21 content/public/renderer/android/synchronous_compositor.h:21: // Interface for embedders that which to direct compositing ...
7 years, 7 months ago (2013-05-24 15:26:26 UTC) #6
mkosiba (inactive)
https://codereview.chromium.org/15875009/diff/7001/content/public/renderer/android/synchronous_compositor.h File content/public/renderer/android/synchronous_compositor.h (right): https://codereview.chromium.org/15875009/diff/7001/content/public/renderer/android/synchronous_compositor.h#newcode21 content/public/renderer/android/synchronous_compositor.h:21: // Interface for embedders that which to direct compositing ...
7 years, 7 months ago (2013-05-24 16:22:33 UTC) #7
mkosiba (inactive)
James - could you PTAL @ the render_widget changes?
7 years, 6 months ago (2013-05-28 10:28:07 UTC) #8
jamesr
lgtm https://codereview.chromium.org/15875009/diff/36001/content/renderer/render_widget.h File content/renderer/render_widget.h (right): https://codereview.chromium.org/15875009/diff/36001/content/renderer/render_widget.h#newcode57 content/renderer/render_widget.h:57: class InputHandlerClient; this doesn't appear to be used, ...
7 years, 6 months ago (2013-05-29 23:00:50 UTC) #9
joth
+piman for content_renderer.gypi rubberstamp https://codereview.chromium.org/15875009/diff/36001/content/renderer/render_widget.h File content/renderer/render_widget.h (right): https://codereview.chromium.org/15875009/diff/36001/content/renderer/render_widget.h#newcode57 content/renderer/render_widget.h:57: class InputHandlerClient; On 2013/05/29 23:00:50, ...
7 years, 6 months ago (2013-05-29 23:42:55 UTC) #10
piman
lgtm
7 years, 6 months ago (2013-05-30 00:07:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/15875009/52001
7 years, 6 months ago (2013-05-30 00:35:54 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-05-30 01:22:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/15875009/52001
7 years, 6 months ago (2013-05-30 01:28:12 UTC) #14
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 05:02:01 UTC) #15
Message was sent while issue was closed.
Change committed as 203078

Powered by Google App Engine
This is Rietveld 408576698