aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* Improve default behavior of compare-baselines script.Gravatar epoger@google.com2012-02-03
| | | | | | | Now it can typically be called without any command-line arguments. Review URL: https://codereview.appspot.com/5615057 git-svn-id: http://skia.googlecode.com/svn/trunk@3139 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make skdiff always generate white diffs alongside actual pixel diffsGravatar epoger@google.com2012-02-02
| | | | | | | (and some associated improvement to the output) Review URL: https://codereview.appspot.com/5616059 git-svn-id: http://skia.googlecode.com/svn/trunk@3138 2bbb7eff-a529-9590-31e7-b0007b416f81
* Delete download-baselines-old script, we don't need it anymore.Gravatar epoger@google.com2012-02-02
| | | | | | Review URL: https://codereview.appspot.com/5615047 git-svn-id: http://skia.googlecode.com/svn/trunk@3130 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create compare-baselines tool to compare locally generated and checked-in GMs.Gravatar epoger@google.com2012-02-02
| | | | | | Review URL: https://codereview.appspot.com/5616056 git-svn-id: http://skia.googlecode.com/svn/trunk@3128 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change download-baselines script to download images from skia-autogen SVN repoGravatar epoger@google.com2012-01-17
| | | | | | | | | | | | | | | I have copied the old version (which downloads the images from the buildbots directly, but only works with our Mac buildbots) to download-baselines-old, so we can use either version during a transition period. Another difference: the new version sets the mimetype property of all image files in the baseline_subdir, even those that have not changed. BUG=386 http://code.google.com/p/skia/issues/detail?id=386 ('make buildbots write out RunGM image results to a browsable directory') Review URL: https://codereview.appspot.com/5544056 git-svn-id: http://skia.googlecode.com/svn/trunk@3058 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add --add-new-files option to download-baselines.py scriptGravatar epoger@google.com2012-01-10
| | | | | | | | | | | This will allow the user to determine whether the script downloads just updates for baselines that are already checked in, or all available baselines. BUG=436 addresses http://code.google.com/p/skia/issues/detail?id=436 ('add "update" flag to download-baselines script') Review URL: http://codereview.appspot.com/5523050 git-svn-id: http://skia.googlecode.com/svn/trunk@2993 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add tool that downloads gm baseline images from the bots.Gravatar epoger@google.com2011-12-29
| | | | | | Review URL: http://codereview.appspot.com/5503082 git-svn-id: http://skia.googlecode.com/svn/trunk@2937 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make update-doxygen.sh upload docs to http://code.google.com/p/skia-autogenGravatar epoger@google.com2011-12-07
| | | | | | | | | (and fix mime-type propset bug) Once this is committed, I will remove the doxygen docs from the skia repo. Review URL: http://codereview.appspot.com/5452072 git-svn-id: http://skia.googlecode.com/svn/trunk@2824 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create update-doxygen script that generates and uploads docsGravatar epoger@google.com2011-12-06
| | | | | | | (but only causes an SVN commit if any documentation actually changed). Review URL: http://codereview.appspot.com/5440109 git-svn-id: http://skia.googlecode.com/svn/trunk@2807 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make skdiff robust to image size differences: if the two image sizes differ,Gravatar tomhudson@google.com2011-11-30
| | | | | | | | | report that fact explicitly, record 100% pixel difference, and don't try to generate a valid delta image. git-svn-id: http://skia.googlecode.com/svn/trunk@2767 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix more VS2010 warnings.Gravatar bsalomon@google.com2011-10-07
| | | | | | | | Review URL: http://codereview.appspot.com/5169053/ git-svn-id: http://skia.googlecode.com/svn/trunk@2432 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make skdiff paths work on windowsGravatar bsalomon@google.com2011-09-23
| | | | | | | | http://codereview.appspot.com/5111041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2321 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move SkBitmap members of the skdiff DiffRecord to pointers so that theyGravatar tomhudson@google.com2011-08-02
| | | | | | | | | can be deleted as soon as they're written. When we're running in --chromium mode we now have much larger datasets. git-svn-id: http://skia.googlecode.com/svn/trunk@2025 2bbb7eff-a529-9590-31e7-b0007b416f81
* Script to automatically update copyright notices in C/C++ source code.Gravatar epoger@google.com2011-07-28
| | | | | | | | | Created to implement http://codereview.appspot.com/4816058/ ('Automatic update of all copyright notices to reflect new license terms.') We can also use this to periodically clean up our code headers. Review URL: http://codereview.appspot.com/4800055 git-svn-id: http://skia.googlecode.com/svn/trunk@1983 2bbb7eff-a529-9590-31e7-b0007b416f81
* Automatic update of all copyright notices to reflect new license terms.Gravatar epoger@google.com2011-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have manually examined all of these diffs and restored a few files that seem to require manual adjustment. The following files still need to be modified manually, in a separate CL: android_sample/SampleApp/AndroidManifest.xml android_sample/SampleApp/res/layout/layout.xml android_sample/SampleApp/res/menu/sample.xml android_sample/SampleApp/res/values/strings.xml android_sample/SampleApp/src/com/skia/sampleapp/SampleApp.java android_sample/SampleApp/src/com/skia/sampleapp/SampleView.java experimental/CiCarbonSampleMain.c experimental/CocoaDebugger/main.m experimental/FileReaderApp/main.m experimental/SimpleCocoaApp/main.m experimental/iOSSampleApp/Shared/SkAlertPrompt.h experimental/iOSSampleApp/Shared/SkAlertPrompt.m experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig gpu/src/android/GrGLDefaultInterface_android.cpp gyp/common.gypi gyp_skia include/ports/SkHarfBuzzFont.h include/views/SkOSWindow_wxwidgets.h make.bat make.py src/opts/memset.arm.S src/opts/memset16_neon.S src/opts/memset32_neon.S src/opts/opts_check_arm.cpp src/ports/SkDebug_brew.cpp src/ports/SkMemory_brew.cpp src/ports/SkOSFile_brew.cpp src/ports/SkXMLParser_empty.cpp src/utils/ios/SkImageDecoder_iOS.mm src/utils/ios/SkOSFile_iOS.mm src/utils/ios/SkStream_NSData.mm tests/FillPathTest.cpp Review URL: http://codereview.appspot.com/4816058 git-svn-id: http://skia.googlecode.com/svn/trunk@1982 2bbb7eff-a529-9590-31e7-b0007b416f81
* Extends skdiff to handle commands of the formGravatar tomhudson@google.com2011-07-14
| | | | | | | | | | | | | | | | | | | | skdiff --chromium-release baseDir outputDir skdiff --chromium-debug baseDir outputDir where baseDir is typically ../chromium/src. Handles Chromium/WebKit layout tests: recursively traverses the layout-test-results directory and compares -expected and -actual PNGs, building a webpage showing the two images, their difference image, and statistics, sorted by % of pixels difference. Respects all the standard skdiff flags. Also changes command line options named with words from starting with a single hyphen to starting with two, falling in line with standards: --threshold, --sortbymismatch, etc. git-svn-id: http://skia.googlecode.com/svn/trunk@1856 2bbb7eff-a529-9590-31e7-b0007b416f81
* In skdiff, merge paths into the struct that holds the filename, to enableGravatar tomhudson@google.com2011-07-13
| | | | | | | | | 1. better support reading from multiple input directories, and 2. allow filenames to differ between reference and novel images. git-svn-id: http://skia.googlecode.com/svn/trunk@1848 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix signed/unsigned mismatch in rev 1553.Gravatar tomhudson@google.com2011-06-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1558 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff usability improvements: summary to stdout, -diff in output filenames,Gravatar tomhudson@google.com2011-06-09
| | | | | | | | | | better statistics on HTML page when using -white, output directory name is optional. codereview.appspot.com/4590048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1553 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stores index.html in the output (diff) directory rather than in the currentGravatar tomhudson@google.com2011-05-24
| | | | | | | | | | | | | working directory. Skips PDFs since we have no way to compare them. Includes prototype of --weighted option to scale percent different metric by intensity of difference at each pixel. (qv http://codereview.appspot.com/4557042/) git-svn-id: http://skia.googlecode.com/svn/trunk@1411 2bbb7eff-a529-9590-31e7-b0007b416f81
* New 'skdiff' tool to compare two directories full of files, write diff imagesGravatar tomhudson@google.com2011-04-27
| | | | | | | | | into a third directory, and create a summary web page with metrics for easy inspection of the results. git-svn-id: http://skia.googlecode.com/svn/trunk@1200 2bbb7eff-a529-9590-31e7-b0007b416f81
* add png to makefile for linuxGravatar reed@android.com2010-04-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@551 2bbb7eff-a529-9590-31e7-b0007b416f81
* add skhello for simple hello-world sample codeGravatar reed@android.com2010-04-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@539 2bbb7eff-a529-9590-31e7-b0007b416f81
* almost there on gm (need to fix image writes/reads/compares)Gravatar reed@android.com2009-06-21
| | | | | | | | | move SkAutoGraphics into SkGraphics.h add [] operators to SkString git-svn-id: http://skia.googlecode.com/svn/trunk@228 2bbb7eff-a529-9590-31e7-b0007b416f81
* add skiamge (in tools/) that decodes and encodes imagesGravatar reed@android.com2009-04-24
git-svn-id: http://skia.googlecode.com/svn/trunk@160 2bbb7eff-a529-9590-31e7-b0007b416f81