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

Issue 1257533004: Merge sub-device annotations in SkPDFDevice::drawDevice() (Closed)

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

Description

Merge sub-device annotations in SkPDFDevice::drawDevice() Previously annotations added between saveLayer/restore were lost. Merge annotations in SkPDFDevice::drawDevice(). Also modified code to apply correct transformation and clipping on annotations added between saveLayer/restore: - Apply the initial transform only when adding the annotations into the doc, otherwise we need to unapply sub-device's initial transform before merging the annotations into parent-device. - Apply only device-local clipping. fClipStack is in global coordinates, which is not suitable to clip rects in sub-devices. BUG=skia:4080 BUG=503515 Committed: https://skia.googlesource.com/skia/+/ef6c50a80f77e6da84e198a34755dd42b1b0cf1e

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Fix warnings #

Total comments: 1

Patch Set 4 : Rebase and address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -81 lines) Patch
M gm/annotated_text.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/doc/SkDocument_PDF.cpp View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M src/pdf/SkPDFDevice.h View 1 2 3 5 chunks +12 lines, -6 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 12 chunks +88 lines, -71 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
Xianzhu
5 years, 4 months ago (2015-07-29 21:05:07 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257533004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257533004/20001
5 years, 4 months ago (2015-07-29 21:20:44 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 4 months ago (2015-07-29 21:20:45 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/2365)
5 years, 4 months ago (2015-07-29 21:24:28 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257533004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257533004/40001
5 years, 4 months ago (2015-07-29 21:30:02 UTC) #9
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Please ask for an LGTM from ...
5 years, 4 months ago (2015-07-30 03:20:00 UTC) #11
Xianzhu
5 years, 4 months ago (2015-07-31 22:09:05 UTC) #13
Xianzhu
Reviewers, what do you think about this CL? Feel free to say no and create ...
5 years, 4 months ago (2015-08-04 20:47:46 UTC) #14
hcm
On 2015/08/04 20:47:46, Xianzhu wrote: > Reviewers, what do you think about this CL? > ...
5 years, 4 months ago (2015-08-04 21:07:49 UTC) #16
tomhudson
I was also out, but Hal's clearly the only person who can review this. More ...
5 years, 4 months ago (2015-08-10 13:37:28 UTC) #17
Xianzhu
Is Hal back? On 2015/08/10 13:37:28, tomhudson wrote: > I was also out, but Hal's ...
5 years, 3 months ago (2015-08-27 22:13:54 UTC) #18
Xianzhu
ping...
5 years, 3 months ago (2015-09-08 23:18:06 UTC) #19
Xianzhu
On 2015/09/08 23:18:06, Xianzhu wrote: > ping... ping...
5 years, 3 months ago (2015-09-14 19:25:20 UTC) #20
hal.canary
Sorry about the delay; I had a hard time wrapping my head around this and ...
5 years, 3 months ago (2015-09-16 17:30:46 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257533004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257533004/60001
5 years, 3 months ago (2015-09-17 22:43:21 UTC) #24
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 03:38:06 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/ef6c50a80f77e6da84e198a34755dd42b1b0cf1e

Powered by Google App Engine
This is Rietveld 408576698