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

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)

Created:
3 years, 11 months ago by Saman Sami
Modified:
3 years, 10 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, yzshen+watch_chromium.org, yusukes+watch_chromium.org, jam, abarth-chromium, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, xjz+watch_chromium.org, miu+watch_chromium.org, android-webview-reviews_chromium.org, cc-bugs_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, piman+watch_chromium.org, darin (slow to review), rjkroege, shuchen+watch_chromium.org, Aaron Boodman, danakj+watch_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename LocalFrameId to LocalSurfaceId LocalFrameId is a confusing name because it implies it uniquely identifies a CompositorFrame but in reality multiple frames can be submitted to the same surface with the same LocalFrameId. LocalFrameId only changes when a new surface is needed (such as on resize), and therefore we believe LocalSurfaceId would be a better name for it. So SurfaceId is the global identifier for a surface, and LocalSurfaceId can be thought of as the local identifier. TBR=jam@chromium.org TBR=tsepez@chromium.org BUG=685765 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2661543002 Cr-Commit-Position: refs/heads/master@{#446771} Committed: https://chromium.googlesource.com/chromium/src/+/5258bfb4395abf16fca17a6c8fc09ff052eaf845

Patch Set 1 #

Patch Set 2 : c #

Patch Set 3 : c #

Patch Set 4 : c #

Total comments: 2

Patch Set 5 : c #

Patch Set 6 : c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+721 lines, -772 lines) Patch
M android_webview/browser/hardware_renderer.h View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/hardware_renderer.cc View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/surfaces_instance.h View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/surfaces_instance.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/ipc/BUILD.gn View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/ipc/OWNERS View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M cc/ipc/cc_param_traits.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/ipc/cc_param_traits.cc View 1 2 5 chunks +16 lines, -16 lines 0 comments Download
M cc/ipc/cc_param_traits_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/ipc/local_frame_id.mojom View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
M cc/ipc/local_frame_id.typemap View 1 2 1 chunk +0 lines, -11 lines 0 comments Download
M cc/ipc/local_frame_id_struct_traits.h View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
A + cc/ipc/local_surface_id.mojom View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
A cc/ipc/local_surface_id.typemap View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A cc/ipc/local_surface_id_struct_traits.h View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
M cc/ipc/mojo_compositor_frame_sink.mojom View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M cc/ipc/struct_traits_unittest.cc View 1 2 4 chunks +11 lines, -9 lines 0 comments Download
M cc/ipc/surface_id.mojom View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M cc/ipc/surface_id_struct_traits.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M cc/ipc/typemaps.gni View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/surface_layer_impl_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M cc/layers/surface_layer_unittest.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M cc/quads/draw_quad_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/surfaces/BUILD.gn View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support.cc View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M cc/surfaces/direct_compositor_frame_sink.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/direct_compositor_frame_sink.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M cc/surfaces/display.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/display.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M cc/surfaces/display_scheduler_unittest.cc View 11 chunks +49 lines, -37 lines 0 comments Download
M cc/surfaces/display_unittest.cc View 1 2 15 chunks +17 lines, -17 lines 0 comments Download
M cc/surfaces/local_frame_id.h View 1 2 1 chunk +0 lines, -74 lines 0 comments Download
M cc/surfaces/local_frame_id.cc View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
A + cc/surfaces/local_surface_id.h View 1 2 3 4 4 chunks +21 lines, -16 lines 0 comments Download
A cc/surfaces/local_surface_id.cc View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
M cc/surfaces/referenced_surface_tracker.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M cc/surfaces/referenced_surface_tracker.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M cc/surfaces/referenced_surface_tracker_unittest.cc View 1 2 8 chunks +14 lines, -14 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M cc/surfaces/surface_aggregator_perftest.cc View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 67 chunks +148 lines, -144 lines 0 comments Download
M cc/surfaces/surface_factory.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/surfaces/surface_factory.cc View 1 2 4 chunks +11 lines, -10 lines 0 comments Download
M cc/surfaces/surface_factory_client.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/surfaces/surface_factory_unittest.cc View 1 2 16 chunks +44 lines, -44 lines 0 comments Download
M cc/surfaces/surface_hittest_unittest.cc View 1 2 14 chunks +35 lines, -29 lines 0 comments Download
M cc/surfaces/surface_id.h View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
M cc/surfaces/surface_id.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surface_id_allocator.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surface_id_allocator.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/surfaces/surface_manager.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M cc/surfaces/surface_manager.cc View 1 2 3 5 chunks +8 lines, -7 lines 0 comments Download
M cc/surfaces/surface_manager_ref_unittest.cc View 1 2 6 chunks +14 lines, -14 lines 0 comments Download
M cc/surfaces/surface_unittest.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M cc/surfaces/surfaces_pixeltest.cc View 1 2 6 chunks +14 lines, -14 lines 0 comments Download
M cc/test/test_compositor_frame_sink.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/test/test_compositor_frame_sink.cc View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.cc View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M components/exo/compositor_frame_sink.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/exo/compositor_frame_sink.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M components/exo/compositor_frame_sink_holder.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/exo/surface.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/exo/surface.cc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 10 chunks +16 lines, -16 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.h View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 2 14 chunks +27 lines, -26 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_surface_impl.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_surface_impl.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_surface_manager_unittest.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.cc View 1 2 3 4 5 2 chunks +10 lines, -9 lines 0 comments Download
M services/ui/public/cpp/window_compositor_frame_sink.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M services/ui/public/cpp/window_compositor_frame_sink.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M services/ui/surfaces/display_compositor.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/frame_generator.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/frame_generator.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M services/ui/ws/frame_generator_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/ws/window_tree_client_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/public/blink_typemaps.gni View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/android/delegated_frame_host_android.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/android/delegated_frame_host_android.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M ui/compositor/layer_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 68 (52 generated)
Saman Sami
PTAL
3 years, 10 months ago (2017-01-27 15:07:20 UTC) #26
Fady Samuel
lgtm
3 years, 10 months ago (2017-01-27 15:09:28 UTC) #27
Saman Sami
danakj@: Please review all files.
3 years, 10 months ago (2017-01-27 15:20:24 UTC) #33
danakj
I spotchecked a few files, LGTM https://codereview.chromium.org/2661543002/diff/60001/cc/surfaces/local_surface_id.cc File cc/surfaces/local_surface_id.cc (right): https://codereview.chromium.org/2661543002/diff/60001/cc/surfaces/local_surface_id.cc#newcode1 cc/surfaces/local_surface_id.cc:1: // Copyright 2016 ...
3 years, 10 months ago (2017-01-27 16:25:17 UTC) #38
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/2661543002/80001
3 years, 10 months ago (2017-01-27 16:33:44 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/352127)
3 years, 10 months ago (2017-01-27 16:42:10 UTC) #43
Tom Sepez
lgtm
3 years, 10 months ago (2017-01-27 17:17:30 UTC) #45
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/2661543002/80001
3 years, 10 months ago (2017-01-27 17:19:06 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/352168)
3 years, 10 months ago (2017-01-27 17:29:20 UTC) #49
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/2661543002/80001
3 years, 10 months ago (2017-01-27 17:51:47 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/352204)
3 years, 10 months ago (2017-01-27 18:01:33 UTC) #53
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/2661543002/80001
3 years, 10 months ago (2017-01-27 18:04:51 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/352221)
3 years, 10 months ago (2017-01-27 18:13:51 UTC) #58
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/2661543002/100001
3 years, 10 months ago (2017-01-27 18:57:21 UTC) #61
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/2661543002/100001
3 years, 10 months ago (2017-01-27 19:20:34 UTC) #65
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 21:17:07 UTC) #68
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/5258bfb4395abf16fca17a6c8fc0...

Powered by Google App Engine
This is Rietveld 408576698