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

Issue 138803005: Set write buffer flags only in SkWriteBuffer and SkFlatController constructors. (Closed)

Created:
6 years, 10 months ago by mtklein
Modified:
6 years, 10 months ago
Reviewers:
scroggo, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Set write buffer flags only in SkWriteBuffer and SkFlatController constructors. This is a baby step toward refactored (and faster in-process) typeface and flattenable factory encoding and decoding. The sooner SkWriteBuffer knows its flags, the better. Next steps will be to rearrange Sk{Read,Write}Buffer members into disjoint strategies to handle typefaces and flattenable factories: one for in-process, one for cross-process, one when validating. BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=13253

Patch Set 1 #

Patch Set 2 : tweaks #

Total comments: 2

Patch Set 3 : INHERITED #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -36 lines) Patch
M include/core/SkWriteBuffer.h View 1 2 chunks +7 lines, -8 lines 0 comments Download
M src/core/SkFlattenableSerialization.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/core/SkPictureFlat.h View 5 chunks +4 lines, -10 lines 0 comments Download
M src/core/SkPictureFlat.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/core/SkWriteBuffer.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M tests/SerializationTest.cpp View 3 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
mtklein
I am a moron.
6 years, 10 months ago (2014-01-30 21:11:11 UTC) #1
scroggo
lgtm https://codereview.chromium.org/138803005/diff/20001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.chromium.org/138803005/diff/20001/src/pipe/SkGPipeWrite.cpp#newcode74 src/pipe/SkGPipeWrite.cpp:74: : SkFlatController(isCrossProcess ? SkWriteBuffer::kCrossProcess_Flag : 0) nit: We ...
6 years, 10 months ago (2014-01-30 21:14:13 UTC) #2
mtklein
https://codereview.chromium.org/138803005/diff/20001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.chromium.org/138803005/diff/20001/src/pipe/SkGPipeWrite.cpp#newcode74 src/pipe/SkGPipeWrite.cpp:74: : SkFlatController(isCrossProcess ? SkWriteBuffer::kCrossProcess_Flag : 0) On 2014/01/30 21:14:14, ...
6 years, 10 months ago (2014-01-30 21:16:56 UTC) #3
scroggo
On 2014/01/30 21:16:56, mtklein wrote: > https://codereview.chromium.org/138803005/diff/20001/src/pipe/SkGPipeWrite.cpp > File src/pipe/SkGPipeWrite.cpp (right): > > https://codereview.chromium.org/138803005/diff/20001/src/pipe/SkGPipeWrite.cpp#newcode74 > ...
6 years, 10 months ago (2014-01-30 21:17:40 UTC) #4
reed1
lgtm
6 years, 10 months ago (2014-01-30 21:29:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@google.com/138803005/40001
6 years, 10 months ago (2014-01-30 21:30:16 UTC) #6
commit-bot: I haz the power
Change committed as 13253
6 years, 10 months ago (2014-01-30 22:16:37 UTC) #7
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 22:16:41 UTC) #8
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698