skia2/tools
scroggo@google.com a62da2fee7 In bench_pictures --multi, maintain thread local caches.
Builds on https://codereview.appspot.com/6718046/ by mtklein.

Previously, each iteration of drawing a picture started new threads to draw the picture. Since each thread is using thread local storage for the font cache, this means that each iteration had to start with an empty font cache.

The newly added MultiCorePictureRenderer, separated from TiledPictureRenderer, now starts the drawing threads at the beginning of the test using an SkThreadPool, and keeps them alive through all iterations, so the font cache can be reused.

For now, I have removed the pipe version of the threaded renderer.

Updated bench_pictures_main and render_pictures_main to use the new
renderer, and to unref a renderer before early exit.

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

git-svn-id: http://skia.googlecode.com/svn/trunk@6285 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-11-02 21:28:12 +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 In bench_pictures --multi, maintain thread local caches. 2012-11-02 21:28:12 +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 Correctly set width & height in filtered SkPictures 2012-10-25 14:45:08 +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
PdfRenderer.cpp 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
PdfRenderer.h 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
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 In bench_pictures --multi, maintain thread local caches. 2012-11-02 21:28:12 +00:00
PictureRenderer.h In bench_pictures --multi, maintain thread local caches. 2012-11-02 21:28:12 +00:00
pinspect.cpp build iOS with 'make all' 2012-10-02 18:33:14 +00:00
rebaseline.py Simple rebaseline tool: Add support for ANGLE, DirectWrite builders. 2012-10-30 14:34:55 +00:00
render_pdfs_main.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2012-11-02 02:01:24 +00:00
render_pictures_main.cpp In bench_pictures --multi, maintain thread local caches. 2012-11-02 21:28:12 +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_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 Fix update-doxygen (again) 2012-09-26 16:25:22 +00:00