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

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed)

Created:
8 years ago by danakj
Modified:
8 years ago
Reviewers:
jamesr, piman
CC:
chromium-reviews, Ian Vollick, jonathan.backer, jam, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, backer, piman, aelias_OOO_until_Jul13
Visibility:
Public.

Description

cc: Move WebCompositorOutputSurface and related classes into cc/ This moves: - WebKit::WebCompositorOutputSurface to cc::OutputSurface - WebKit::WebCompositorOutputSurfaceClient to cc::OutputSurfaceClient - Webkit::WebCompositorSoftwareOutputDevice to cc::SoftwareOutputDevice They become new files in cc/ so they are chromified style. This affects the various call-sites. This allows us to pass cc::CompositorFrame directly, without any need for WebCompositorFrame. BUG=146080 Depends on: https://bugs.webkit.org/show_bug.cgi?id=103967 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171847

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : mynits #

Total comments: 34

Patch Set 4 : reviewed #

Patch Set 5 : Add WebCompositorSupport for making an outputSurface for tests #

Patch Set 6 : rebase #

Total comments: 4

Patch Set 7 : forlanding #

Patch Set 8 : forlanding2 #

Patch Set 9 : forlanding3 #

Patch Set 10 : forlanding4 #

Patch Set 11 : forlanding5 #

Patch Set 12 : forlanding6 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+755 lines, -442 lines) Patch
M cc/DEPS View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/active_animation_unittest.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -2 lines 0 comments Download
M cc/delegated_renderer_layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -2 lines 0 comments Download
M cc/gl_renderer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +14 lines, -14 lines 0 comments Download
M cc/heads_up_display_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/io_surface_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_animation_controller_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M cc/layer_tree_host_client.h View 2 chunks +2 lines, -5 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 4 5 6 3 chunks +5 lines, -4 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 3 chunks +11 lines, -8 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 23 chunks +30 lines, -30 lines 0 comments Download
M cc/layer_tree_host_perftest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +7 lines, -7 lines 0 comments Download
M cc/output_surface.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +45 lines, -3 lines 0 comments Download
A cc/output_surface_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +27 lines, -0 lines 0 comments Download
M cc/proxy.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M cc/resource_provider.cc View 1 2 3 4 5 6 7 22 chunks +24 lines, -24 lines 0 comments Download
M cc/resource_provider_unittest.cc View 1 2 3 4 5 6 chunks +8 lines, -8 lines 0 comments Download
M cc/resource_update_controller_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M cc/scrollbar_layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A cc/software_output_device.h View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M cc/software_renderer.h View 3 chunks +5 lines, -8 lines 0 comments Download
M cc/software_renderer.cc View 1 2 3 4 5 6 chunks +8 lines, -12 lines 0 comments Download
M cc/software_renderer_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -6 lines 0 comments Download
M cc/test/animation_test_common.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/animation_test_common.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M cc/test/fake_output_surface.h View 1 2 3 4 5 1 chunk +45 lines, -4 lines 0 comments Download
A cc/test/fake_output_surface.cc View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A cc/test/fake_software_output_device.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A cc/test/fake_software_output_device.cc View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
D cc/test/fake_web_compositor_output_surface.h View 1 chunk +0 lines, -76 lines 0 comments Download
D cc/test/fake_web_compositor_software_output_device.h View 1 chunk +0 lines, -45 lines 0 comments Download
M cc/test/layer_tree_test_common.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test_common.cc View 1 2 3 4 5 6 5 chunks +6 lines, -14 lines 0 comments Download
M cc/test/pixel_test_output_surface.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -5 lines 0 comments Download
M cc/test/pixel_test_output_surface.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -6 lines 0 comments Download
M cc/tree_synchronizer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 6 7 8 6 chunks +37 lines, -41 lines 0 comments Download
M content/browser/renderer_host/image_transport_factory.cc View 1 2 3 4 5 6 6 chunks +19 lines, -18 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 1 2 3 3 chunks +15 lines, -16 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 2 3 6 chunks +14 lines, -20 lines 0 comments Download
M content/renderer/gpu/compositor_software_output_device_gl_adapter.h View 2 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/gpu/compositor_software_output_device_gl_adapter.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M ui/compositor/compositor.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 6 chunks +19 lines, -16 lines 0 comments Download
M webkit/compositor_bindings/compositor_bindings.gyp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/test/web_layer_tree_view_test_common.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.cc View 1 2 3 4 3 chunks +19 lines, -0 lines 0 comments Download
A webkit/compositor_bindings/web_compositor_support_output_surface.h View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
A webkit/compositor_bindings/web_compositor_support_output_surface.cc View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A webkit/compositor_bindings/web_compositor_support_software_output_device.h View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
A webkit/compositor_bindings/web_compositor_support_software_output_device.cc View 1 2 3 4 5 6 1 chunk +37 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
danakj
James, Antoine please both take a look. This needs https://bugs.webkit.org/show_bug.cgi?id=103967 to hide the webkitCaseFunctionNames.
8 years ago (2012-12-04 05:09:00 UTC) #1
danakj
+aelias
8 years ago (2012-12-04 05:29:05 UTC) #2
piman
LGTM+nit. In all the new files, you should keep to 80 cols to respect chromium ...
8 years ago (2012-12-04 06:41:06 UTC) #3
jamesr
try to format new/moved chromium-style files to 80col. i didn't mark everything that was over ...
8 years ago (2012-12-04 07:06:51 UTC) #4
danakj
PTAL I have no idea why clang demands the "struct" eveywhere in the base classes, ...
8 years ago (2012-12-04 18:15:34 UTC) #5
danakj
On Tue, Dec 4, 2012 at 1:15 PM, <danakj@chromium.org> wrote: > PTAL > > I ...
8 years ago (2012-12-04 18:16:36 UTC) #6
piman
https://codereview.chromium.org/11348371/diff/5001/cc/output_surface.h File cc/output_surface.h (right): https://codereview.chromium.org/11348371/diff/5001/cc/output_surface.h#newcode20 cc/output_surface.h:20: // 1. Created on the main thread via WebLayerTreeView::createOutputSurface. ...
8 years ago (2012-12-04 22:24:42 UTC) #7
danakj
PTAL On 2012/12/04 22:24:42, piman wrote: > https://codereview.chromium.org/11348371/diff/5001/cc/output_surface.h > File cc/output_surface.h (right): > > https://codereview.chromium.org/11348371/diff/5001/cc/output_surface.h#newcode20 ...
8 years ago (2012-12-04 22:33:57 UTC) #8
danakj
jamesr: can you please look at the webkit/ bits? that's the only part that was ...
8 years ago (2012-12-06 04:56:25 UTC) #9
danakj
review ping
8 years ago (2012-12-07 17:06:56 UTC) #10
jamesr
lgtm https://codereview.chromium.org/11348371/diff/19001/webkit/compositor_bindings/web_layer_tree_view_impl.cc File webkit/compositor_bindings/web_layer_tree_view_impl.cc (right): https://codereview.chromium.org/11348371/diff/19001/webkit/compositor_bindings/web_layer_tree_view_impl.cc#newcode241 webkit/compositor_bindings/web_layer_tree_view_impl.cc:241: WebKit::WebCompositorOutputSurface *web = m_client->createOutputSurface(); i think the * ...
8 years ago (2012-12-07 17:36:22 UTC) #11
danakj
thanks! https://codereview.chromium.org/11348371/diff/19001/webkit/compositor_bindings/web_layer_tree_view_impl.cc File webkit/compositor_bindings/web_layer_tree_view_impl.cc (right): https://codereview.chromium.org/11348371/diff/19001/webkit/compositor_bindings/web_layer_tree_view_impl.cc#newcode241 webkit/compositor_bindings/web_layer_tree_view_impl.cc:241: WebKit::WebCompositorOutputSurface *web = m_client->createOutputSurface(); On 2012/12/07 17:36:24, jamesr ...
8 years ago (2012-12-07 17:43:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11348371/25001
8 years ago (2012-12-07 17:50:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11348371/29002
8 years ago (2012-12-07 18:05:08 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-07 18:28:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11348371/36005
8 years ago (2012-12-07 18:34:31 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-07 19:04:47 UTC) #17
commit-bot: I haz the power
8 years ago (2012-12-07 19:08:28 UTC) #18

Powered by Google App Engine
This is Rietveld 408576698