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

Issue 1399933004: Add Protobuf support for cc/playback skia usage (Closed)

Created:
5 years, 2 months ago by David Trainor- moved to gerrit
Modified:
5 years, 2 months ago
Reviewers:
danakj, vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@blimp_geo_proto
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Protobuf support for cc/playback skia usage Add protobuf serialization to the following: - SkRegion::Op - SkXfermode::Mode - SkRRect These are used by cc/playback DisplayItem classes. In the short term, will just use Skia's flatten for: - SkColorFilter - SkPath - SkPicture BUG=541321 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/543858f59534642b57822e34786ef337ad32014e Cr-Commit-Position: refs/heads/master@{#355865}

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Removed redundant ProtoToSkRRect method #

Patch Set 4 : Fixed bug with array bounds on unit test #

Total comments: 14

Patch Set 5 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -10 lines) Patch
M cc/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 chunks +5 lines, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/proto/BUILD.gn View 1 1 chunk +5 lines, -3 lines 0 comments Download
A cc/proto/skia_conversions.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A cc/proto/skia_conversions.cc View 1 2 3 4 1 chunk +221 lines, -0 lines 0 comments Download
A cc/proto/skia_conversions_unittest.cc View 1 2 3 1 chunk +73 lines, -0 lines 0 comments Download
A + cc/proto/skregion.proto View 1 1 chunk +10 lines, -7 lines 0 comments Download
A cc/proto/skrrect.proto View 1 1 chunk +20 lines, -0 lines 0 comments Download
A cc/proto/skxfermode.proto View 1 chunk +46 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (2 generated)
David Trainor- moved to gerrit
ptal! Here are the basic skia protos required for serializing DisplayItems. This patch relies on ...
5 years, 2 months ago (2015-10-12 22:14:03 UTC) #2
David Trainor- moved to gerrit
rebased this onto the gfx patch that just landed. thanks!
5 years, 2 months ago (2015-10-19 23:18:22 UTC) #3
David Trainor- moved to gerrit
friendly ping :).
5 years, 2 months ago (2015-10-21 15:03:28 UTC) #4
vmpstr
Sorry for the delay. https://chromiumcodereview.appspot.com/1399933004/diff/60001/cc/proto/skia_conversions.cc File cc/proto/skia_conversions.cc (right): https://chromiumcodereview.appspot.com/1399933004/diff/60001/cc/proto/skia_conversions.cc#newcode43 cc/proto/skia_conversions.cc:43: DCHECK(false); If you handle all ...
5 years, 2 months ago (2015-10-21 21:58:53 UTC) #5
David Trainor- moved to gerrit
no worries. thanks for doing all of these reviews! https://codereview.chromium.org/1399933004/diff/60001/cc/proto/skia_conversions.cc File cc/proto/skia_conversions.cc (right): https://codereview.chromium.org/1399933004/diff/60001/cc/proto/skia_conversions.cc#newcode43 cc/proto/skia_conversions.cc:43: ...
5 years, 2 months ago (2015-10-23 15:40:51 UTC) #6
vmpstr
lgtm
5 years, 2 months ago (2015-10-23 17:29:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399933004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399933004/80001
5 years, 2 months ago (2015-10-23 19:32:03 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-23 20:14:04 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-10-23 20:15:02 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/543858f59534642b57822e34786ef337ad32014e
Cr-Commit-Position: refs/heads/master@{#355865}

Powered by Google App Engine
This is Rietveld 408576698