aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* skdiff: clean up isPathAbsolute check for WindowsGravatar epoger@google.com2012-08-08
| | | | | | | This is a followup to https://codereview.appspot.com/6458046/ ('Fix skdiff when using windows path that begins with a drive letter') Review URL: https://codereview.appspot.com/6450106 git-svn-id: http://skia.googlecode.com/svn/trunk@5004 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactored the bitmap creation into PictureRenderer.Gravatar keyar@chromium.org2012-08-07
| | | | | | | | | | Further, the picture is also stored in the PictureRenderer. The main gain of all of this is that we will not have to change how the device in more than one place when we end up adding different devices. Review URL: https://codereview.appspot.com/6458074 git-svn-id: http://skia.googlecode.com/svn/trunk@4990 2bbb7eff-a529-9590-31e7-b0007b416f81
* render_pictures and bench_pictures now use a --mode parameter.Gravatar keyar@chromium.org2012-08-02
| | | | | | | | This replaces the --tile, --pipe, etc. options from before as they are mutually exclusive. Review URL: https://codereview.appspot.com/6443076 git-svn-id: http://skia.googlecode.com/svn/trunk@4930 2bbb7eff-a529-9590-31e7-b0007b416f81
* Merged bench_pictures and render_pictures rendering methods.Gravatar keyar@chromium.org2012-08-01
| | | | | | | | bench_pictures now uses a class based method for choosing the benchmark type as well. Review URL: https://codereview.appspot.com/6452070 git-svn-id: http://skia.googlecode.com/svn/trunk@4894 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix skdiff when using windows path that begins with a drive letterGravatar bsalomon@google.com2012-07-30
| | | | | | | Review URL: https://mail.google.com/mail/u/0/?shva=1#inbox/138d92244ca33549 git-svn-id: http://skia.googlecode.com/svn/trunk@4838 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added an option to specify the tiling size to render_pictures.Gravatar keyar@chromium.org2012-07-27
| | | | | | | | With this change I should be able to start merging the rendering implementations of bench_pictures and render_pictures. Review URL: https://codereview.appspot.com/6427061 git-svn-id: http://skia.googlecode.com/svn/trunk@4816 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update list of platforms to rebaselineGravatar epoger@google.com2012-07-27
| | | | | | Review URL: https://codereview.appspot.com/6441061 git-svn-id: http://skia.googlecode.com/svn/trunk@4806 2bbb7eff-a529-9590-31e7-b0007b416f81
* Windows compiler complaint cleanupGravatar robertphillips@google.com2012-07-26
| | | | | | | | http://codereview.appspot.com/6441055/ git-svn-id: http://skia.googlecode.com/svn/trunk@4796 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changed to a class based method in passing around the rendering method for ↵Gravatar keyar@chromium.org2012-07-26
| | | | | | | | | | render_pictures. This is based on a comment for https://codereview.appspot.com/6427061/ Review URL: https://codereview.appspot.com/6405080 git-svn-id: http://skia.googlecode.com/svn/trunk@4786 2bbb7eff-a529-9590-31e7-b0007b416f81
* render_pictures can now do tiling based rendering.Gravatar keyar@chromium.org2012-07-20
| | | | | | Review URL: https://codereview.appspot.com/6401057 git-svn-id: http://skia.googlecode.com/svn/trunk@4707 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff output: indicate which result types would cause failureGravatar epoger@google.com2012-07-19
| | | | | | Review URL: https://codereview.appspot.com/6419053 git-svn-id: http://skia.googlecode.com/svn/trunk@4676 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update download_baselines.pyGravatar borenet@google.com2012-07-18
| | | | | | | | No longer using *-fixed Added Android Review URL: https://codereview.appspot.com/6428047 git-svn-id: http://skia.googlecode.com/svn/trunk@4662 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update docs and trunk dirs if they exist overriding any local merge conflicts.Gravatar rmistry@google.com2012-07-17
| | | | | | | Created to fix bug http://code.google.com/p/skia/issues/detail?id=710 : housekeeping buildbot: conflict in UpdateDoxygen step. git-svn-id: http://skia.googlecode.com/svn/trunk@4640 2bbb7eff-a529-9590-31e7-b0007b416f81
* bench_pictures now has an option for benchmarking record time.Gravatar keyar@chromium.org2012-07-16
| | | | | | Review URL: https://codereview.appspot.com/6350102 git-svn-id: http://skia.googlecode.com/svn/trunk@4632 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: cap return value at 255 to avoid automatic 'wrapping' (%256) of ↵Gravatar epoger@google.com2012-07-16
| | | | | | | | return value Review URL: https://codereview.appspot.com/6409045 git-svn-id: http://skia.googlecode.com/svn/trunk@4629 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added pipe as a rendering option for render_pictures.Gravatar keyar@chromium.org2012-07-16
| | | | | | | | I will add tiling as a rendering option and then figure out a way to not have the code duplicated between render_pictures and bench_pictures. Review URL: https://codereview.appspot.com/6392066 git-svn-id: http://skia.googlecode.com/svn/trunk@4626 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: replace --failonmismatches with repeatable --failonresult optionGravatar epoger@google.com2012-07-13
| | | | | | Review URL: https://codereview.appspot.com/6392064 git-svn-id: http://skia.googlecode.com/svn/trunk@4611 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mac build fix for Keyar. Unreviewed.Gravatar senorblanco@chromium.org2012-07-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4607 2bbb7eff-a529-9590-31e7-b0007b416f81
* Preparations for adding options and different render types to render_pictures.Gravatar keyar@chromium.org2012-07-13
| | | | | | Review URL: https://codereview.appspot.com/6345107 git-svn-id: http://skia.googlecode.com/svn/trunk@4603 2bbb7eff-a529-9590-31e7-b0007b416f81
* Benchmark tiling now better reflects how it is done in Chrome.Gravatar keyar@chromium.org2012-07-13
| | | | | | | | Namely, the tile backing stores are all the same size. Review URL: https://codereview.appspot.com/6352099 git-svn-id: http://skia.googlecode.com/svn/trunk@4602 2bbb7eff-a529-9590-31e7-b0007b416f81
* update-doxygen.sh: update local copy of workspace rather than checking it ↵Gravatar epoger@google.com2012-07-12
| | | | | | | | out fresh every time Review URL: https://codereview.appspot.com/6346099 git-svn-id: http://skia.googlecode.com/svn/trunk@4590 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changed cmsecs to msecs to be consistent with bench.Gravatar keyar@chromium.org2012-07-12
| | | | | | | | | We are using wall time and not cpu time and so the proper name for this should probably be outputted. Review URL: https://codereview.appspot.com/6345104 git-svn-id: http://skia.googlecode.com/svn/trunk@4587 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added a benchmark for measuring picture unflattening time.Gravatar keyar@chromium.org2012-07-12
| | | | | | Review URL: https://codereview.appspot.com/6354097 git-svn-id: http://skia.googlecode.com/svn/trunk@4582 2bbb7eff-a529-9590-31e7-b0007b416f81
* rename NO_ERROR to kNoError, because Windows defines a NO_ERROR macro elsewhereGravatar epoger@google.com2012-07-12
| | | | | | | TBR=rmistry Review URL: https://codereview.appspot.com/6355100 git-svn-id: http://skia.googlecode.com/svn/trunk@4581 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: add --failonmismatches and --listfilename options, plus cleanupGravatar epoger@google.com2012-07-12
| | | | | | | These changes are needed in order to switch the buildbots from using "gm -r" to "skdiff" to compare gm results, and should be generally good for humans too. Review URL: https://codereview.appspot.com/6392054 git-svn-id: http://skia.googlecode.com/svn/trunk@4579 2bbb7eff-a529-9590-31e7-b0007b416f81
* Each benchmark that needs a bitmap will now make its own.Gravatar keyar@chromium.org2012-07-10
| | | | | | | | Before, the bitmaps were created and then passed to the benchmark. However, some benchmarks in the future will not require bitmaps. This will remove the necessity of passing around an extraneous bitmap to those tests. Review URL: https://codereview.appspot.com/6356081 git-svn-id: http://skia.googlecode.com/svn/trunk@4519 2bbb7eff-a529-9590-31e7-b0007b416f81
* bench_pictures can now take percentages for tiling width and height.Review ↵Gravatar keyar@chromium.org2012-07-10
| | | | | | | | URL: https://codereview.appspot.com/6354074 Review URL: https://codereview.appspot.com/6354074 git-svn-id: http://skia.googlecode.com/svn/trunk@4516 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed Windows compiler complaintsGravatar robertphillips@google.com2012-07-10
| | | | | | | | http://codereview.appspot.com/6392044 git-svn-id: http://skia.googlecode.com/svn/trunk@4511 2bbb7eff-a529-9590-31e7-b0007b416f81
* bench_pictures will now output the number of tiles for a tiled benchmark.Gravatar keyar@chromium.org2012-07-10
| | | | | | Review URL: https://codereview.appspot.com/6387044 git-svn-id: http://skia.googlecode.com/svn/trunk@4507 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff now has the option to not print out the directories it is using.Gravatar keyar@chromium.org2012-07-09
| | | | | | | | Further, test_pictures.py will call skdiff with this option. Review URL: https://codereview.appspot.com/6347066 git-svn-id: http://skia.googlecode.com/svn/trunk@4497 2bbb7eff-a529-9590-31e7-b0007b416f81
* * Adding arguments to specify the working directory and whether the script ↵Gravatar rmistry@google.com2012-07-09
| | | | | | | | | | | | | should try to commit at the end. * Redirecting doxygen output to a last_run_output.txt file. * Maintaining backwards compatibility. Context- This CL is a preparatory CL for the housekeeping slave. The slave will use this script to update Doxygen docs. The script will not be used to commit and instead the slave will call AddMergeIntoSvn to commit. Review URL: https://codereview.appspot.com/6348076 git-svn-id: http://skia.googlecode.com/svn/trunk@4495 2bbb7eff-a529-9590-31e7-b0007b416f81
* Tiles that extend beyond the picture are now clipped.Gravatar keyar@chromium.org2012-07-09
| | | | | | Review URL: https://codereview.appspot.com/6352078 git-svn-id: http://skia.googlecode.com/svn/trunk@4491 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added a sgpipe benchmark.Gravatar keyar@chromium.org2012-07-09
| | | | | | Review URL: https://codereview.appspot.com/6349070 git-svn-id: http://skia.googlecode.com/svn/trunk@4490 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow specific files and multiple inputs for picture testing tools.Gravatar keyar@chromium.org2012-07-09
| | | | | | | | | | Changed the render_pictures, bench_pictures and test_pictures.py so that multiple inputs can be given. Furthermore, specific files can also be specified. Unit tests have also been added for picture_utils.cpp. Review URL: https://codereview.appspot.com/6345054 git-svn-id: http://skia.googlecode.com/svn/trunk@4486 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline MSAA16 AA clip images. We now enable MSAA when stencil clipping ↵Gravatar bsalomon@google.com2012-06-28
| | | | | | if the clip element is AA. git-svn-id: http://skia.googlecode.com/svn/trunk@4393 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve sorting of skdiff output, and make it consistent across platformsGravatar epoger@google.com2012-06-28
| | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=677 Review URL: https://codereview.appspot.com/6351045 git-svn-id: http://skia.googlecode.com/svn/trunk@4388 2bbb7eff-a529-9590-31e7-b0007b416f81
* land https://codereview.appspot.com/6349043/Gravatar reed@google.com2012-06-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4375 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: no longer skip .pdf files by defaultGravatar epoger@google.com2012-06-25
| | | | | | Review URL: https://codereview.appspot.com/6257080 git-svn-id: http://skia.googlecode.com/svn/trunk@4330 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding files skipped from previous patch: ↵Gravatar twiz@google.com2012-06-22
| | | | | | | | http://code.google.com/p/skia/source/detail?r=4310 Review URL: https://codereview.appspot.com/6339043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4312 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactoring in preparation for adding the picture benchmarking program.Gravatar twiz@google.com2012-06-22
| | | | | | Review URL: https://codereview.appspot.com/6339043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4310 2bbb7eff-a529-9590-31e7-b0007b416f81
* tools/pinspect: quick tool to inspeact the header (and rough validity) of 1 ↵Gravatar reed@google.com2012-06-14
| | | | | | | | or more picture files Review URL: https://codereview.appspot.com/6295085 git-svn-id: http://skia.googlecode.com/svn/trunk@4258 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding the render_pictures test toolGravatar junov@chromium.org2012-06-12
| | | | | | | | | | Submitted on behalf of keyar@chromium.org Review URL: https://codereview.appspot.com/6300056/ git-svn-id: http://skia.googlecode.com/svn/trunk@4235 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in miscellaneous filesGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6305047 git-svn-id: http://skia.googlecode.com/svn/trunk@4186 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: return nonzero exit value if there are any mismatchesGravatar epoger@google.com2012-05-31
| | | | | | | This will allow us to replace "gm -r" in our buildbots with "skdiff". This will speed things up, and work around http://code.google.com/p/skia/issues/detail?id=473 ('PDF gradtext gm image results are nondeterministic') Review URL: https://codereview.appspot.com/6242071 git-svn-id: http://skia.googlecode.com/svn/trunk@4097 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: internally track lists of ALL result types, not just baseMissing and ↵Gravatar epoger@google.com2012-05-31
| | | | | | | | | comparisonMissing This does not change skdiff output at all; verified using tools/tests/run.sh Review URL: https://codereview.appspot.com/6260057 git-svn-id: http://skia.googlecode.com/svn/trunk@4096 2bbb7eff-a529-9590-31e7-b0007b416f81
* test-only: add test coverage of skdiff over input with identical bits or pixelsGravatar epoger@google.com2012-05-30
| | | | | | Review URL: https://codereview.appspot.com/6260055 git-svn-id: http://skia.googlecode.com/svn/trunk@4084 2bbb7eff-a529-9590-31e7-b0007b416f81
* svndiff: report added and deleted files, not just modified filesGravatar epoger@google.com2012-05-29
| | | | | | Review URL: https://codereview.appspot.com/6260052 git-svn-id: http://skia.googlecode.com/svn/trunk@4063 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add svndiff tool: runs skdiff over all pending changes in SVN checkoutGravatar epoger@google.com2012-05-25
| | | | | | | | | This is needed for https://goto.google.com/HowToLandSkiaChangesThatChangeWebkitLayoutTests , and will be generally useful beyond that too. Review URL: https://codereview.appspot.com/6256052 git-svn-id: http://skia.googlecode.com/svn/trunk@4052 2bbb7eff-a529-9590-31e7-b0007b416f81
* download_baselines.py : only set svn properties of files whose content has ↵Gravatar epoger@google.com2012-05-22
| | | | | | | | | | | changed and while I was at it, sort the filenames before acting on them, to make the output easier to read BUG=http://code.google.com/p/skia/issues/detail?id=618 Review URL: https://codereview.appspot.com/6223061 git-svn-id: http://skia.googlecode.com/svn/trunk@4031 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add to skdiff: test images for bitwise equality before testing for ↵Gravatar epoger@google.com2012-05-22
| | | | | | | | | | | | | | | | | | | pixel-wise equality - we now check for bitwise equality of files before bothering with pixel comparisons (this will help with formats for which we don't have good decoders, like PDF) - unparsable files are now reported as differing, unless they are bitwise equal (before, they were always reported as matching!) - "largest area mismatch" is now based on same-size image pairs only; previously, if any image pairs had mismatching size, it was 100% - removed repetitive "image size mismatch, so no diff to display" messages - changed format of leftmost table cells to be more readable BUG=http://code.google.com/p/skia/issues/detail?id=473 Review URL: https://codereview.appspot.com/6208089 git-svn-id: http://skia.googlecode.com/svn/trunk@4027 2bbb7eff-a529-9590-31e7-b0007b416f81