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

Issue 227433009: Rename kPMColor_SkColorType to kN32_SkColorType. (Closed)

Created:
6 years, 8 months ago by scroggo
Modified:
6 years, 8 months ago
Reviewers:
djsollen, benchen, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Rename kPMColor_SkColorType to kN32_SkColorType. The new name better represents what this flag means. BUG=skia:2384 Committed: http://code.google.com/p/skia/source/detail?r=14117

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add legacy define to skia_for_chromium_defines. #

Patch Set 3 : Rename kPMColor_SkColorType inside Skia. #

Total comments: 1

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -128 lines) Patch
M bench/DeferredSurfaceCopyBench.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M bench/benchmain.cpp View 1 2 1 chunk +10 lines, -10 lines 0 comments Download
M debugger/QT/SkImageWidget.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M dm/DM.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M dm/DMBenchTask.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M dm/DMGpuGMTask.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M experimental/iOSSampleApp/Shared/SkUIView.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M experimental/iOSSampleApp/SkSampleUIView.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gm/bitmapcopy.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gm/bitmapfilters.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gm/bitmappremul.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M gm/gammatext.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gm/gmmain.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M gm/tilemodes.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M gm/tilemodes_scaled.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M gyp/common_conditions.gypi View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M gyp/skia_for_chromium_defines.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkImageInfo.h View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M samplecode/SampleApp.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M samplecode/SampleDitherBitmap.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleEncode.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M samplecode/SampleFilter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleFilterFuzz.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleTiling.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBitmap.cpp View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M src/core/SkBitmapDevice.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBitmapFilter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBitmapProcShader.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M src/core/SkBitmapScaler.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBlitter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBlitter_Sprite.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkDraw.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M src/core/SkScaledImageCache.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkSpriteBlitter_ARGB32.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkSpriteBlitter_RGB16.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkBicubicImageFilter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkBlurImageFilter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkMatrixConvolutionImageFilter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkTransparentShader.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/SkGr.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/image/SkImagePriv.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/image/SkSurface_Picture.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/image/SkSurface_Raster.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/images/SkDecodingImageGenerator.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkImageDecoder_CG.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkImageDecoder_WIC.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/utils/SkBitmapHasher.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/utils/SkCanvasStateUtils.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/utils/mac/SkCreateCGImageRef.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/views/SkWindow.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/views/mac/SkNSView.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/BitmapCopyTest.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/BitmapGetColorTest.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M tests/BitmapTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/BlitRowTest.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M tests/CachedDecodingPixelRefTest.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/CanvasStateTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/DrawBitmapRectTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/ImageDecodingTest.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/ReadPixelsTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/SerializationTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/SurfaceTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/WritePixelsTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/skdiff_utils.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/skimage_main.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tools/skpdiff/SkDiffContext.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/skpdiff/SkPMetric.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
scroggo
https://codereview.chromium.org/227433009/diff/1/gyp/common.gypi File gyp/common.gypi (right): https://codereview.chromium.org/227433009/diff/1/gyp/common.gypi#newcode18 gyp/common.gypi:18: 'SK_SUPPORT_LEGACY_N32_NAME', It will be easy to search and replace ...
6 years, 8 months ago (2014-04-07 21:35:48 UTC) #1
reed1
https://codereview.chromium.org/227433009/diff/1/include/core/SkImageInfo.h File include/core/SkImageInfo.h (right): https://codereview.chromium.org/227433009/diff/1/include/core/SkImageInfo.h#newcode90 include/core/SkImageInfo.h:90: #ifdef SK_SUPPORT_LEGACY_N32_NAME I suggest we ... 1. don't add ...
6 years, 8 months ago (2014-04-08 13:04:57 UTC) #2
scroggo
https://codereview.chromium.org/227433009/diff/1/include/core/SkImageInfo.h File include/core/SkImageInfo.h (right): https://codereview.chromium.org/227433009/diff/1/include/core/SkImageInfo.h#newcode90 include/core/SkImageInfo.h:90: #ifdef SK_SUPPORT_LEGACY_N32_NAME On 2014/04/08 13:04:57, reed1 wrote: > I ...
6 years, 8 months ago (2014-04-08 14:46:28 UTC) #3
scroggo
It's a lot to look at, but I've renamed all our uses of kPMColor_SkColorType to ...
6 years, 8 months ago (2014-04-08 19:38:10 UTC) #4
reed1
lgtm
6 years, 8 months ago (2014-04-09 12:30:01 UTC) #5
scroggo
The CQ bit was checked by scroggo@google.com
6 years, 8 months ago (2014-04-09 19:01:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/227433009/40001
6 years, 8 months ago (2014-04-09 19:01:26 UTC) #7
scroggo
The CQ bit was checked by scroggo@google.com
6 years, 8 months ago (2014-04-09 19:14:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/227433009/60001
6 years, 8 months ago (2014-04-09 19:14:22 UTC) #9
commit-bot: I haz the power
Change committed as 14117
6 years, 8 months ago (2014-04-09 20:46:26 UTC) #10
benchen
A revert of this CL has been created in https://codereview.chromium.org/234243002/ by bensong@google.com. The reason for ...
6 years, 8 months ago (2014-04-10 22:35:48 UTC) #11
benchen
A revert of this CL has been created in https://codereview.chromium.org/234833003/ by bensong@google.com. The reason for ...
6 years, 8 months ago (2014-04-11 13:46:39 UTC) #12
scroggo
On 2014/04/11 13:46:39, benchen wrote: > A revert of this CL has been created in ...
6 years, 8 months ago (2014-04-11 14:33:52 UTC) #13
benchen
On 2014/04/11 14:33:52, scroggo wrote: > On 2014/04/11 13:46:39, benchen wrote: > > A revert ...
6 years, 8 months ago (2014-04-11 14:41:41 UTC) #14
benchen
On 2014/04/11 14:41:41, benchen wrote: > On 2014/04/11 14:33:52, scroggo wrote: > > On 2014/04/11 ...
6 years, 8 months ago (2014-04-11 16:56:37 UTC) #15
scroggo
On 2014/04/11 16:56:37, benchen wrote: > On 2014/04/11 14:41:41, benchen wrote: > > On 2014/04/11 ...
6 years, 8 months ago (2014-04-11 17:07:54 UTC) #16
benchen
On 2014/04/11 17:07:54, scroggo wrote: > On 2014/04/11 16:56:37, benchen wrote: > > On 2014/04/11 ...
6 years, 8 months ago (2014-04-11 17:10:30 UTC) #17
scroggo
On 2014/04/11 17:10:30, benchen wrote: > On 2014/04/11 17:07:54, scroggo wrote: > > On 2014/04/11 ...
6 years, 8 months ago (2014-04-11 17:22:34 UTC) #18
reed1
6 years, 8 months ago (2014-04-11 17:35:04 UTC) #19
Message was sent while issue was closed.
pesky lgtm

Powered by Google App Engine
This is Rietveld 408576698