Rename all color space factories from New* to Make*
authorBrian Osman <brianosman@google.com>
Mon, 24 Oct 2016 13:24:02 +0000 (09:24 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 24 Oct 2016 14:02:27 +0000 (14:02 +0000)
commit526972ecb5411b84ba2f5e20252f178f9ee2151f
treeef89b6a40fcdf90ae8e0b00b8f7d247510e03656
parent09732a6b0e7c4b087279095762f9d27a4f556aba
Rename all color space factories from New* to Make*

Matches our naming convention for all other types - factories that
return sk_sp (or any type that intelligently manages its own
lifetime) are named Make.

Previous factories are still around, assuming
SK_SUPPORT_LEGACY_COLOR_SPACE_FACTORIES is defined. Enable that
define for Android, etc.

See also: https://codereview.chromium.org/2442053002/

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3822

Change-Id: Iaea9376490736b494e8ffc820831f052bbe1478d
Reviewed-on: https://skia-review.googlesource.com/3822
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
47 files changed:
bench/ColorCodecBench.cpp
bench/GrMipMapBench.cpp
bench/SkLinearBitmapPipelineBench.cpp
bench/nanobench.cpp
dm/DM.cpp
dm/DMSrcSink.cpp
fuzz/fuzz.cpp
gm/all_bitmap_configs.cpp
gm/color4f.cpp
gm/colorspacexform.cpp
gm/gamma.cpp
gm/gamut.cpp
gm/gradients.cpp
gm/labpcsdemo.cpp
gm/mipmap.cpp
gyp/skia_for_android_framework_defines.gypi
include/core/SkColorSpace.h
public.bzl
samplecode/SampleApp.cpp
src/codec/SkJpegCodec.cpp
src/codec/SkPngCodec.cpp
src/codec/SkWebpCodec.cpp
src/core/SkColorSpace.cpp
src/core/SkColorSpace_Base.h
src/core/SkColorSpace_ICC.cpp
src/core/SkColorSpace_XYZ.cpp
src/core/SkImageInfo.cpp
src/effects/gradients/SkGradientShader.cpp
src/gpu/GrDrawContext.cpp
src/gpu/GrTestUtils.cpp
src/gpu/SkGr.cpp
src/views/SkWindow.cpp
tests/CodecTest.cpp
tests/ColorSpaceTest.cpp
tests/ImageIsOpaqueTest.cpp
tests/SRGBMipMapTest.cpp
tests/SurfaceTest.cpp
tests/TestConfigParsing.cpp
tools/flags/SkCommonFlagsConfig.cpp
tools/picture_utils.cpp
tools/skiaserve/Request.cpp
tools/viewer/ImageSlide.cpp
tools/viewer/Viewer.cpp
tools/viewer/sk_app/VulkanWindowContext.cpp
tools/viewer/sk_app/WindowContext.cpp
tools/viewer/sk_app/android/GLWindowContext_android.cpp
tools/visualize_color_gamut.cpp