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

Issue 19109002: Add the lazy decoder from PictureFlags to SkImageDecoder (Closed)

Created:
7 years, 5 months ago by sglez
Modified:
7 years, 5 months ago
Reviewers:
scroggo, caryclark
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Add the lazy decoder from PictureFlags to SkImageDecoder Committed: http://code.google.com/p/skia/source/detail?r=10111

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove unnecessary dependency #

Total comments: 7

Patch Set 3 : Move LazyDecodeBitmap to its own cpp/h. #

Total comments: 16

Patch Set 4 : Edit tools.gyp. Remove things I didn't catch. Put LazyDecodeBitmap inside sk_tools. #

Patch Set 5 : Add include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -83 lines) Patch
M gyp/tools.gyp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
A tools/LazyDecodeBitmap.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A tools/LazyDecodeBitmap.cpp View 1 2 3 4 1 chunk +76 lines, -0 lines 0 comments Download
M tools/PictureRenderingFlags.cpp View 1 2 3 chunks +0 lines, -54 lines 0 comments Download
M tools/bench_pictures_main.cpp View 1 2 3 4 chunks +4 lines, -7 lines 0 comments Download
M tools/lua/lua_pictures.cpp View 1 2 3 4 chunks +2 lines, -7 lines 0 comments Download
M tools/pinspect.cpp View 1 2 3 3 chunks +2 lines, -7 lines 0 comments Download
M tools/render_pictures_main.cpp View 1 2 3 4 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
sglez
I am leaving PictureFlags alone until I get Leon's feedback on these changes.
7 years, 5 months ago (2013-07-12 18:12:27 UTC) #1
caryclark
LGTM but let Leon weigh in on it as well before you commit https://codereview.chromium.org/19109002/diff/1/include/core/SkImageDecoder.h File ...
7 years, 5 months ago (2013-07-12 18:29:39 UTC) #2
sglez
Small push. Left a comment for Leon below. https://codereview.chromium.org/19109002/diff/1/include/core/SkImageDecoder.h File include/core/SkImageDecoder.h (right): https://codereview.chromium.org/19109002/diff/1/include/core/SkImageDecoder.h#newcode19 include/core/SkImageDecoder.h:19: #include ...
7 years, 5 months ago (2013-07-13 04:11:27 UTC) #3
scroggo
I think SkImageDecoder is the wrong place to put LazyDecodeBitmap. More details in line. Let ...
7 years, 5 months ago (2013-07-15 15:09:28 UTC) #4
sglez
Thanks for the review. This new patch leaves SkImageDecoder untouched. New files are tools/LazyDecodeBitmap.(cpp|h) and ...
7 years, 5 months ago (2013-07-15 17:09:17 UTC) #5
scroggo
https://codereview.chromium.org/19109002/diff/18010/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/19109002/diff/18010/gyp/tools.gyp#newcode134 gyp/tools.gyp:134: '../tools/LazyDecodeBitmap.cpp', I think it would be better to include ...
7 years, 5 months ago (2013-07-15 18:02:41 UTC) #6
sglez
https://codereview.chromium.org/19109002/diff/18010/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/19109002/diff/18010/gyp/tools.gyp#newcode134 gyp/tools.gyp:134: '../tools/LazyDecodeBitmap.cpp', On 2013/07/15 18:02:41, scroggo wrote: > I think ...
7 years, 5 months ago (2013-07-16 15:59:32 UTC) #7
scroggo
lgtm, once you add the include in LazyDecodeBitmap.cpp https://codereview.chromium.org/19109002/diff/18010/tools/LazyDecodeBitmap.cpp File tools/LazyDecodeBitmap.cpp (right): https://codereview.chromium.org/19109002/diff/18010/tools/LazyDecodeBitmap.cpp#newcode22 tools/LazyDecodeBitmap.cpp:22: class ...
7 years, 5 months ago (2013-07-16 16:06:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/sglez@google.com/19109002/46002
7 years, 5 months ago (2013-07-16 18:13:22 UTC) #9
commit-bot: I haz the power
7 years, 5 months ago (2013-07-16 18:21:48 UTC) #10
Message was sent while issue was closed.
Change committed as 10111

Powered by Google App Engine
This is Rietveld 408576698