skia2/tools
scroggo@google.com 7def5e1630 Separate core and images project.
SkImage calls functions on SkImageDecoder and SkImageEncoder. This
is desired behavior, and it is also desired to include SkImage as
a part of core. In order to keep core from depending on images,
update SkImageDecoder_empty.cpp to implement all of SkImageDecoder
and SkImageEncoder. This file will be built by chrome (in
https://codereview.chromium.org/15960015).

Move force_linking from SkImageDecoder.cpp to its own file. It must
be called to force linking with the image decoders if desired. Call
the function in tools that need it:
sk_image
render_pictures
render_pdfs
sk_hello
filter
bench_pictures
debugger

SkImageDecoder:
Derive from SkNoncopyable, instead of duplicating its
hiding of constructors.

skhello:
Return rather than trying to write a null SkData to the stream.

Revert "Hamfistedly removed core dependence on images"
(commit 0f05f682a90bc125323677abf3476e1027d174f5) and
"Move SkImage::encode to SkImage_Codec.cpp."
(commit 83e47a954d0bf65439f3d9c0c93213063dd70da3.)
These two commits were temporary fixes that this change
cleans up.

SkSnapshot.cpp:
Check for a NULL encoder returned by SkImageEncoder::Create.

BUG=https://code.google.com/p/skia/issues/detail?id=1275
R=djsollen@google.com, robertphillips@google.com

Review URL: https://codereview.chromium.org/15806010

git-svn-id: http://skia.googlecode.com/svn/trunk@9364 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-31 14:00:10 +00:00
..
copyright Script to automatically update copyright notices in C/C++ source code. 2011-07-28 14:29:58 +00:00
flags Fix the build. 2013-04-24 19:37:52 +00:00
lua add script to scrape glyph usage in drawText calls 2013-05-30 18:55:14 +00:00
tests Create a self test for skimage. 2013-05-14 17:50:02 +00:00
__init__.py Add bench_pictures config 2012-12-12 20:13:26 +00:00
bench_pictures_cfg_helper.py Fix bench_pictures.cfg 2013-03-07 20:18:27 +00:00
bench_pictures_main.cpp Separate core and images project. 2013-05-31 14:00:10 +00:00
bench_pictures.cfg Run bench_pictures with "--config msaa4" on Razr I, Nexus 10, and GNex 2013-05-07 12:09:54 +00:00
build-tot-chromium.sh $(SVN_VERSION) -> $SVN_VERSION in build-tot-chromium.sh 2013-01-08 15:56:15 +00:00
compare_baselines.py Move gm baselines from trunk/gm to gm-expected 2012-08-28 16:53:10 +00:00
CopyTilesRenderer.cpp Flags for render_pictures: verify, clone and writeWholeImage: 2012-12-18 22:24:03 +00:00
CopyTilesRenderer.h Created my own flag parser, based off of gflags. 2013-03-04 16:41:06 +00:00
download_baselines.py Baseline DirectWrite. 2012-09-11 17:29:37 +00:00
doxygen_footer.txt Fix update-doxygen, which fails when skia-autogen is reset 2012-09-26 16:09:43 +00:00
filtermain.cpp Separate core and images project. 2013-05-31 14:00:10 +00:00
find_mac_sdk.py Argv[0] isn't the first argument to anything. 2013-02-08 22:45:11 +00:00
git-skia-verify Land http://codereview.appspot.com/6117046/ for Guanqun.Lu@gmail.com 2012-04-24 15:19:23 +00:00
merge_static_libs.py Build Skia as a static library 2012-10-10 19:45:51 +00:00
path_utils.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-08 02:01:38 +00:00
path_utils.h Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-08 02:01:38 +00:00
PdfRenderer.cpp Encode images with DCTDecode (JPEG) in PDFs if it makes sense. Fallback to FlateDecode (zip) if it makes sense. Otherewise include uncompressed stream. 2013-04-24 13:01:01 +00:00
PdfRenderer.h Encode images with DCTDecode (JPEG) in PDFs if it makes sense. Fallback to FlateDecode (zip) if it makes sense. Otherewise include uncompressed stream. 2013-04-24 13:01:01 +00:00
picture_utils.cpp Defining new color constat for transparent color 2012-12-06 21:47:40 +00:00
picture_utils.h Remove automatic resizing in *_pictures 2012-09-20 18:54:04 +00:00
PictureBenchmark.cpp Created my own flag parser, based off of gflags. 2013-03-04 16:41:06 +00:00
PictureBenchmark.h Created my own flag parser, based off of gflags. 2013-03-04 16:41:06 +00:00
PictureRenderer.cpp New API for encoding bitmaps during serialization. 2013-05-21 20:31:23 +00:00
PictureRenderer.h move all flag bits up by 1, to accomodate new flag in SkPaint 2013-05-22 14:03:45 +00:00
PictureRenderingFlags.cpp Add msaa configs to bench_pictures. 2013-05-02 12:39:37 +00:00
PictureRenderingFlags.h Change the name of SkFlags to SkCommandLineFlags. 2013-03-21 19:43:15 +00:00
pinspect.cpp Added print out of SkShader information to debugger 2013-01-15 20:17:47 +00:00
rebaseline.py rebaseline.py: use argparse command-line flags for more flexibility 2013-05-30 15:46:19 +00:00
render_pdfs_main.cpp Separate core and images project. 2013-05-31 14:00:10 +00:00
render_pictures_main.cpp Separate core and images project. 2013-05-31 14:00:10 +00:00
roll_autogen.sh Script to help cycle skia-autogen 2012-08-27 19:37:48 +00:00
sanitize_source_files.py Leave one and only one newline at the end of source files 2013-01-25 18:26:58 +00:00
skdiff_html.cpp fix warnings 2013-01-07 22:26:05 +00:00
skdiff_html.h Add newline at end of tools/skdiff_html.h to happify the housekeeping bot 2012-12-05 20:30:00 +00:00
skdiff_image.cpp Change comment to avoid warning (don't end line comment with '\'). 2013-02-04 16:24:44 +00:00
skdiff_main.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-06 02:01:25 +00:00
skdiff_utils.cpp Update skdiff. 2012-12-05 20:13:12 +00:00
skdiff_utils.h Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-06 02:01:25 +00:00
skdiff.cpp * Extended skdiff to report alpha channel differences. 2013-01-03 19:23:22 +00:00
skdiff.h * Extended skdiff to report alpha channel differences. 2013-01-03 19:23:22 +00:00
skhello.cpp Separate core and images project. 2013-05-31 14:00:10 +00:00
skimage_main.cpp Separate core and images project. 2013-05-31 14:00:10 +00:00
submit_try Fix submit_try for new builder names 2013-05-02 12:14:35 +00:00
submit_try.bat Modify submit_try to work on windows 2013-01-24 21:38:51 +00:00
svn.py Use "svn cat" in tools/submit_try 2013-03-18 18:18:26 +00:00
svndiff.py svndiff: report added and deleted files, not just modified files 2012-05-29 21:28:12 +00:00
test_pdfs.py Add an SKP to PDF rendered. test_pdfs.py will be hooked up in buildbot testing later. 2012-10-10 15:20:34 +00:00
test_pictures.py Refactor test_pictures so we can add test_pdfs without code duplication. 2012-10-10 15:08:12 +00:00
test_rendering.py Refactor test_pictures so we can add test_pdfs without code duplication. 2012-10-10 15:08:12 +00:00
update-doxygen.sh Housekeeper should not fail when skia-autogen is reset. 2013-05-01 14:47:03 +00:00
win_dbghelp.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-03-09 07:01:15 +00:00
win_dbghelp.h Collect minidump and print callstack if an app chrashes. 2013-03-08 18:00:16 +00:00
win_lcid.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-03 07:01:14 +00:00