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

Issue 2042643002: Implement cc::CompositorFrameMetadata StructTraits (Closed)

Created:
4 years, 6 months ago by Fady Samuel
Modified:
4 years, 6 months ago
CC:
chromium-reviews, rjkroege, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tdresser+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, cc-bugs_chromium.org, ben+mojo_chromium.org, darin (slow to review)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement cc::CompositorFrameMetadata StructTraits This CL replaces the simple mus CompositorFrameMetadata struct with a full fidelity struct along with StructTraits. w00t! Soon full fidelity CompositorFrames in Mus without extra copies! BUG=611802 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/10bec68301c42372e7b1d31a53150462baaae1d9 Cr-Commit-Position: refs/heads/master@{#398222}

Patch Set 1 #

Patch Set 2 : Diff against LatencyInfo #

Total comments: 4

Patch Set 3 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -58 lines) Patch
M cc/ipc/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
A cc/ipc/compositor_frame_metadata.mojom View 1 chunk +30 lines, -0 lines 0 comments Download
A cc/ipc/compositor_frame_metadata.typemap View 1 chunk +9 lines, -0 lines 0 comments Download
A cc/ipc/compositor_frame_metadata_struct_traits.h View 1 chunk +130 lines, -0 lines 0 comments Download
M cc/ipc/struct_traits_unittest.cc View 2 chunks +88 lines, -0 lines 0 comments Download
M cc/ipc/traits_test_service.mojom View 2 chunks +5 lines, -1 line 0 comments Download
M cc/ipc/typemaps.gni View 1 chunk +1 line, -0 lines 0 comments Download
M components/bitmap_uploader/bitmap_uploader.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M components/mus/public/cpp/surfaces/custom_surface_converter.h View 2 chunks +2 lines, -1 line 0 comments Download
M components/mus/public/cpp/surfaces/surfaces_type_converters.h View 2 chunks +1 line, -16 lines 0 comments Download
M components/mus/public/cpp/surfaces/surfaces_type_converters.cc View 6 chunks +5 lines, -26 lines 0 comments Download
M components/mus/public/cpp/surfaces/tests/surface_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M components/mus/public/interfaces/compositor_frame.mojom View 2 chunks +2 lines, -6 lines 0 comments Download
M components/mus/ws/server_window_surface.h View 1 chunk +1 line, -1 line 0 comments Download
M components/mus/ws/server_window_surface.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
Fady Samuel
+piman@ for cc/ OWNER +tsepez@ for ipc security +yzshen@ for Struct Traits feedback +ben@ for ...
4 years, 6 months ago (2016-06-05 21:51:50 UTC) #3
Fady Samuel
Please note that this CL is diff'ed against my LatencyInfo StructTraits CL: https://codereview.chromium.org/2040733002/ Thanks!
4 years, 6 months ago (2016-06-05 21:52:37 UTC) #4
Tom Sepez
mojom lgtm
4 years, 6 months ago (2016-06-06 16:17:55 UTC) #5
yzshen1
https://codereview.chromium.org/2042643002/diff/20001/cc/ipc/compositor_frame_metadata_struct_traits.h File cc/ipc/compositor_frame_metadata_struct_traits.h (right): https://codereview.chromium.org/2042643002/diff/20001/cc/ipc/compositor_frame_metadata_struct_traits.h#newcode21 cc/ipc/compositor_frame_metadata_struct_traits.h:21: static gfx::Vector2dF root_scroll_offset( Does it make sense to return ...
4 years, 6 months ago (2016-06-06 16:22:04 UTC) #6
Ben Goodger (Google)
mus/bitmap_uploader lgtm
4 years, 6 months ago (2016-06-06 18:15:26 UTC) #7
piman
lgtm
4 years, 6 months ago (2016-06-06 19:50:46 UTC) #8
Fady Samuel
PTAL Yuzhu! Thanks https://codereview.chromium.org/2042643002/diff/20001/cc/ipc/compositor_frame_metadata_struct_traits.h File cc/ipc/compositor_frame_metadata_struct_traits.h (right): https://codereview.chromium.org/2042643002/diff/20001/cc/ipc/compositor_frame_metadata_struct_traits.h#newcode21 cc/ipc/compositor_frame_metadata_struct_traits.h:21: static gfx::Vector2dF root_scroll_offset( On 2016/06/06 16:22:04, ...
4 years, 6 months ago (2016-06-06 20:00:11 UTC) #9
yzshen1
lgtm
4 years, 6 months ago (2016-06-06 20:01:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042643002/40001
4 years, 6 months ago (2016-06-07 03:01:30 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-07 04:25:33 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 04:27:06 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/10bec68301c42372e7b1d31a53150462baaae1d9
Cr-Commit-Position: refs/heads/master@{#398222}

Powered by Google App Engine
This is Rietveld 408576698