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 304443003: add colortable support to imagegenerator (Closed)

Created:
6 years, 7 months ago by reed1
Modified:
6 years, 6 months ago
Reviewers:
hal.canary, scroggo
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

add colortable support to imagegenerator BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14916

Patch Set 1 #

Total comments: 4

Patch Set 2 : add guard for chrome #

Total comments: 8

Patch Set 3 : copy ctable as requested #

Total comments: 3

Patch Set 4 : add checker that subclasses respect ctabls #

Patch Set 5 : address review comments #

Patch Set 6 : #

Patch Set 7 : support ctable in discardablepixelref #

Total comments: 6

Patch Set 8 : address comments from #7 #

Total comments: 2

Patch Set 9 : fix spelling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -63 lines) Patch
M gyp/images.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/skia_for_chromium_defines.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkImageGenerator.h View 1 2 3 4 5 5 chunks +32 lines, -5 lines 0 comments Download
M src/images/SkDecodingImageGenerator.cpp View 1 2 3 4 5 6 7 7 chunks +33 lines, -40 lines 0 comments Download
A src/images/SkImageGenerator.cpp View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
M src/lazy/SkDiscardablePixelRef.h View 1 2 3 4 5 6 7 2 chunks +1 line, -4 lines 0 comments Download
M src/lazy/SkDiscardablePixelRef.cpp View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -2 lines 0 comments Download
M tests/CachedDecodingPixelRefTest.cpp View 1 2 chunks +6 lines, -4 lines 0 comments Download
M tests/DrawBitmapRectTest.cpp View 1 1 chunk +4 lines, -8 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
reed1
6 years, 7 months ago (2014-05-27 16:04:09 UTC) #1
scroggo
https://codereview.chromium.org/304443003/diff/1/gyp/images.gyp File gyp/images.gyp (right): https://codereview.chromium.org/304443003/diff/1/gyp/images.gyp#newcode74 gyp/images.gyp:74: '../src/images/SkImageGenerator.cpp', This file is missing from your CL. https://codereview.chromium.org/304443003/diff/1/include/core/SkImageGenerator.h ...
6 years, 7 months ago (2014-05-27 16:13:58 UTC) #2
reed1
ptal https://codereview.chromium.org/304443003/diff/1/gyp/images.gyp File gyp/images.gyp (right): https://codereview.chromium.org/304443003/diff/1/gyp/images.gyp#newcode74 gyp/images.gyp:74: '../src/images/SkImageGenerator.cpp', On 2014/05/27 16:13:58, scroggo wrote: > This ...
6 years, 7 months ago (2014-05-27 18:05:46 UTC) #3
scroggo
Is the intent to check in the changes to make DecodingImageGenerator handle Index8 as a ...
6 years, 7 months ago (2014-05-27 18:31:22 UTC) #4
hal.canary
https://codereview.chromium.org/304443003/diff/40001/include/core/SkImageGenerator.h File include/core/SkImageGenerator.h (right): https://codereview.chromium.org/304443003/diff/40001/include/core/SkImageGenerator.h#newcode53 include/core/SkImageGenerator.h:53: virtual bool getInfo(SkImageInfo* info) { return this->onGetInfo(info); } Why ...
6 years, 7 months ago (2014-05-27 18:39:39 UTC) #5
hal.canary
LGTM https://codereview.chromium.org/304443003/diff/40001/include/core/SkImageGenerator.h File include/core/SkImageGenerator.h (right): https://codereview.chromium.org/304443003/diff/40001/include/core/SkImageGenerator.h#newcode53 include/core/SkImageGenerator.h:53: virtual bool getInfo(SkImageInfo* info) { return this->onGetInfo(info); } ...
6 years, 7 months ago (2014-05-27 18:40:52 UTC) #6
reed1
https://codereview.chromium.org/304443003/diff/20001/gyp/skia_for_chromium_defines.gypi File gyp/skia_for_chromium_defines.gypi (right): https://codereview.chromium.org/304443003/diff/20001/gyp/skia_for_chromium_defines.gypi#newcode18 gyp/skia_for_chromium_defines.gypi:18: 'SK_SUPPORT_LEGACY_IMAGEGENERATORAPI', On 2014/05/27 18:31:23, scroggo wrote: > Remember to ...
6 years, 7 months ago (2014-05-27 18:47:34 UTC) #7
scroggo
https://codereview.chromium.org/304443003/diff/20001/gyp/skia_for_chromium_defines.gypi File gyp/skia_for_chromium_defines.gypi (right): https://codereview.chromium.org/304443003/diff/20001/gyp/skia_for_chromium_defines.gypi#newcode18 gyp/skia_for_chromium_defines.gypi:18: 'SK_SUPPORT_LEGACY_IMAGEGENERATORAPI', On 2014/05/27 18:47:34, reed1 wrote: > On 2014/05/27 ...
6 years, 7 months ago (2014-05-27 19:08:06 UTC) #8
reed1
ptal
6 years, 6 months ago (2014-05-28 13:55:58 UTC) #9
scroggo
https://codereview.chromium.org/304443003/diff/90001/src/images/SkDecodingImageGenerator.cpp File src/images/SkDecodingImageGenerator.cpp (right): https://codereview.chromium.org/304443003/diff/90001/src/images/SkDecodingImageGenerator.cpp#newcode225 src/images/SkDecodingImageGenerator.cpp:225: // We do not support indexed color with SkImageGenerators, ...
6 years, 6 months ago (2014-05-28 15:01:37 UTC) #10
reed1
https://codereview.chromium.org/304443003/diff/90001/src/images/SkDecodingImageGenerator.cpp File src/images/SkDecodingImageGenerator.cpp (right): https://codereview.chromium.org/304443003/diff/90001/src/images/SkDecodingImageGenerator.cpp#newcode225 src/images/SkDecodingImageGenerator.cpp:225: // We do not support indexed color with SkImageGenerators, ...
6 years, 6 months ago (2014-05-28 15:48:01 UTC) #11
scroggo
lgtm https://codereview.chromium.org/304443003/diff/60008/src/lazy/SkDiscardablePixelRef.cpp File src/lazy/SkDiscardablePixelRef.cpp (right): https://codereview.chromium.org/304443003/diff/60008/src/lazy/SkDiscardablePixelRef.cpp#newcode77 src/lazy/SkDiscardablePixelRef.cpp:77: // could move it into the block, but ...
6 years, 6 months ago (2014-05-28 15:53:38 UTC) #12
reed1
https://codereview.chromium.org/304443003/diff/60008/src/lazy/SkDiscardablePixelRef.cpp File src/lazy/SkDiscardablePixelRef.cpp (right): https://codereview.chromium.org/304443003/diff/60008/src/lazy/SkDiscardablePixelRef.cpp#newcode77 src/lazy/SkDiscardablePixelRef.cpp:77: // could move it into the block, but then ...
6 years, 6 months ago (2014-05-28 15:56:15 UTC) #13
reed1
The CQ bit was checked by reed@google.com
6 years, 6 months ago (2014-05-28 15:56:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/304443003/110001
6 years, 6 months ago (2014-05-28 15:56:41 UTC) #15
commit-bot: I haz the power
Change committed as 14916
6 years, 6 months ago (2014-05-28 16:02:01 UTC) #16
reed1
6 years, 6 months ago (2014-05-28 16:15:42 UTC) #17
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/300873007/ by reed@google.com.

The reason for reverting is: failing tests.

Powered by Google App Engine
This is Rietveld 408576698