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

Issue 2462013003: Deferred image generator subsetting (Closed)

Created:
4 years, 1 month ago by f(malita)
Modified:
4 years, 1 month ago
Reviewers:
reed1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Deferred image generator subsetting Instead of invoking the generator at subset time, instantiate a new SkImage_Generator with its own cacherator but shared generator. R=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2462013003 Committed: https://skia.googlesource.com/skia/+/8bd45cd98eb0eff1fb074fac9f469fdad5ca51f9

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : unified ctor #

Total comments: 2

Patch Set 4 : unlocked generator access comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -47 lines) Patch
M src/core/SkImageCacherator.h View 1 2 2 chunks +19 lines, -3 lines 0 comments Download
M src/core/SkImageCacherator.cpp View 1 2 3 4 chunks +7 lines, -28 lines 0 comments Download
M src/image/SkImage_Generator.cpp View 1 2 2 chunks +8 lines, -16 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
f(malita)
4 years, 1 month ago (2016-10-31 17:21:46 UTC) #2
f(malita)
4 years, 1 month ago (2016-11-04 14:44:08 UTC) #7
f(malita)
Updated per conversation, to fold the origin into the subset arg and unify the ctor ...
4 years, 1 month ago (2016-11-04 17:50:29 UTC) #8
reed1
lgtm https://codereview.chromium.org/2462013003/diff/40001/src/core/SkImageCacherator.cpp File src/core/SkImageCacherator.cpp (right): https://codereview.chromium.org/2462013003/diff/40001/src/core/SkImageCacherator.cpp#newcode64 src/core/SkImageCacherator.cpp:64: const SkImageInfo& info = fSharedGenerator->fGenerator->getInfo(); I presume its ...
4 years, 1 month ago (2016-11-04 17:55:29 UTC) #12
f(malita)
https://codereview.chromium.org/2462013003/diff/40001/src/core/SkImageCacherator.cpp File src/core/SkImageCacherator.cpp (right): https://codereview.chromium.org/2462013003/diff/40001/src/core/SkImageCacherator.cpp#newcode64 src/core/SkImageCacherator.cpp:64: const SkImageInfo& info = fSharedGenerator->fGenerator->getInfo(); On 2016/11/04 17:55:29, reed1 ...
4 years, 1 month ago (2016-11-04 18:10:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2462013003/60001
4 years, 1 month ago (2016-11-04 18:10:28 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 18:36:34 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/8bd45cd98eb0eff1fb074fac9f469fdad5ca51f9

Powered by Google App Engine
This is Rietveld 408576698