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

Issue 2014233002: Implement cc::SurfaceId StructTraits (Closed)

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

Description

Implement cc::SurfaceId StructTraits 1. Move surface_id.mojom to cc/ipc, this matches gpu/ipc/common's placement for mojoms. 2. Write a StructTraits class for cc::SurfaceId. 3. Update usage. BUG=611802 TBR=danakj@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d60bd68eb0201e4ac7b6d196f66c3bff7592715e Cr-Commit-Position: refs/heads/master@{#396387}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Addressed Ken's comments #

Patch Set 3 : Made mus/ws deps all public_deps #

Patch Set 4 : rebased #

Patch Set 5 : Fixed ozone #

Patch Set 6 : Fixed unittests #

Total comments: 2

Patch Set 7 : Addressed Dana's comment #

Patch Set 8 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -92 lines) Patch
M cc/ipc/BUILD.gn View 2 chunks +8 lines, -0 lines 0 comments Download
A + cc/ipc/surface_id.mojom View 1 chunk +1 line, -1 line 0 comments Download
A cc/ipc/surface_id.typemap View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
A cc/ipc/surface_id_struct_traits.h View 1 2 3 4 5 6 1 chunk +31 lines, -0 lines 0 comments Download
A + cc/ipc/typemaps.gni View 1 chunk +1 line, -1 line 0 comments Download
M components/mus/public/cpp/surfaces/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/public/cpp/surfaces/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/public/cpp/surfaces/surfaces_type_converters.h View 1 2 3 2 chunks +1 line, -13 lines 0 comments Download
M components/mus/public/cpp/surfaces/surfaces_type_converters.cc View 1 2 3 4 chunks +4 lines, -25 lines 0 comments Download
M components/mus/public/cpp/surfaces/tests/surface_unittest.cc View 1 2 3 4 5 3 chunks +1 line, -15 lines 0 comments Download
M components/mus/public/cpp/window.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M components/mus/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M components/mus/public/interfaces/quads.mojom View 1 2 chunks +2 lines, -2 lines 0 comments Download
D components/mus/public/interfaces/surface_id.mojom View 1 chunk +0 lines, -28 lines 0 comments Download
M components/mus/public/interfaces/window_tree.mojom View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M components/mus/ws/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M components/mus/ws/server_window_surface.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/mus/ws/window_tree.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/chromium_bindings_configuration.gni View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 49 (23 generated)
Fady Samuel
Just getting my feet wet.
4 years, 7 months ago (2016-05-26 16:40:44 UTC) #4
Ken Rockot(use gerrit already)
Looks great to me. Just some comments about build targets. https://codereview.chromium.org/2014233002/diff/1/cc/ipc/cc_struct_traits.h File cc/ipc/cc_struct_traits.h (right): https://codereview.chromium.org/2014233002/diff/1/cc/ipc/cc_struct_traits.h#newcode1 ...
4 years, 7 months ago (2016-05-26 16:58:22 UTC) #5
Fady Samuel
PTAL Ken. I'll pass this along to sky@ and danakj@ once you're happy with this. ...
4 years, 7 months ago (2016-05-26 17:45:09 UTC) #6
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2014233002/diff/1/components/mus/ws/BUILD.gn File components/mus/ws/BUILD.gn (right): https://codereview.chromium.org/2014233002/diff/1/components/mus/ws/BUILD.gn#newcode95 components/mus/ws/BUILD.gn:95: "//cc/ipc:interfaces", On 2016/05/26 at 17:45:09, Fady Samuel wrote: ...
4 years, 7 months ago (2016-05-26 17:55:10 UTC) #7
Fady Samuel
+sky@ for mus +tsepez@ for ipc. https://codereview.chromium.org/2014233002/diff/1/components/mus/ws/BUILD.gn File components/mus/ws/BUILD.gn (right): https://codereview.chromium.org/2014233002/diff/1/components/mus/ws/BUILD.gn#newcode95 components/mus/ws/BUILD.gn:95: "//cc/ipc:interfaces", On 2016/05/26 ...
4 years, 7 months ago (2016-05-26 19:54:29 UTC) #9
Tom Sepez
lgtm
4 years, 7 months ago (2016-05-26 20:02:45 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014233002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014233002/40001
4 years, 7 months ago (2016-05-26 20:24:01 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/12112) ios-simulator on ...
4 years, 7 months ago (2016-05-26 20:27:06 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014233002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014233002/60001
4 years, 7 months ago (2016-05-26 20:50:37 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/144001) chromeos_daisy_chromium_compile_only_ng on ...
4 years, 7 months ago (2016-05-26 20:56:24 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014233002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014233002/80001
4 years, 7 months ago (2016-05-26 20:59:08 UTC) #20
sky
LGTM
4 years, 7 months ago (2016-05-26 20:59:41 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/77448)
4 years, 7 months ago (2016-05-26 21:18:43 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014233002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014233002/100001
4 years, 7 months ago (2016-05-26 23:22:06 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/190819)
4 years, 7 months ago (2016-05-26 23:30:50 UTC) #28
Fady Samuel
+danakj, looks like I need a cc OWNER too.
4 years, 7 months ago (2016-05-26 23:32:25 UTC) #30
danakj
https://codereview.chromium.org/2014233002/diff/100001/cc/ipc/surface_id.typemap File cc/ipc/surface_id.typemap (right): https://codereview.chromium.org/2014233002/diff/100001/cc/ipc/surface_id.typemap#newcode7 cc/ipc/surface_id.typemap:7: traits_headers = [ "//cc/ipc/cc_struct_traits.h" ] why the double cc? ...
4 years, 6 months ago (2016-05-26 23:58:02 UTC) #31
Fady Samuel
TBR'ing Dana because she's out until 5/31. Thanks! Dana please let me know if you'd ...
4 years, 6 months ago (2016-05-27 00:53:21 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014233002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014233002/120001
4 years, 6 months ago (2016-05-27 00:54:16 UTC) #36
danakj
LGTM
4 years, 6 months ago (2016-05-27 01:17:55 UTC) #37
commit-bot: I haz the power
Failed to apply patch for components/mus/public/interfaces/BUILD.gn: While running git apply --index -3 -p1; error: patch ...
4 years, 6 months ago (2016-05-27 02:47:47 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014233002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014233002/140001
4 years, 6 months ago (2016-05-27 03:19:21 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 6 months ago (2016-05-27 04:38:56 UTC) #44
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/d60bd68eb0201e4ac7b6d196f66c3bff7592715e Cr-Commit-Position: refs/heads/master@{#396387}
4 years, 6 months ago (2016-05-27 04:41:55 UTC) #46
dcheng
Can you update //cc/ipc/OWNERS to cover the mojom files too? Thanks.
4 years, 6 months ago (2016-05-28 22:21:59 UTC) #48
Fady Samuel
4 years, 6 months ago (2016-06-02 02:27:49 UTC) #49
Message was sent while issue was closed.
On 2016/05/28 22:21:59, dcheng wrote:
> Can you update //cc/ipc/OWNERS to cover the mojom files too? Thanks.

In CQ: https://codereview.chromium.org/2032723002/

Powered by Google App Engine
This is Rietveld 408576698