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

Issue 841763005: Generic PDF shader fallback (Closed)

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

Description

Generic PDF shader fallback Instead of ignoring unsupported shaders (and essentially filling with solid black), convert them to bitmap shaders using on-the-fly rasterization. BUG=skia:3299 R=reed@google.com,halcanary@google.com Committed: https://skia.googlesource.com/skia/+/c3796c7a74e103d9b367ad9449fcdacfa20d83e1

Patch Set 1 #

Patch Set 2 : fix assert #

Patch Set 3 : observe rasterDPI + limit max bitmap size #

Patch Set 4 : gm suppressions #

Patch Set 5 : win build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -16 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/pdf/SkPDFShader.h View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M src/pdf/SkPDFShader.cpp View 1 2 3 4 4 chunks +38 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
f(malita)
I think it's better to raster at the wrong rez than to completely ignore unsupported ...
5 years, 11 months ago (2015-01-12 20:50:26 UTC) #1
hal.canary
On 2015/01/12 20:50:26, f(malita) wrote: > I think it's better to raster at the wrong ...
5 years, 11 months ago (2015-01-12 21:08:26 UTC) #2
f(malita)
On 2015/01/12 21:08:26, Hal Canary wrote: > On 2015/01/12 20:50:26, f(malita) wrote: > > I ...
5 years, 11 months ago (2015-01-12 21:33:41 UTC) #3
hal.canary
lgtm
5 years, 11 months ago (2015-01-12 21:57:04 UTC) #4
f(malita)
Updated to observe fRasterDpi and clamp the maximum bitmap size. 6 GMs require new PDF ...
5 years, 11 months ago (2015-01-13 13:56:13 UTC) #5
hal.canary
On 2015/01/13 13:56:13, f(malita) wrote: > Updated to observe fRasterDpi and clamp the maximum bitmap ...
5 years, 11 months ago (2015-01-13 15:42:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841763005/60001
5 years, 11 months ago (2015-01-13 15:45:20 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/1842)
5 years, 11 months ago (2015-01-13 15:50:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841763005/80001
5 years, 11 months ago (2015-01-13 15:57:29 UTC) #12
commit-bot: I haz the power
5 years, 11 months ago (2015-01-13 16:06:14 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/c3796c7a74e103d9b367ad9449fcdacfa20d83e1

Powered by Google App Engine
This is Rietveld 408576698