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

Issue 2201323003: add pipecanvas (Closed)

Created:
4 years, 4 months ago by reed1
Modified:
4 years, 3 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : more #

Patch Set 3 : compiles #

Patch Set 4 : public api named param annoying warning #

Patch Set 5 : initial reader #

Total comments: 19

Patch Set 6 : more reader #

Patch Set 7 : address some comments from #16 #

Patch Set 8 : forgot to pass count to skipper for positions #

Patch Set 9 : start testing (hacked into sampleapp with 'M' key) #

Patch Set 10 : more #

Patch Set 11 : v0 of dedupers #

Patch Set 12 : clean up some of the printfs #

Patch Set 13 : sub-pictures v1 #

Patch Set 14 : use kEnd to bracket subpictures #

Patch Set 15 : simplify constructor again #

Patch Set 16 : newer api in SkPipe.h #

Patch Set 17 : change sender to only cache the key, not the object itself #

Patch Set 18 : externalize factory-set from reader using Inflator #

Patch Set 19 : add textblob #

Patch Set 20 : rebase #

Patch Set 21 : add drawPatch #

Patch Set 22 : drawVertices and drawTextOnPath #

Total comments: 6

Patch Set 23 : add Arc and Lattice #

Patch Set 24 : patch into dm #

Patch Set 25 : fix trailing 0 in factory names #

Patch Set 26 : partial typeface support #

Patch Set 27 : add typeface overrides #

Patch Set 28 : add willSetMatrix to canvas #

Patch Set 29 : alpha8 encoder, pictures, drawlooper #

Patch Set 30 : regions, atlas, setMatrix, fix write_paint #

Patch Set 31 : respect constraint in drawImageRect #

Patch Set 32 : check for valid pictureIndex #

Patch Set 33 : no need for willSetMatrix #

Total comments: 35

Patch Set 34 : rebase w/ new SkStream data api #

Patch Set 35 : catch one more copyToData #

Patch Set 36 : address some of #67 nits #

Patch Set 37 : add test for writeImage #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2811 lines, -54 lines) Patch
M dm/DM.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +2 lines, -0 lines 0 comments Download
M dm/DMSrcSink.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 2 chunks +15 lines, -0 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 3 chunks +26 lines, -0 lines 0 comments Download
M gyp/core.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gyp/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +3 lines, -0 lines 0 comments Download
M include/core/SkWriteBuffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +11 lines, -1 line 0 comments Download
M samplecode/SampleApp.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 2 chunks +7 lines, -0 lines 0 comments Download
M samplecode/SampleApp.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 6 chunks +43 lines, -11 lines 0 comments Download
A src/core/SkDeduper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +39 lines, -0 lines 0 comments Download
A src/core/SkPipe.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +74 lines, -0 lines 1 comment Download
M src/core/SkReadBuffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +9 lines, -1 line 0 comments Download
M src/core/SkReadBuffer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +16 lines, -1 line 0 comments Download
M src/core/SkWriteBuffer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 4 chunks +51 lines, -40 lines 0 comments Download
A src/pipe/SkPipeCanvas.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +166 lines, -0 lines 0 comments Download
A src/pipe/SkPipeCanvas.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1056 lines, -0 lines 0 comments Download
A src/pipe/SkPipeFormat.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +220 lines, -0 lines 0 comments Download
A src/pipe/SkPipeReader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +944 lines, -0 lines 0 comments Download
A src/pipe/SkRefSet.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +40 lines, -0 lines 0 comments Download
A tests/PipeTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +88 lines, -0 lines 0 comments Download

Messages

Total messages: 83 (67 generated)
reed1
4 years, 4 months ago (2016-08-04 12:13:56 UTC) #11
mtklein
https://codereview.chromium.org/2201323003/diff/80001/include/core/SkWriteBuffer.h File include/core/SkWriteBuffer.h (right): https://codereview.chromium.org/2201323003/diff/80001/include/core/SkWriteBuffer.h#newcode34 include/core/SkWriteBuffer.h:34: virtual void write(const void*, size_t) { sk_throw(); } The ...
4 years, 4 months ago (2016-08-04 12:50:38 UTC) #16
reed1
https://codereview.chromium.org/2201323003/diff/80001/include/core/SkWriteBuffer.h File include/core/SkWriteBuffer.h (right): https://codereview.chromium.org/2201323003/diff/80001/include/core/SkWriteBuffer.h#newcode34 include/core/SkWriteBuffer.h:34: virtual void write(const void*, size_t) { sk_throw(); } On ...
4 years, 4 months ago (2016-08-04 13:18:41 UTC) #17
mtklein
all sounds good https://codereview.chromium.org/2201323003/diff/80001/src/pipe/SkPipeCanvas.cpp File src/pipe/SkPipeCanvas.cpp (right): https://codereview.chromium.org/2201323003/diff/80001/src/pipe/SkPipeCanvas.cpp#newcode112 src/pipe/SkPipeCanvas.cpp:112: #define CHECK_WRITE_SCALAR(bit, code) \ On 2016/08/04 ...
4 years, 4 months ago (2016-08-04 15:13:23 UTC) #26
reed1
Not finished, but would appreciate a round of reviewing, to be sure the general direction/pattern ...
4 years, 4 months ago (2016-08-17 17:10:08 UTC) #39
mtklein
Anything significant left beyond typefaces and setMatrix() ? https://codereview.chromium.org/2201323003/diff/420001/src/core/SkReadBuffer.h File src/core/SkReadBuffer.h (right): https://codereview.chromium.org/2201323003/diff/420001/src/core/SkReadBuffer.h#newcode222 src/core/SkReadBuffer.h:222: sk_sp<SkImage> ...
4 years, 3 months ago (2016-08-26 18:43:24 UTC) #47
reed1
https://codereview.chromium.org/2201323003/diff/420001/src/core/SkReadBuffer.h File src/core/SkReadBuffer.h (right): https://codereview.chromium.org/2201323003/diff/420001/src/core/SkReadBuffer.h#newcode222 src/core/SkReadBuffer.h:222: sk_sp<SkImage> inflateImage(); On 2016/08/26 18:43:23, mtklein wrote: > Is ...
4 years, 3 months ago (2016-08-27 14:14:55 UTC) #48
reed1
4 years, 3 months ago (2016-08-31 10:21:32 UTC) #50
reed1
ptal given a blacklist derived from serialize-8888, this appears to pass dm > dm --config ...
4 years, 3 months ago (2016-09-10 18:00:36 UTC) #53
mtklein_C
lgtm I've got a bunch little nits here, and sort of got tired while reading, ...
4 years, 3 months ago (2016-09-12 19:47:59 UTC) #67
mtklein_C
lgtm I've got a bunch little nits here, and sort of got tired while reading, ...
4 years, 3 months ago (2016-09-12 19:48:01 UTC) #68
reed1
https://codereview.chromium.org/2201323003/diff/640001/dm/DMSrcSink.h File dm/DMSrcSink.h (right): https://codereview.chromium.org/2201323003/diff/640001/dm/DMSrcSink.h#newcode341 dm/DMSrcSink.h:341: const char* fileExtension() const override { return "skp"; } ...
4 years, 3 months ago (2016-09-12 21:35:24 UTC) #71
reed1
https://codereview.chromium.org/2201323003/diff/640001/src/pipe/SkPipeCanvas.cpp File src/pipe/SkPipeCanvas.cpp (right): https://codereview.chromium.org/2201323003/diff/640001/src/pipe/SkPipeCanvas.cpp#newcode1030 src/pipe/SkPipeCanvas.cpp:1030: void SkPipeSerializer::write(SkImage*, SkWStream* stream) { On 2016/09/12 19:47:58, mtklein_C ...
4 years, 3 months ago (2016-09-13 14:23:44 UTC) #76
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/2201323003/720001
4 years, 3 months ago (2016-09-13 14:24:05 UTC) #79
commit-bot: I haz the power
Committed patchset #37 (id:720001) as https://skia.googlesource.com/skia/+/54dc4878b02765efea39e68b218df1e4bfff4b88
4 years, 3 months ago (2016-09-13 15:09:49 UTC) #81
hal.canary
4 years, 3 months ago (2016-09-13 15:52:54 UTC) #83
Message was sent while issue was closed.
https://codereview.chromium.org/2201323003/diff/720001/src/core/SkPipe.h
File src/core/SkPipe.h (right):

https://codereview.chromium.org/2201323003/diff/720001/src/core/SkPipe.h#newc...
src/core/SkPipe.h:25: // Ownership is not transferred, so caller must ceep the
serializer alive
s/ceep/keep/

Powered by Google App Engine
This is Rietveld 408576698