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

Issue 2136413002: Update Surface ID Terminology (Closed)

Created:
4 years, 5 months ago by Fady Samuel
Modified:
4 years, 5 months ago
Reviewers:
msw, sadrul, boliu, dcheng, piman
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, yzshen+watch_chromium.org, sievers+watch_chromium.org, ben+mojo_chromium.org, yusukes+watch_chromium.org, darin (slow to review), jam, abarth-chromium, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, rjkroege, Ian Vollick, shuchen+watch_chromium.org, Aaron Boodman, danakj+watch_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update Surface ID Terminology This CL renames id_namespace to client_id to capture the fact that clients may be things other than renderers. This CL also passes SurfaceId by const reference instead of value now that SurfaceId is a 128-bit quantity. BUG=627283 TBR=sadrul@chromium.org, dcheng@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/27866427f8e663f7b43e698006bb495b97726bfa Cr-Commit-Position: refs/heads/master@{#404998}

Patch Set 1 #

Patch Set 2 : Add gpu_id #

Patch Set 3 : More cleanup #

Patch Set 4 : Fix mac #

Patch Set 5 : Fix webkit_unit_tests #

Total comments: 7

Patch Set 6 : Remove gpu_id #

Total comments: 4

Patch Set 7 : Fixed webkit_unit_tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -385 lines) Patch
M android_webview/browser/hardware_renderer.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/browser/surfaces_instance.h View 1 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/surfaces_instance.cc View 1 2 3 4 5 4 chunks +7 lines, -8 lines 0 comments Download
M cc/ipc/cc_param_traits.cc View 2 3 4 5 3 chunks +6 lines, -6 lines 0 comments Download
M cc/ipc/cc_param_traits_macros.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/ipc/struct_traits_unittest.cc View 2 3 4 5 1 chunk +6 lines, -6 lines 0 comments Download
M cc/ipc/surface_id.mojom View 1 2 3 4 5 1 chunk +8 lines, -8 lines 0 comments Download
M cc/ipc/surface_id_struct_traits.h View 2 3 4 5 1 chunk +2 lines, -4 lines 0 comments Download
M cc/ipc/surface_sequence.mojom View 1 chunk +1 line, -2 lines 0 comments Download
M cc/ipc/surface_sequence_struct_traits.h View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/surface_layer.h View 1 chunk +3 lines, -1 line 0 comments Download
M cc/layers/surface_layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/surface_layer_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/surface_layer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/surface_layer_impl_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M cc/layers/surface_layer_unittest.cc View 1 2 3 4 5 8 chunks +15 lines, -10 lines 0 comments Download
M cc/proto/layer_tree_host.proto View 1 chunk +1 line, -1 line 1 comment Download
M cc/quads/surface_draw_quad.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/quads/surface_draw_quad.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/surfaces/display.h View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/surfaces/display.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M cc/surfaces/display_scheduler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/surfaces/display_scheduler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/surfaces/display_unittest.cc View 1 2 3 4 5 4 chunks +8 lines, -7 lines 0 comments Download
M cc/surfaces/surface.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/surfaces/surface_aggregator_perftest.cc View 1 2 3 4 5 5 chunks +15 lines, -12 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 3 4 5 9 chunks +17 lines, -14 lines 0 comments Download
M cc/surfaces/surface_damage_observer.h View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/surfaces/surface_display_output_surface.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/surfaces/surface_display_output_surface_unittest.cc View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M cc/surfaces/surface_factory_unittest.cc View 1 2 3 4 5 11 chunks +15 lines, -13 lines 0 comments Download
M cc/surfaces/surface_id.h View 1 2 3 4 5 6 1 chunk +16 lines, -17 lines 0 comments Download
M cc/surfaces/surface_id_allocator.h View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M cc/surfaces/surface_id_allocator.cc View 1 2 3 4 5 1 chunk +6 lines, -7 lines 0 comments Download
M cc/surfaces/surface_manager.h View 1 2 4 chunks +9 lines, -11 lines 0 comments Download
M cc/surfaces/surface_manager.cc View 1 2 8 chunks +29 lines, -29 lines 0 comments Download
M cc/surfaces/surface_manager_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M cc/surfaces/surface_sequence.h View 2 chunks +8 lines, -9 lines 0 comments Download
M cc/surfaces/surface_unittest.cc View 1 2 3 4 5 3 chunks +8 lines, -6 lines 0 comments Download
M cc/surfaces/surfaces_pixeltest.cc View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M cc/test/pixel_test_delegating_output_surface.cc View 1 2 3 4 5 5 chunks +6 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_host.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_serialization.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/exo/surface.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/exo/surface.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/frame_host/cross_process_frame_connector.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 6 chunks +17 lines, -17 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 4 chunks +7 lines, -7 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 2 6 chunks +9 lines, -9 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_surface_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 1 2 3 4 5 chunks +8 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 4 chunks +7 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 4 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 chunks +7 lines, -7 lines 0 comments Download
M content/common/view_messages.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 3 4 5 6 chunks +6 lines, -7 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M content/test/test_render_view_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_render_view_host.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M services/ui/surfaces/display_compositor.cc View 1 2 3 4 5 3 chunks +5 lines, -5 lines 0 comments Download
M services/ui/surfaces/surfaces_state.h View 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/surfaces/surfaces_state.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/server_window_surface.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/ws/server_window_surface_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/server_window_surface_manager.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M ui/compositor/compositor.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/layer.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/test/in_process_context_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 41 (22 generated)
Fady Samuel
+piman@ for overall (content + cc) +sadrul@ for ui +msw@ for services/ui +boliu@ for android_webview
4 years, 5 months ago (2016-07-12 18:42:50 UTC) #5
Fady Samuel
+dcheng@ for ipc
4 years, 5 months ago (2016-07-12 19:04:55 UTC) #10
msw
services/ui rubber stamp lgtm
4 years, 5 months ago (2016-07-12 19:14:09 UTC) #12
piman
https://codereview.chromium.org/2136413002/diff/80001/cc/ipc/surface_id.mojom File cc/ipc/surface_id.mojom (right): https://codereview.chromium.org/2136413002/diff/80001/cc/ipc/surface_id.mojom#newcode23 cc/ipc/surface_id.mojom:23: // in the same process as the gpu service. ...
4 years, 5 months ago (2016-07-12 20:57:19 UTC) #17
Fady Samuel
PTAL gpu_id was actually a small change. This CL is mostly renaming and making things ...
4 years, 5 months ago (2016-07-12 22:45:34 UTC) #19
piman
lgtm https://codereview.chromium.org/2136413002/diff/80001/cc/surfaces/surface_id.h File cc/surfaces/surface_id.h (right): https://codereview.chromium.org/2136413002/diff/80001/cc/surfaces/surface_id.h#newcode82 cc/surfaces/surface_id.h:82: uint64_t nonce_; On 2016/07/12 22:45:34, Fady Samuel wrote: ...
4 years, 5 months ago (2016-07-12 22:47:50 UTC) #20
boliu
rs lgtm
4 years, 5 months ago (2016-07-12 22:51:20 UTC) #21
Fady Samuel
TBR'ing dcheng@ and sadrul@ for a trivial rename as it is now.
4 years, 5 months ago (2016-07-13 00:16:27 UTC) #22
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/2136413002/100001
4 years, 5 months ago (2016-07-13 00:19:02 UTC) #26
sadrul
lgtm
4 years, 5 months ago (2016-07-13 00:19:21 UTC) #27
commit-bot: I haz the power
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/95109)
4 years, 5 months ago (2016-07-13 00:43:24 UTC) #29
dcheng
RS LGTM https://codereview.chromium.org/2136413002/diff/100001/cc/surfaces/surface_id.h File cc/surfaces/surface_id.h (right): https://codereview.chromium.org/2136413002/diff/100001/cc/surfaces/surface_id.h#newcode28 cc/surfaces/surface_id.h:28: // A SurfaceId consists of three components: ...
4 years, 5 months ago (2016-07-13 01:57:48 UTC) #30
Fady Samuel
CQ'ing. https://codereview.chromium.org/2136413002/diff/100001/cc/surfaces/surface_id.h File cc/surfaces/surface_id.h (right): https://codereview.chromium.org/2136413002/diff/100001/cc/surfaces/surface_id.h#newcode28 cc/surfaces/surface_id.h:28: // A SurfaceId consists of three components: namespace, ...
4 years, 5 months ago (2016-07-13 02:22:30 UTC) #31
Fady Samuel
CQ'ing. https://codereview.chromium.org/2136413002/diff/100001/cc/surfaces/surface_id.h File cc/surfaces/surface_id.h (right): https://codereview.chromium.org/2136413002/diff/100001/cc/surfaces/surface_id.h#newcode28 cc/surfaces/surface_id.h:28: // A SurfaceId consists of three components: namespace, ...
4 years, 5 months ago (2016-07-13 02:22:31 UTC) #32
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/2136413002/120001
4 years, 5 months ago (2016-07-13 02:24:24 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 5 months ago (2016-07-13 04:07:14 UTC) #37
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 04:07:33 UTC) #38
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/27866427f8e663f7b43e698006bb495b97726bfa Cr-Commit-Position: refs/heads/master@{#404998}
4 years, 5 months ago (2016-07-13 04:10:28 UTC) #40
michaelpg
4 years, 5 months ago (2016-07-15 18:32:56 UTC) #41
Message was sent while issue was closed.
https://codereview.chromium.org/2136413002/diff/120001/cc/proto/layer_tree_ho...
File cc/proto/layer_tree_host.proto (right):

https://codereview.chromium.org/2136413002/diff/120001/cc/proto/layer_tree_ho...
cc/proto/layer_tree_host.proto:63: optional uint32 surface_client_id = 32;
Annoyingly, I had to blow away my entire out directory to build cc after this
change for Simple Chrome (chrome on CrOS). No idea why. Removing the subsets of
the out dir that seemed relevant to this change didn't help.

Just commenting in case someone else bisects to this issue too.

Powered by Google App Engine
This is Rietveld 408576698