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

Issue 2040233002: Implement sk_sp<SkImageFilter> StructTraits (Closed)

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

Description

Implement sk_sp<SkImageFilter> StructTraits RenderPassDrawQuads need to be able to ship cc::FilterOperations which use sk_sp<SkImageFilter>. This CL makes it possible to serialize and deserialize them over mojo. BUG=611802 Committed: https://crrev.com/567de3bea75fb0006ab1ca74be7f394473444ce5 Cr-Commit-Position: refs/heads/master@{#398379}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : Don't build StructTraitsTest on iOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -13 lines) Patch
M skia/BUILD.gn View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
M skia/public/interfaces/BUILD.gn View 1 chunk +12 lines, -0 lines 0 comments Download
A + skia/public/interfaces/image_filter.mojom View 1 chunk +4 lines, -3 lines 0 comments Download
A skia/public/interfaces/image_filter.typemap View 1 chunk +11 lines, -0 lines 0 comments Download
A skia/public/interfaces/image_filter_struct_traits.h View 1 1 chunk +58 lines, -0 lines 0 comments Download
A skia/public/interfaces/image_filter_struct_traits.cc View 1 chunk +50 lines, -0 lines 0 comments Download
A skia/public/interfaces/test/struct_traits_unittest.cc View 1 chunk +63 lines, -0 lines 0 comments Download
A + skia/public/interfaces/test/traits_test_service.mojom View 1 chunk +3 lines, -7 lines 0 comments Download
M skia/public/interfaces/typemaps.gni View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
Fady Samuel
+tsepez@ for security review +reed@ for skia OWNER review This CL makes it possible to ...
4 years, 6 months ago (2016-06-07 15:34:49 UTC) #2
Tom Sepez
https://codereview.chromium.org/2040233002/diff/1/skia/public/interfaces/image_filter_struct_traits.h File skia/public/interfaces/image_filter_struct_traits.h (right): https://codereview.chromium.org/2040233002/diff/1/skia/public/interfaces/image_filter_struct_traits.h#newcode46 skia/public/interfaces/image_filter_struct_traits.h:46: SkFlattenable* flattenable = SkValidatingDeserializeFlattenable( Do you know if we ...
4 years, 6 months ago (2016-06-07 15:44:55 UTC) #3
Fady Samuel
PTAL Tom, Mike! Thanks! :-) https://codereview.chromium.org/2040233002/diff/1/skia/public/interfaces/image_filter_struct_traits.h File skia/public/interfaces/image_filter_struct_traits.h (right): https://codereview.chromium.org/2040233002/diff/1/skia/public/interfaces/image_filter_struct_traits.h#newcode46 skia/public/interfaces/image_filter_struct_traits.h:46: SkFlattenable* flattenable = SkValidatingDeserializeFlattenable( ...
4 years, 6 months ago (2016-06-07 17:40:53 UTC) #4
Tom Sepez
Looks like this is already called in existing IPC-based ipc. LGTM.
4 years, 6 months ago (2016-06-07 17:42:57 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040233002/20001
4 years, 6 months ago (2016-06-07 18:41:11 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-simulator-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-gn/builds/17594)
4 years, 6 months ago (2016-06-07 18:47:08 UTC) #9
reed1
skia lgtm
4 years, 6 months ago (2016-06-07 19:06:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040233002/20001
4 years, 6 months ago (2016-06-07 19:09:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040233002/40001
4 years, 6 months ago (2016-06-07 20:02:32 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-07 21:35:07 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 21:37:46 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/567de3bea75fb0006ab1ca74be7f394473444ce5
Cr-Commit-Position: refs/heads/master@{#398379}

Powered by Google App Engine
This is Rietveld 408576698