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

Issue 563783003: Ensure blob typeface information survives SkGPipe serialization. (Closed)

Created:
6 years, 3 months ago by f(malita)
Modified:
6 years, 3 months ago
CC:
reviews_skia.org, jbroman
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Ensure blob typeface information survives SkGPipe serialization. When flattening text blobs to the temp buffer, we need to collect typeface info and ship it across the pipe explicitly. R=reed@google.com,robertphillips@google.com,mtklein@google.com BUG=412445 Committed: https://skia.googlesource.com/skia/+/acb882c239c0cfea738fe63ed9de48ddc2ddc76a

Patch Set 1 #

Patch Set 2 : Read/write the typeface array in one swoop (when !cross-process) #

Total comments: 4

Patch Set 3 : cross-process fix + gm typeface coverage #

Total comments: 7

Patch Set 4 : Comments + win build fix #

Total comments: 1

Patch Set 5 : SkRefCntSet iterator #

Total comments: 2

Patch Set 6 : Pass TypefaceBuffer by ptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -11 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M gm/textblob.cpp View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M src/core/SkPtrRecorder.h View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
M src/pipe/SkGPipeRead.cpp View 1 3 chunks +15 lines, -3 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 2 3 4 5 7 chunks +64 lines, -6 lines 0 comments Download

Messages

Total messages: 25 (2 generated)
f(malita)
6 years, 3 months ago (2014-09-12 15:33:26 UTC) #1
jbroman
wrong bug #?
6 years, 3 months ago (2014-09-12 15:35:35 UTC) #2
f(malita)
On 2014/09/12 15:35:35, jbroman wrote: > wrong bug #? yes, fixed.
6 years, 3 months ago (2014-09-12 15:37:44 UTC) #3
mtklein
Why are text blobs different from the other text draw ops? Add a regression test ...
6 years, 3 months ago (2014-09-12 15:46:34 UTC) #4
f(malita)
On 2014/09/12 15:46:34, mtklein wrote: > Why are text blobs different from the other text ...
6 years, 3 months ago (2014-09-12 15:53:13 UTC) #5
mtklein
On 2014/09/12 15:53:13, Florin Malita wrote: > On 2014/09/12 15:46:34, mtklein wrote: > > Why ...
6 years, 3 months ago (2014-09-12 15:58:40 UTC) #6
mtklein
code lgtm https://codereview.chromium.org/563783003/diff/20001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.chromium.org/563783003/diff/20001/src/pipe/SkGPipeWrite.cpp#newcode955 src/pipe/SkGPipeWrite.cpp:955: SkTypeface** array = (SkTypeface**)storage.get(); Out of curiosity, ...
6 years, 3 months ago (2014-09-12 16:07:17 UTC) #7
reed1
6 years, 3 months ago (2014-09-12 16:24:58 UTC) #9
f(malita)
While putting together a test, I discovered that cross-process is borked: getTypefaceID injects a kDef_Typeface_DrawOp ...
6 years, 3 months ago (2014-09-12 22:20:49 UTC) #10
f(malita)
On 2014/09/12 22:20:49, Florin Malita wrote: > While putting together a test, I discovered that ...
6 years, 3 months ago (2014-09-12 22:26:49 UTC) #11
f(malita)
Updated, PTAL.
6 years, 3 months ago (2014-09-12 22:59:29 UTC) #12
mtklein
https://codereview.chromium.org/563783003/diff/40001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.chromium.org/563783003/diff/40001/src/pipe/SkGPipeWrite.cpp#newcode969 src/pipe/SkGPipeWrite.cpp:969: typefaceIDs[i] = this->getTypefaceID(array[i]); I can't help but think that ...
6 years, 3 months ago (2014-09-12 23:09:29 UTC) #13
reed1
https://codereview.chromium.org/563783003/diff/40001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.chromium.org/563783003/diff/40001/src/pipe/SkGPipeWrite.cpp#newcode969 src/pipe/SkGPipeWrite.cpp:969: typefaceIDs[i] = this->getTypefaceID(array[i]); On 2014/09/12 23:09:29, mtklein wrote: > ...
6 years, 3 months ago (2014-09-15 14:13:40 UTC) #14
robertphillips
https://codereview.chromium.org/563783003/diff/40001/src/pipe/SkGPipeRead.cpp File src/pipe/SkGPipeRead.cpp (right): https://codereview.chromium.org/563783003/diff/40001/src/pipe/SkGPipeRead.cpp#newcode196 src/pipe/SkGPipeRead.cpp:196: Should/can this be a "const SkTypeface*" ? https://codereview.chromium.org/563783003/diff/40001/src/pipe/SkGPipeWrite.cpp File ...
6 years, 3 months ago (2014-09-15 18:13:03 UTC) #15
f(malita)
https://codereview.chromium.org/563783003/diff/40001/src/pipe/SkGPipeRead.cpp File src/pipe/SkGPipeRead.cpp (right): https://codereview.chromium.org/563783003/diff/40001/src/pipe/SkGPipeRead.cpp#newcode196 src/pipe/SkGPipeRead.cpp:196: On 2014/09/15 18:13:03, robertphillips wrote: > Should/can this be ...
6 years, 3 months ago (2014-09-15 21:51:19 UTC) #16
mtklein
https://codereview.chromium.org/563783003/diff/60001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.chromium.org/563783003/diff/60001/src/pipe/SkGPipeWrite.cpp#newcode955 src/pipe/SkGPipeWrite.cpp:955: typefaceSet.copyToArray((SkRefCnt**)buffer); Is there any hope for writing typefaceSet.copyIDsToArray(uint32_t*), so ...
6 years, 3 months ago (2014-09-15 22:13:14 UTC) #17
f(malita)
On 2014/09/15 22:13:14, mtklein wrote: > https://codereview.chromium.org/563783003/diff/60001/src/pipe/SkGPipeWrite.cpp > File src/pipe/SkGPipeWrite.cpp (right): > > https://codereview.chromium.org/563783003/diff/60001/src/pipe/SkGPipeWrite.cpp#newcode955 > ...
6 years, 3 months ago (2014-09-15 23:46:26 UTC) #18
mtklein
On 2014/09/15 23:46:26, Florin Malita wrote: > On 2014/09/15 22:13:14, mtklein wrote: > > https://codereview.chromium.org/563783003/diff/60001/src/pipe/SkGPipeWrite.cpp ...
6 years, 3 months ago (2014-09-16 15:47:04 UTC) #19
f(malita)
On 2014/09/16 15:47:04, mtklein wrote: > On 2014/09/15 23:46:26, Florin Malita wrote: > > On ...
6 years, 3 months ago (2014-09-16 23:14:32 UTC) #20
mtklein
lgtm https://codereview.chromium.org/563783003/diff/80001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.chromium.org/563783003/diff/80001/src/pipe/SkGPipeWrite.cpp#newcode947 src/pipe/SkGPipeWrite.cpp:947: TypefaceBuffer& buffer) { pass by TypefaceBuffer* ?
6 years, 3 months ago (2014-09-16 23:41:12 UTC) #21
f(malita)
https://codereview.chromium.org/563783003/diff/80001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.chromium.org/563783003/diff/80001/src/pipe/SkGPipeWrite.cpp#newcode947 src/pipe/SkGPipeWrite.cpp:947: TypefaceBuffer& buffer) { On 2014/09/16 23:41:12, mtklein wrote: > ...
6 years, 3 months ago (2014-09-17 00:49:36 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/563783003/100001
6 years, 3 months ago (2014-09-17 00:50:54 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 00:58:38 UTC) #25
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as acb882c239c0cfea738fe63ed9de48ddc2ddc76a

Powered by Google App Engine
This is Rietveld 408576698