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

Issue 901303003: [PDF] Fix shader fallback mapping when clipped (Closed)

Created:
5 years, 10 months ago by f(malita)
Modified:
5 years, 10 months ago
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

[PDF] Fix shader fallback mapping when clipped The bounding box used for our pattern sizing is in device coordinates, but SkPDFImageShader::Create() runs it through the inverse CTM to map into shader space (with a notable effect of vertical flipping). In order not to implode, the fallback shader path needs to compute its adjustments in a consistent space. BUG=skia:3398, chromium:454591, chromium:455052 R=halcanary@google.com Committed: https://skia.googlesource.com/skia/+/7b4d4c7a4668f771641aaed88b83d22d5efe6873

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comments #

Patch Set 3 : actual review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -7 lines) Patch
M src/pdf/SkPDFShader.cpp View 1 2 6 chunks +16 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
f(malita)
My head is spinning from all the nasty voodoo going on in SkPDFImageShader::Create(), but I ...
5 years, 10 months ago (2015-02-05 23:16:27 UTC) #1
f(malita)
PTAL
5 years, 10 months ago (2015-02-06 23:59:12 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/901303003/1
5 years, 10 months ago (2015-02-12 21:03:48 UTC) #5
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 10 months ago (2015-02-12 21:03:49 UTC) #6
robertphillips
I defer to Hal for the real l g t m https://codereview.chromium.org/901303003/diff/1/src/pdf/SkPDFShader.cpp File src/pdf/SkPDFShader.cpp (right): ...
5 years, 10 months ago (2015-02-12 21:12:59 UTC) #7
hal.canary
On 2015/02/12 21:03:49, I haz the power (commit-bot) wrote: > Note for Reviewers: > The ...
5 years, 10 months ago (2015-02-12 21:13:06 UTC) #8
f(malita)
Thanks! https://codereview.chromium.org/901303003/diff/1/src/pdf/SkPDFShader.cpp File src/pdf/SkPDFShader.cpp (right): https://codereview.chromium.org/901303003/diff/1/src/pdf/SkPDFShader.cpp#newcode1225 src/pdf/SkPDFShader.cpp:1225: SkRect shaderRect = SkRect::Make(bbox); On 2015/02/12 21:12:59, robertphillips ...
5 years, 10 months ago (2015-02-12 21:28:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/901303003/40001
5 years, 10 months ago (2015-02-12 21:29:04 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-12 21:56:55 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/7b4d4c7a4668f771641aaed88b83d22d5efe6873

Powered by Google App Engine
This is Rietveld 408576698