skia2/tools
scroggo@google.com 5a7c6be72b Add the ability to provide function pointers to SkPicture serialization
and deserialization for encoding and decoding bitmaps.

Remove kForceFlattenBitmapPixels_Flag, which is no longer used.

When an SkOrderedReadBuffer needs to read a bitmap, if it does not
have an image decoder, use a dummy bitmap.

In GM, add a tolerance option for color differences, used when
testing picture serialization, so it can assume two images are the
same even though PNG encoding/decoding may have resulted in small
differences.

Create dummy implementations for SkImageDecoder and SkImageEncoder
functions in SkImageDecoder_empty so that a project that does not
want to include the images project it can still build.

Allow ports to build without images project.

In Mac's image encoder, copy 4444 to 8888 before encoding.

Add SkWriter32::reservePad, to provide a pointer to write non 4 byte
aligned data, padded with zeroes.

In bench_ and render_ pictures, pass decode function to SkPicture
creation from a stream.

BUG=https://code.google.com/p/skia/issues/detail?id=842

Review URL: https://codereview.appspot.com/6551071

git-svn-id: http://skia.googlecode.com/svn/trunk@5818 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-04 21:46:08 +00:00
..
copyright Script to automatically update copyright notices in C/C++ source code. 2011-07-28 14:29:58 +00:00
tests Adding checkboxes to skdiff output so a user can select a subset of images to rebaseline. 2012-08-30 22:05:53 +00:00
bench_pictures_main.cpp Add the ability to provide function pointers to SkPicture serialization 2012-10-04 21:46:08 +00:00
compare_baselines.py Move gm baselines from trunk/gm to gm-expected 2012-08-28 16:53:10 +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 Created filter command line tool 2012-10-04 13:00:33 +00:00
git-skia-verify Land http://codereview.appspot.com/6117046/ for Guanqun.Lu@gmail.com 2012-04-24 15:19:23 +00:00
picture_utils.cpp Remove automatic resizing in *_pictures 2012-09-20 18:54:04 +00:00
picture_utils.h Remove automatic resizing in *_pictures 2012-09-20 18:54:04 +00:00
PictureBenchmark.cpp Fix a warning in PictureBenchmark. 2012-09-25 17:36:36 +00:00
PictureBenchmark.h Add -logPerIter, -timers, and -min to bench_pictures. 2012-09-11 19:15:32 +00:00
PictureRenderer.cpp Allow render_pictures to render using multiple threads. 2012-10-03 17:32:33 +00:00
PictureRenderer.h Allow render_pictures to render using multiple threads. 2012-10-03 17:32:33 +00:00
pinspect.cpp build iOS with 'make all' 2012-10-02 18:33:14 +00:00
render_pictures_main.cpp Add the ability to provide function pointers to SkPicture serialization 2012-10-04 21:46:08 +00:00
roll_autogen.sh Script to help cycle skia-autogen 2012-08-27 19:37:48 +00:00
sanitize_source_files.py Fix bug in tools/sanitize_source_files.py 2012-08-23 14:46:18 +00:00
skdiff_main.cpp build iOS with 'make all' 2012-10-02 18:33:14 +00:00
skhello.cpp build iOS with 'make all' 2012-10-02 18:33:14 +00:00
skimage_main.cpp build iOS with 'make all' 2012-10-02 18:33:14 +00:00
svn.py download_baselines: allow user to select which builder's images to download 2012-09-07 16:05:34 +00:00
svndiff.py svndiff: report added and deleted files, not just modified files 2012-05-29 21:28:12 +00:00
test_pictures.py Updated options for test_picturs.py to match new option in render_pictures. 2012-08-23 21:51:11 +00:00
update-doxygen.sh Fix update-doxygen (again) 2012-09-26 16:25:22 +00:00