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

Issue 1737543002: Use SkPicture's InstallPixelRefProc to decode SkImages in an skp (Closed)

Created:
4 years, 10 months ago by msarett
Modified:
4 years, 10 months ago
Reviewers:
scroggo, mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Use SkPicture's InstallPixelRefProc to decode SkImages in an skp If the InstallPixelRefProc is NULL, we fall back on SkImageGenerator. This should fix tools/get_images_from_skps.cpp. BUG=skia:5005 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1737543002

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -32 lines) Patch
M src/core/SkReadBuffer.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/core/SkReadBuffer.cpp View 3 chunks +49 lines, -32 lines 2 comments Download

Messages

Total messages: 6 (3 generated)
msarett
https://codereview.chromium.org/1737543002/diff/1/src/core/SkReadBuffer.cpp File src/core/SkReadBuffer.cpp (right): https://codereview.chromium.org/1737543002/diff/1/src/core/SkReadBuffer.cpp#newcode290 src/core/SkReadBuffer.cpp:290: SkImage* image = SkImage::NewFromBitmap(bitmap); This is the quick and ...
4 years, 10 months ago (2016-02-24 23:30:54 UTC) #3
scroggo
https://codereview.chromium.org/1737543002/diff/1/src/core/SkReadBuffer.cpp File src/core/SkReadBuffer.cpp (right): https://codereview.chromium.org/1737543002/diff/1/src/core/SkReadBuffer.cpp#newcode290 src/core/SkReadBuffer.cpp:290: SkImage* image = SkImage::NewFromBitmap(bitmap); On 2016/02/24 23:30:54, msarett wrote: ...
4 years, 10 months ago (2016-02-25 12:52:36 UTC) #4
msarett
4 years, 10 months ago (2016-02-25 13:47:07 UTC) #5
SGTM

Powered by Google App Engine
This is Rietveld 408576698