skia2/tools
Leon Scroggins III f78b55cb94 Simplify SkColorSpace::MakeICC
Rather than restricting the supported ICC types in MakeICC, create any
ICC type that we support, and make the client reject them as necessary
by querying the SkColorSpace::Type.

Remove ICCTypeFlag and replace uses of it with SkColorSpace::Type.

This depends on a change in Chromium
(https://chromium-review.googlesource.com/c/chromium/src/+/741843).
Without that, this change will start allowing non-CMYK images to use
CMYK profiles.

Bug: 727128
Change-Id: I085b4665e49bc80083264496d864cc4cd62ae914
Reviewed-on: https://skia-review.googlesource.com/64841
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
2017-10-31 18:13:04 +00:00
..
android Reuse more upload_to_android and allow removing flag on Android 2017-10-31 14:37:14 +00:00
bookmaker Add docs for SkMatrix, SkRect, SkIRect, SkBitmap 2017-10-26 12:17:36 +00:00
calmbench Output calmbench json in nanobench format 2017-10-30 13:52:08 +00:00
copyright
debugger Solidify Model/View split 2017-09-06 20:46:01 +00:00
fiddle Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
flags Add a tooling flag for path mask caching 2017-10-13 22:31:12 +00:00
gdb Add a gdb viewer for skbitmap. 2017-10-23 20:45:09 +00:00
gpu Move clear-as-draw workaround to GrGLGpu and expose via GrContextOptions. 2017-10-18 12:55:06 +00:00
gpucts GPU-CTS Program 2017-10-17 19:01:13 +00:00
lua Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
mdbviz Remove carriage returns. 2017-10-09 20:41:14 +00:00
rebaseline Reuse more upload_to_android and allow removing flag on Android 2017-10-31 14:37:14 +00:00
shape Add some font fallback to SkShaper. 2017-09-22 19:57:08 +00:00
skdiff use unique_ptr for codec factories 2017-07-25 15:35:23 +00:00
skiaserve Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
skp Chromium lkgr is no longer updated. Use lkcr 2017-08-03 12:41:36 +00:00
skpbench skpbench: always reboot instead of unlocking clocks 2017-10-24 15:54:31 +00:00
svg Create new set of SVGs 2017-08-16 15:42:55 +00:00
timer Fix MSAN compile error 2017-09-20 19:42:09 +00:00
trace Optimize the size of our JSON 2017-08-17 11:51:26 +00:00
viewer Add a tooling flag for path mask caching 2017-10-13 22:31:12 +00:00
__init__.py
add_codereview_message.py Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
AndroidSkDebugToStdOut.cpp
BigPathBench.inc
build_command_buffer.py
BUILD_simulator.py
check-headers-self-sufficient header cleanup 2017-07-05 15:18:52 +00:00
chrome_fuzz.cpp Fix SkFILEStream. 2017-03-10 19:58:46 +00:00
colorspaceinfo.cpp Simplify SkColorSpace::MakeICC 2017-10-31 18:13:04 +00:00
compare_codereview.py
CrashHandler.cpp
CrashHandler.h
create_flutter_test_images.cpp Add tool to create test images with interesting color profiles 2017-05-17 18:15:20 +00:00
create_test_font.cpp Remove internal use of SkTypeface::Style. 2017-07-27 21:30:45 +00:00
doxygen_footer.txt
dump_record.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
DumpRecord.cpp
DumpRecord.h
embed_resources.py
find_run_binary.py
fix_pythonpath.py
gcov_shim
generate_fir_coeff.py
generate_vk_interface.sh
get_current_monitor_profile.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
get_images_from_skps.cpp use unique_ptr for codec factories 2017-07-25 15:35:23 +00:00
git-sync-deps tools/git-sync-deps: less verbose when fetch is needed 2017-02-13 19:53:27 +00:00
gpuveto.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
gyp
imgblur.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
imgslice.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
install_dependencies.sh
ios_utils.h Fix bugs with fence sync API on iOS devices 2017-10-10 19:05:13 +00:00
ios_utils.m iOS: cd into Documents folder at startup 2017-02-06 15:06:45 +00:00
iOSShell.cpp Remove unused functions get_preferred_size 2017-09-26 20:02:16 +00:00
iOSShell.h
jsondiff.py
LsanSuppressions.cpp
merge_static_libs.py Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
milestone.py
mirror-dev.sh Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
misc_utils.py
ok_dsts.cpp ok, add a8 dst support 2017-09-29 20:08:34 +00:00
ok_engines.cpp ok, rate limit forking 2017-09-01 15:40:37 +00:00
ok_srcs.cpp Add missing #include <stdlib.h> 2017-08-16 02:19:37 +00:00
ok_test.cpp sprinkle more tracing in GM, tests, and ok, and add TRACE_FUNC 2017-07-24 20:02:07 +00:00
ok_vias.cpp ok, add a8 dst support 2017-09-29 20:08:34 +00:00
ok.cpp use fcntl() to lock/unlock fds 2017-08-30 18:55:47 +00:00
ok.h factor Engine out of ok core 2017-07-26 21:36:40 +00:00
OverwriteLine.h
parse_llvm_coverage.py
pathops_sorter.htm Remove carriage returns. 2017-10-09 20:41:14 +00:00
pathops_visualizer.htm Remove carriage returns. 2017-10-09 20:41:14 +00:00
picture_utils.cpp convert over to 2d-mode 2017-07-20 19:50:32 +00:00
picture_utils.h
pinspect.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
ProcStats.cpp Fix getMaxResidentSetSizeMB() on iOS. 2017-02-06 17:06:11 +00:00
ProcStats.h
public_headers_warnings_check.cpp GN: add public headers warnings check. 2016-11-16 19:27:29 +00:00
random_parse_path.cpp
random_parse_path.h
reformat-json.py
Registry.h move SkTRegister.h into tools 2017-01-11 19:53:36 +00:00
Resources.cpp add Make factory to SkMemoryStream (simplify call-sites) 2017-07-26 15:59:49 +00:00
Resources.h have resources return unique_ptr for stream 2017-07-23 18:24:24 +00:00
retrieve_from_googlesource.py
sanitize_source_files.py Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
sk_tool_utils_flags.h
sk_tool_utils_font.cpp Revert "Revert "migrate to sk_sp for SkFontMgr API"" 2017-09-26 14:05:18 +00:00
sk_tool_utils.cpp Add Chinese fling sample 2017-08-16 13:45:57 +00:00
sk_tool_utils.h Add Chinese fling sample 2017-08-16 13:45:57 +00:00
skhello.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
SkJSONCPP.h
skp_parser.cpp tools/skp_parser: add some explanitory comments 2017-10-25 19:27:13 +00:00
skpinfo.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
skpmaker.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
Stats.h
test_all.py
test_font_index.inc Add strikeout font metrics. 2017-07-21 18:59:05 +00:00
test_font_monospace.inc Add strikeout font metrics. 2017-07-21 18:59:05 +00:00
test_font_sans_serif.inc Add strikeout font metrics. 2017-07-21 18:59:05 +00:00
test_font_serif.inc Add strikeout font metrics. 2017-07-21 18:59:05 +00:00
test_gpuveto.py Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
test_pdfs.py
ThermalManager.cpp
ThermalManager.h
UrlDataManager.cpp
UrlDataManager.h
valgrind.supp update valgrind suppressions for revised keepalive thread 2017-10-31 15:34:43 +00:00
whitelist_typefaces.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
win_dbghelp.cpp
win_dbghelp.h
win_lcid.cpp
xsan.blacklist