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

Issue 26572006: Revert "Revert "change SkColorTable to be immutable"" (Closed)

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

Description

Revert "Revert "change SkColorTable to be immutable"" This reverts commit b8162cb840f4cb6002ef68d5ac775c6a122c52a9. Fixed was call-sites in benches that used the (now gone) setIsOpaque api. R=scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=11695

Patch Set 1 #

Total comments: 1

Patch Set 2 : fixed up BitmapCopyTest #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -227 lines) Patch
M bench/BitmapBench.cpp View 3 chunks +6 lines, -8 lines 0 comments Download
M bench/RepeatTileBench.cpp View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M gm/tinybitmap.cpp View 1 chunk +3 lines, -6 lines 0 comments Download
M include/core/SkAlpha.h View 1 chunk +3 lines, -0 lines 0 comments Download
M include/core/SkBitmap.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkColorTable.h View 4 chunks +18 lines, -33 lines 0 comments Download
M samplecode/SampleBlur.cpp View 1 chunk +5 lines, -5 lines 0 comments Download
M samplecode/SampleDitherBitmap.cpp View 2 chunks +9 lines, -6 lines 0 comments Download
M samplecode/SampleTinyBitmap.cpp View 2 chunks +7 lines, -4 lines 0 comments Download
M src/core/SkBitmap.cpp View 2 chunks +4 lines, -8 lines 0 comments Download
M src/core/SkBitmapProcState_procs.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/core/SkColorTable.cpp View 5 chunks +20 lines, -73 lines 0 comments Download
M src/core/SkProcSpriteBlitter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkSpriteBlitter_RGB16.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/images/SkImageDecoder_libgif.cpp View 2 chunks +10 lines, -5 lines 0 comments Download
M src/images/SkImageDecoder_libpng.cpp View 4 chunks +16 lines, -9 lines 0 comments Download
M src/opts/SkBitmapProcState_opts_arm.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/BitmapCopyTest.cpp View 1 7 chunks +50 lines, -55 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
reed1
only change from original CL should be the two bench/ files
7 years, 2 months ago (2013-10-09 17:25:09 UTC) #1
scroggo
https://codereview.chromium.org/26572006/diff/1/bench/RepeatTileBench.cpp File bench/RepeatTileBench.cpp (right): https://codereview.chromium.org/26572006/diff/1/bench/RepeatTileBench.cpp#newcode69 bench/RepeatTileBench.cpp:69: SkColorTable* ctable = new SkColorTable(storage, 216, kOpaque_SkAlphaType); We discussed ...
7 years, 2 months ago (2013-10-09 18:33:42 UTC) #2
reed1
ptal -- bitmapcopytest
7 years, 2 months ago (2013-10-09 20:59:36 UTC) #3
scroggo
lgtm https://codereview.chromium.org/26572006/diff/6001/bench/RepeatTileBench.cpp File bench/RepeatTileBench.cpp (right): https://codereview.chromium.org/26572006/diff/6001/bench/RepeatTileBench.cpp#newcode69 bench/RepeatTileBench.cpp:69: SkColorTable* ctable = new SkColorTable(storage, 216, kPremul_SkAlphaType); As ...
7 years, 2 months ago (2013-10-09 21:13:55 UTC) #4
reed1
https://codereview.chromium.org/26572006/diff/6001/bench/RepeatTileBench.cpp File bench/RepeatTileBench.cpp (right): https://codereview.chromium.org/26572006/diff/6001/bench/RepeatTileBench.cpp#newcode69 bench/RepeatTileBench.cpp:69: SkColorTable* ctable = new SkColorTable(storage, 216, kPremul_SkAlphaType); On 2013/10/09 ...
7 years, 2 months ago (2013-10-09 21:29:45 UTC) #5
scroggo
On 2013/10/09 21:29:45, reed1 wrote: > https://codereview.chromium.org/26572006/diff/6001/bench/RepeatTileBench.cpp > File bench/RepeatTileBench.cpp (right): > > https://codereview.chromium.org/26572006/diff/6001/bench/RepeatTileBench.cpp#newcode69 > ...
7 years, 2 months ago (2013-10-09 21:30:18 UTC) #6
reed1
7 years, 2 months ago (2013-10-10 14:45:01 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r11695 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698