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

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed)

Created:
4 years, 6 months ago by Fady Samuel
Modified:
4 years, 6 months ago
Reviewers:
sky, Wez, boliu, dcheng, piman, danakj
CC:
chromium-reviews, rjkroege, mlamouri+watch-content_chromium.org, Ian Vollick, devtools-reviews_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make cc::CompositorFrames movable [Part 1 of 2] There was some odd code where we created CompositorFrames on the stack and passed them around by raw pointers, and then on the other other side of the IPC boundary we wrapped the CompositorFrame in a unique_ptr. Odder still, there are cases where we create a copy of the CompositorFrame just to pass it to a SurfaceFactory or elsewhere. This CL cleans up the insanity in preparation of shipping CompositorFrames over mojo. CompositorFrames are now movable. SurfaceFactory still uses a unique_ptr and so we create a new CompositorFrame, and move into that to pass to SurfaceFactory in this CL. In a subsequent CL, SurfaceFactory holds a CompositorFrame by value. BUG=611802 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d63137acbe0976b05cbda68db72b466755310f5a Cr-Commit-Position: refs/heads/master@{#402014}

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Rebase #

Patch Set 4 : content_unittests + mac fixes #

Patch Set 5 : fix blimp #

Patch Set 6 : Mac and Android fixes #

Patch Set 7 : Fixed unit tests + more android fixes #

Patch Set 8 : Make android compile locally + fix forward declarations #

Patch Set 9 : Fix android webview unittests #

Patch Set 10 : Fix reflector #

Total comments: 14

Patch Set 11 : Switched to move semantics #

Patch Set 12 : Fix android and blimp #

Patch Set 13 : Fix broken unit tests #

Patch Set 14 : Mac fixes #

Patch Set 15 : Make CompositorFrameMetadata movable #

Total comments: 1

Patch Set 16 : Remove base::Optional in Android ChildFrame #

Patch Set 17 : Another attempt at fixing webview #

Patch Set 18 : Another webview fix #

Patch Set 19 : Reduce android_webview changes #

Total comments: 26

Patch Set 20 : Fix android webview test #

Patch Set 21 : Addressed Dana's comments #

Total comments: 8

Patch Set 22 : Addressed Dana's comments #

Total comments: 14

Patch Set 23 : Addressed Dana's nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+482 lines, -461 lines) Patch
M android_webview/browser/parent_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/parent_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M blimp/client/feature/compositor/blimp_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/feature/compositor/blimp_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/surface_layer_unittest.cc View 1 2 3 4 5 6 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 2 3 4 5 6 13 14 15 16 17 18 19 20 2 chunks +2 lines, -2 lines 0 comments Download
M cc/output/compositor_frame.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +9 lines, -4 lines 0 comments Download
M cc/output/compositor_frame.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -5 lines 0 comments Download
M cc/output/compositor_frame_metadata.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +9 lines, -1 line 0 comments Download
M cc/output/compositor_frame_metadata.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +12 lines, -1 line 0 comments Download
M cc/output/delegating_renderer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M cc/output/delegating_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -3 lines 0 comments Download
M cc/output/delegating_renderer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +15 lines, -18 lines 0 comments Download
M cc/output/gl_renderer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +3 lines, -3 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +8 lines, -7 lines 0 comments Download
M cc/output/output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/output/output_surface_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/output/overlay_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M cc/output/renderer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +2 lines, -2 lines 0 comments Download
M cc/output/renderer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -2 lines 0 comments Download
M cc/output/software_renderer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M cc/output/software_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -3 lines 0 comments Download
M cc/surfaces/display.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/display_unittest.cc View 1 2 3 4 5 6 7 8 9 10 13 14 15 16 17 18 19 20 2 chunks +2 lines, -2 lines 0 comments Download
M cc/surfaces/surface_display_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surface_display_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -5 lines 0 comments Download
M cc/surfaces/surface_display_output_surface_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surface_hittest_unittest.cc View 1 2 3 4 5 6 7 8 9 10 16 chunks +41 lines, -29 lines 0 comments Download
M cc/test/fake_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -3 lines 0 comments Download
M cc/test/fake_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +10 lines, -8 lines 0 comments Download
M cc/test/pixel_test_delegating_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/test/pixel_test_delegating_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -6 lines 0 comments Download
M cc/test/pixel_test_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/test/pixel_test_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M cc/test/surface_hittest_test_helpers.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -4 lines 0 comments Download
M cc/test/surface_hittest_test_helpers.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 5 chunks +3 lines, -11 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 13 14 15 16 17 18 19 20 1 chunk +3 lines, -2 lines 0 comments Download
M components/mus/public/cpp/lib/output_surface.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M components/mus/public/cpp/output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M components/mus/public/cpp/surfaces/surfaces_type_converters.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -2 lines 0 comments Download
M components/mus/surfaces/direct_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M components/mus/surfaces/direct_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -5 lines 0 comments Download
M components/mus/surfaces/direct_output_surface_ozone.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M components/mus/surfaces/direct_output_surface_ozone.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -6 lines 0 comments Download
M content/browser/android/synchronous_compositor_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/synchronous_compositor_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -10 lines 0 comments Download
M content/browser/compositor/gpu_output_surface_mac.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/gpu_output_surface_mac.mm View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/compositor/offscreen_browser_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/offscreen_browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/compositor/reflector_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/compositor/software_browser_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/software_browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/compositor/software_browser_compositor_output_surface_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/devtools/devtools_frame_trace_recorder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/devtools/protocol/page_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/devtools/protocol/page_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +24 lines, -22 lines 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +7 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +7 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -8 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -6 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +14 lines, -13 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +9 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +9 lines, -13 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 10 chunks +26 lines, -25 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +9 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +8 lines, -9 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_proxy.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/android/synchronous_compositor_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +14 lines, -17 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M content/test/mailbox_output_surface.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/test/mailbox_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +52 lines, -52 lines 0 comments Download
M content/test/test_render_view_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -3 lines 0 comments Download
M content/test/test_render_view_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 116 (47 generated)
Fady Samuel
PTAL Dana! RenderWidgetHostImpl::OnSwapCompositorFrame still looks funky to me but I didn't want this CL to ...
4 years, 6 months ago (2016-06-22 23:47:16 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/20001
4 years, 6 months ago (2016-06-22 23:48:02 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/25384) ios-simulator on ...
4 years, 6 months ago (2016-06-22 23:51:11 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/40001
4 years, 6 months ago (2016-06-23 03:28:28 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/180412) mac_chromium_rel_ng on ...
4 years, 6 months ago (2016-06-23 03:38:41 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/60001
4 years, 6 months ago (2016-06-23 03:50:18 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/85956)
4 years, 6 months ago (2016-06-23 04:02:19 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/80001
4 years, 6 months ago (2016-06-23 04:22:40 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/85796)
4 years, 6 months ago (2016-06-23 04:32:28 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/100001
4 years, 6 months ago (2016-06-23 04:47:37 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/92400)
4 years, 6 months ago (2016-06-23 05:04:35 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/120001
4 years, 6 months ago (2016-06-23 10:55:21 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/85906) linux_android_rel_ng on ...
4 years, 6 months ago (2016-06-23 11:16:55 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/140001
4 years, 6 months ago (2016-06-23 12:25:48 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/160001
4 years, 6 months ago (2016-06-23 12:45:09 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/180001
4 years, 6 months ago (2016-06-23 13:12:35 UTC) #33
Fady Samuel
+piman@ for content (once Dana is happy) +sky@ for mus +boliu@ for webview +wez@ for ...
4 years, 6 months ago (2016-06-23 13:54:31 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-23 14:02:12 UTC) #37
sky
mus LGTM
4 years, 6 months ago (2016-06-23 15:54:47 UTC) #38
Wez
blimp/ LGTM
4 years, 6 months ago (2016-06-23 17:30:35 UTC) #39
dcheng
https://codereview.chromium.org/2096493002/diff/180001/cc/ipc/cc_param_traits.cc File cc/ipc/cc_param_traits.cc (right): https://codereview.chromium.org/2096493002/diff/180001/cc/ipc/cc_param_traits.cc#newcode677 cc/ipc/cc_param_traits.cc:677: void ParamTraits<std::unique_ptr<cc::CompositorFrame>>::Write( Shouldn't the existing ParamTraits partial specialization for ...
4 years, 6 months ago (2016-06-23 18:39:40 UTC) #40
Fady Samuel
https://codereview.chromium.org/2096493002/diff/180001/cc/ipc/cc_param_traits.cc File cc/ipc/cc_param_traits.cc (right): https://codereview.chromium.org/2096493002/diff/180001/cc/ipc/cc_param_traits.cc#newcode677 cc/ipc/cc_param_traits.cc:677: void ParamTraits<std::unique_ptr<cc::CompositorFrame>>::Write( On 2016/06/23 18:39:40, dcheng wrote: > Shouldn't ...
4 years, 6 months ago (2016-06-23 18:47:29 UTC) #41
dcheng
lgtm
4 years, 6 months ago (2016-06-23 19:16:37 UTC) #42
piman
The original reason for this is that pre-c++11 we didn't have movable types. CompositorFrame can ...
4 years, 6 months ago (2016-06-23 19:30:32 UTC) #43
danakj
I think Antoine's right and using a move-only type would be nice. IPCing a unique_ptr ...
4 years, 6 months ago (2016-06-23 20:34:42 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/220001
4 years, 6 months ago (2016-06-23 23:38:40 UTC) #46
Fady Samuel
PTAL everyone. We've decided to make cc::CompositorFrame movable instead of using unique_ptrs to move it ...
4 years, 6 months ago (2016-06-23 23:41:00 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/240001
4 years, 6 months ago (2016-06-23 23:49:07 UTC) #51
Wez
Are we sure that making cc::CompositorFrame movable is the right approach here? It contains CompositorFrameMetadata, ...
4 years, 6 months ago (2016-06-24 00:03:07 UTC) #52
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/260001
4 years, 6 months ago (2016-06-24 00:07:22 UTC) #54
piman
lgtm
4 years, 6 months ago (2016-06-24 00:07:50 UTC) #55
piman
On 2016/06/24 00:03:07, Wez wrote: > Are we sure that making cc::CompositorFrame movable is the ...
4 years, 6 months ago (2016-06-24 00:10:11 UTC) #56
Wez
On 2016/06/24 00:10:11, piman wrote: > On 2016/06/24 00:03:07, Wez wrote: > > Are we ...
4 years, 6 months ago (2016-06-24 00:25:44 UTC) #57
Fady Samuel
PTAL Antoine! PTAL boliu@ Thanks!
4 years, 6 months ago (2016-06-24 00:49:27 UTC) #59
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/280001
4 years, 6 months ago (2016-06-24 00:49:44 UTC) #60
piman
lgtm https://codereview.chromium.org/2096493002/diff/280001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/2096493002/diff/280001/cc/output/delegating_renderer.cc#newcode102 cc/output/delegating_renderer.cc:102: void DelegatingRenderer::SwapBuffers(const CompositorFrameMetadata& metadata) { nit: can we ...
4 years, 6 months ago (2016-06-24 00:56:25 UTC) #61
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/300001
4 years, 6 months ago (2016-06-24 01:11:46 UTC) #63
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/320001
4 years, 6 months ago (2016-06-24 01:21:13 UTC) #65
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/115084) linux_chromium_rel_ng on ...
4 years, 6 months ago (2016-06-24 01:29:57 UTC) #67
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096493002/340001
4 years, 6 months ago (2016-06-24 01:56:02 UTC) #69
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/182604) linux_chromium_chromeos_compile_dbg_ng on ...
4 years, 6 months ago (2016-06-24 02:04:44 UTC) #71
Fady Samuel
So it looks like android_webview relies on unique_ptr to identify whether a CompositorFrame exists or ...
4 years, 6 months ago (2016-06-24 02:29:15 UTC) #72
boliu
On 2016/06/24 02:29:15, Fady Samuel wrote: > So it looks like android_webview relies on unique_ptr ...
4 years, 6 months ago (2016-06-24 02:32:28 UTC) #73
piman
On Thu, Jun 23, 2016 at 7:32 PM, <boliu@chromium.org> wrote: > On 2016/06/24 02:29:15, Fady ...
4 years, 6 months ago (2016-06-24 02:38:14 UTC) #74
Wez
Could you provide an explicit operator bool() so it can be checked for validity without ...
4 years, 6 months ago (2016-06-24 02:42:57 UTC) #75
piman
On Thu, Jun 23, 2016 at 7:42 PM, Wez <wez@chromium.org> wrote: > Could you provide ...
4 years, 6 months ago (2016-06-24 02:56:59 UTC) #76
boliu
On 2016/06/24 02:56:59, piman wrote: > On Thu, Jun 23, 2016 at 7:42 PM, Wez ...
4 years, 6 months ago (2016-06-24 03:04:52 UTC) #77
Fady Samuel
Ultimately, I'd like to port all platforms to using a mojo-IPC-based display compositor so consistency ...
4 years, 6 months ago (2016-06-24 03:16:03 UTC) #78
Fady Samuel
Hey Bo! I've simplified android_webview code significantly based on our conversations yesterday. Could you please ...
4 years, 6 months ago (2016-06-24 17:52:48 UTC) #80
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2096493002/360001
4 years, 6 months ago (2016-06-24 17:53:03 UTC) #81
boliu
still need to revert changes to test_synchronous_compositor_android.h/cc to make webview unittests compile lgtm after that
4 years, 6 months ago (2016-06-24 18:13:14 UTC) #82
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/86785) android_compile_dbg on ...
4 years, 6 months ago (2016-06-24 18:17:01 UTC) #84
Fady Samuel
On 2016/06/24 18:13:14, boliu wrote: > still need to revert changes to test_synchronous_compositor_android.h/cc to make ...
4 years, 6 months ago (2016-06-24 18:24:30 UTC) #85
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/2096493002/380001
4 years, 6 months ago (2016-06-24 18:25:24 UTC) #88
danakj
On 2016/06/24 18:24:30, Fady Samuel wrote: > On 2016/06/24 18:13:14, boliu wrote: > > still ...
4 years, 6 months ago (2016-06-24 18:27:43 UTC) #90
danakj
https://codereview.chromium.org/2096493002/diff/360001/cc/output/compositor_frame.cc File cc/output/compositor_frame.cc (right): https://codereview.chromium.org/2096493002/diff/360001/cc/output/compositor_frame.cc#newcode7 cc/output/compositor_frame.cc:7: #include "base/memory/ptr_util.h" not used https://codereview.chromium.org/2096493002/diff/360001/cc/output/compositor_frame.h File cc/output/compositor_frame.h (right): https://codereview.chromium.org/2096493002/diff/360001/cc/output/compositor_frame.h#newcode20 ...
4 years, 6 months ago (2016-06-24 18:35:11 UTC) #91
Fady Samuel
PTAL Dana! https://codereview.chromium.org/2096493002/diff/360001/cc/output/compositor_frame.cc File cc/output/compositor_frame.cc (right): https://codereview.chromium.org/2096493002/diff/360001/cc/output/compositor_frame.cc#newcode7 cc/output/compositor_frame.cc:7: #include "base/memory/ptr_util.h" On 2016/06/24 18:35:10, danakj wrote: ...
4 years, 6 months ago (2016-06-24 20:00:24 UTC) #92
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2096493002/400001
4 years, 6 months ago (2016-06-24 20:01:44 UTC) #94
danakj
Thanks, looks nice. Few things left https://codereview.chromium.org/2096493002/diff/400001/cc/output/compositor_frame_metadata.h File cc/output/compositor_frame_metadata.h (right): https://codereview.chromium.org/2096493002/diff/400001/cc/output/compositor_frame_metadata.h#newcode27 cc/output/compositor_frame_metadata.h:27: CompositorFrameMetadata(const CompositorFrameMetadata& other); ...
4 years, 6 months ago (2016-06-24 20:20:44 UTC) #95
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/235321)
4 years, 6 months ago (2016-06-24 20:48:01 UTC) #97
Fady Samuel
PTAL Dana! https://codereview.chromium.org/2096493002/diff/400001/cc/output/compositor_frame_metadata.h File cc/output/compositor_frame_metadata.h (right): https://codereview.chromium.org/2096493002/diff/400001/cc/output/compositor_frame_metadata.h#newcode27 cc/output/compositor_frame_metadata.h:27: CompositorFrameMetadata(const CompositorFrameMetadata& other); On 2016/06/24 20:20:43, danakj ...
4 years, 6 months ago (2016-06-24 21:31:16 UTC) #99
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2096493002/420001
4 years, 6 months ago (2016-06-24 21:31:52 UTC) #100
danakj
LGTM https://codereview.chromium.org/2096493002/diff/420001/cc/output/compositor_frame_metadata.h File cc/output/compositor_frame_metadata.h (right): https://codereview.chromium.org/2096493002/diff/420001/cc/output/compositor_frame_metadata.h#newcode74 cc/output/compositor_frame_metadata.h:74: CompositorFrameMetadata(const CompositorFrameMetadata& other); also explicitly delete the operator= ...
4 years, 6 months ago (2016-06-24 21:45:19 UTC) #101
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/86980)
4 years, 6 months ago (2016-06-24 21:58:08 UTC) #103
Fady Samuel
Thanks Dana (and everyone!) for the code review! CQ'ing! https://codereview.chromium.org/2096493002/diff/420001/cc/output/compositor_frame_metadata.h File cc/output/compositor_frame_metadata.h (right): https://codereview.chromium.org/2096493002/diff/420001/cc/output/compositor_frame_metadata.h#newcode74 cc/output/compositor_frame_metadata.h:74: ...
4 years, 6 months ago (2016-06-24 22:24:37 UTC) #108
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/2096493002/460001
4 years, 6 months ago (2016-06-24 22:25:18 UTC) #111
danakj
LGTM
4 years, 6 months ago (2016-06-24 22:25:30 UTC) #112
commit-bot: I haz the power
Committed patchset #23 (id:460001)
4 years, 6 months ago (2016-06-24 23:40:07 UTC) #114
commit-bot: I haz the power
4 years, 6 months ago (2016-06-24 23:41:52 UTC) #116
Message was sent while issue was closed.
Patchset 23 (id:??) landed as
https://crrev.com/d63137acbe0976b05cbda68db72b466755310f5a
Cr-Commit-Position: refs/heads/master@{#402014}

Powered by Google App Engine
This is Rietveld 408576698