aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
Commit message (Collapse)AuthorAge
...
* Fix bugs in r7291Gravatar epoger@google.com2013-01-19
| | | | | | | TBR=reed Review URL: https://codereview.appspot.com/7129057 git-svn-id: http://skia.googlecode.com/svn/trunk@7292 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-land r7258 with fixes and testsGravatar epoger@google.com2013-01-19
| | | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1079 TBR=reed Review URL: https://codereview.appspot.com/7132060 git-svn-id: http://skia.googlecode.com/svn/trunk@7291 2bbb7eff-a529-9590-31e7-b0007b416f81
* Roll out r7258Gravatar epoger@google.com2013-01-18
| | | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1079 TBR=robertphillips Review URL: https://codereview.appspot.com/7138065 git-svn-id: http://skia.googlecode.com/svn/trunk@7289 2bbb7eff-a529-9590-31e7-b0007b416f81
* (Relanding r7275 with assert fix, plus fixes from r7276, r7280, r7283.)Gravatar senorblanco@chromium.org2013-01-18
| | | | | | | | | | | | Implement a bicubic resampling image filter, with raster and GPU backends. In order to get this to work on the GPU side, I had to modify the width and height of the drawn texture in drawSprite() and drawDevice() to use the filtered texture's dimensions, instead of the source texture. (This wasn't a problem before since all other image filters produce results the same dimensions as their input texture.) For now, this implementation only does axis-aligned scaling (same as the Lanczos-3 implementation in Chrome). It's also done for correctness and clarity, not speed, so there are lots of opportunities for speedups. Committed: https://code.google.com/p/skia/source/detail?r=7275 Review URL: https://codereview.appspot.com/7033049 git-svn-id: http://skia.googlecode.com/svn/trunk@7287 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-test: followup to r7284Gravatar epoger@google.com2013-01-18
| | | | | | | TBR=rmistry Review URL: https://codereview.appspot.com/7128056 git-svn-id: http://skia.googlecode.com/svn/trunk@7286 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting chain of SkBicubicImageFilter changes (7275, 7276, 7280 & 7283)Gravatar robertphillips@google.com2013-01-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7285 2bbb7eff-a529-9590-31e7-b0007b416f81
* make gm self-test more robustGravatar epoger@google.com2013-01-18
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1068 Review URL: https://codereview.appspot.com/7164043 git-svn-id: http://skia.googlecode.com/svn/trunk@7284 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement a bicubic resampling image filter, with raster and GPU backends.Gravatar senorblanco@chromium.org2013-01-18
| | | | | | | | | In order to get this to work on the GPU side, I had to modify the width and height of the drawn texture in drawSprite() and drawDevice() to use the filtered texture's dimensions, instead of the source texture. (This wasn't a problem before since all other image filters produce results the same dimensions as their input texture.) For now, this implementation only does axis-aligned scaling (same as the Lanczos-3 implementation in Chrome). It's also done for correctness and clarity, not speed, so there are lots of opportunities for speedups. Review URL: https://codereview.appspot.com/7033049 git-svn-id: http://skia.googlecode.com/svn/trunk@7275 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reapply r7198 with Mac/Windows fixesGravatar epoger@google.com2013-01-17
| | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=1067 Review URL: https://codereview.appspot.com/7138056 git-svn-id: http://skia.googlecode.com/svn/trunk@7258 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove default implementation of GrEffect::isEqual. Make ↵Gravatar bsalomon@google.com2013-01-17
| | | | | | | | GrSingleTextureEffect abstract. Review URL: https://codereview.appspot.com/7142049 git-svn-id: http://skia.googlecode.com/svn/trunk@7254 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7240 2bbb7eff-a529-9590-31e7-b0007b416f81
* Compiler warning fixes for r7235Gravatar robertphillips@google.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7237 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix int->scalar warningsGravatar reed@google.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7236 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gm for comparing drawSprite and drawBitmapGravatar reed@google.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7235 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn on the kUsePathBoundsForClip_RecordingFlag in bench, gm and tools that ↵Gravatar junov@chromium.org2013-01-16
| | | | | | | | | | | | | | use class PictureRenderer Chrome uses this flag for recording to skpicture in order to improve performance. Therefore, skai benchmarks should run with this flag enabled, and we need gm and render_pictures test coverage to validate it. In gm, the vanilla SkPicture test step will still run without the flag to ensure that case still gets test coverage, while the SkPicture test steps that use rtree and tileGrid will now run with the flag enabled. Review URL: https://codereview.appspot.com/7111043 git-svn-id: http://skia.googlecode.com/svn/trunk@7234 2bbb7eff-a529-9590-31e7-b0007b416f81
* Wrap GrEffects in GrEffectPtr.Gravatar bsalomon@google.com2013-01-16
| | | | | | | | | This is the first step towards automatic recycling of scratch resouces in the cache via ref-cnts. R=robertphillips@google.com Review URL: https://codereview.appspot.com/7092061 git-svn-id: http://skia.googlecode.com/svn/trunk@7222 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7215 2bbb7eff-a529-9590-31e7-b0007b416f81
* better quick fix for GM self-test: ignore instance-counting lines in Debug ↵Gravatar epoger@google.com2013-01-16
| | | | | | | | | output BUG=http://code.google.com/p/skia/issues/detail?id=1068 Review URL: https://codereview.appspot.com/7127044 git-svn-id: http://skia.googlecode.com/svn/trunk@7214 2bbb7eff-a529-9590-31e7-b0007b416f81
* quick fix for GM self-test failures after r7206Gravatar epoger@google.com2013-01-16
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1068 Review URL: https://codereview.appspot.com/7131043 git-svn-id: http://skia.googlecode.com/svn/trunk@7213 2bbb7eff-a529-9590-31e7-b0007b416f81
* Re-enable inst counting in debug builds.Gravatar bsalomon@google.com2013-01-15
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/7098066 git-svn-id: http://skia.googlecode.com/svn/trunk@7206 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r7198 until I can fix ↵Gravatar epoger@google.com2013-01-15
| | | | | | | | https://code.google.com/p/skia/issues/detail?id=1067 Review URL: https://codereview.appspot.com/7124043 git-svn-id: http://skia.googlecode.com/svn/trunk@7203 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: use new Expectations struct instead of comparison bitmapsGravatar epoger@google.com2013-01-15
| | | | | | Review URL: https://codereview.appspot.com/7088044 git-svn-id: http://skia.googlecode.com/svn/trunk@7198 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update gm self-test results to expect new runtime config debug messageGravatar epoger@google.com2013-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7197 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implementation of the displacement effect (both CPU and GPU)Gravatar sugoi@google.com2013-01-15
| | | | | | | TEST=Added new GM called "displacement" Review URL: https://codereview.appspot.com/7058075 git-svn-id: http://skia.googlecode.com/svn/trunk@7182 2bbb7eff-a529-9590-31e7-b0007b416f81
* dashing asPoints could draw excessively long first dashGravatar robertphillips@google.com2013-01-15
| | | | | | | | | | https://codereview.appspot.com/7098054/ Will require rebaselining of dashing gm. git-svn-id: http://skia.googlecode.com/svn/trunk@7177 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changing imageFilter GM tests to use drawBitmap instead of drawSpriteGravatar junov@chromium.org2013-01-14
| | | | | | | The motivation is be able to test the filters with scaled SkPicture playback in isolation from the issues that surround usage of drawSprite Review URL: https://codereview.appspot.com/7060071 git-svn-id: http://skia.googlecode.com/svn/trunk@7152 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding commandline option to gm to make it write image results for tests ↵Gravatar junov@chromium.org2013-01-11
| | | | | | | | that fails due to pixel mismatches. Review URL: https://codereview.appspot.com/7100043 git-svn-id: http://skia.googlecode.com/svn/trunk@7143 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix leaks in blurrect benchs and gm.Gravatar bsalomon@google.com2013-01-11
| | | | | | Review URL: https://codereview.appspot.com/7071060 git-svn-id: http://skia.googlecode.com/svn/trunk@7142 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: if no readPath is given, report all tests as "missing reference image" ↵Gravatar epoger@google.com2013-01-10
| | | | | | | | instead of "passed" Review URL: https://codereview.appspot.com/7070066 git-svn-id: http://skia.googlecode.com/svn/trunk@7119 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-test: update expected dashing2.png images (in inputs/ dir) to ↵Gravatar epoger@google.com2013-01-10
| | | | | | | | | reflect new behavior TBR=reed1 Review URL: https://codereview.appspot.com/7068060 git-svn-id: http://skia.googlecode.com/svn/trunk@7116 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable warnings-as-errors on Windows.Gravatar bsalomon@google.com2013-01-08
| | | | | | Review URL: https://codereview.appspot.com/7066054 git-svn-id: http://skia.googlecode.com/svn/trunk@7094 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: remove --diffPath option and all other pixel diff functionality.Gravatar epoger@google.com2013-01-08
| | | | | | | | If you want pixel diffs, you need to run skdiff instead; from now on, gm will only tell you WHETHER the images differed (not HOW they differed). Review URL: https://codereview.appspot.com/7064047 git-svn-id: http://skia.googlecode.com/svn/trunk@7093 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warningsGravatar reed@google.com2013-01-07
| | | | | | Review URL: https://codereview.appspot.com/7073044 git-svn-id: http://skia.googlecode.com/svn/trunk@7064 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warning from scalar --> int32 conversionGravatar humper@google.com2013-01-07
| | | | | | | | BUG= Review URL: https://codereview.appspot.com/7065050 git-svn-id: http://skia.googlecode.com/svn/trunk@7061 2bbb7eff-a529-9590-31e7-b0007b416f81
* eliminate all warnings in non-thirdparty code on macGravatar humper@google.com2013-01-07
| | | | | | | | | | | | | | | | Most of these issues were due to functions whose definitions appear in header files; I changed those functions to be 'static inline' instead of just 'static' or 'inline', which kills the warning for such functions. Other functions that were static or anonymous-namespaced but were unused in cpp files were probably called at some point but are no longer; someone who knows more than I do should probably scrub all the functions I either deleted or #if 0'ed out and make sure that the right thing is happening here. Lots of unused variables removed, and one nasty const issue handled. There remains a single warning in thirdparty/externals/cityhash/src/city.cc on line 146 related to a signed/unsigned mismatch. I don't know if we have control over this library so I didn't fix this one, but perhaps someone could do something about that one. BUG= Review URL: https://codereview.appspot.com/7067044 git-svn-id: http://skia.googlecode.com/svn/trunk@7051 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7038 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable some new tests until we debug an rtree failureGravatar reed@google.com2013-01-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7036 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added a new function to directly generate a blurred rectangle analytically.Gravatar humper@google.com2013-01-04
| | | | | | | | | Added two new microbenchmarks to demonstrate speedup over existing BlurSeparable approach. Added new GM tests for blurred rectangles. Review URL: https://codereview.appspot.com/7037050 git-svn-id: http://skia.googlecode.com/svn/trunk@7034 2bbb7eff-a529-9590-31e7-b0007b416f81
* add --exclude-config to opt out of 1 or more configs. This always is respected,Gravatar reed@google.com2013-01-04
| | | | | | | | | | | | regardless of the ordering of --config and --exclude-config. add --verbose [-v] to dump extra info, e.g. what configs are being run changed --config to enforce a unique set of configs to be run, such that --config 8888 --config 8888 results in just 1 run of 8888. Review URL: https://codereview.appspot.com/7027053 git-svn-id: http://skia.googlecode.com/svn/trunk@7013 2bbb7eff-a529-9590-31e7-b0007b416f81
* ran gm/tests/rebaseline.sh 5-6 times to update the self-test after 6984Gravatar reed@google.com2013-01-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6995 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add more warnings about https://code.google.com/p/skia/issues/detail?id=677 ↵Gravatar epoger@google.com2013-01-02
| | | | | | ('make tools/tests/run.sh work cross-platform') git-svn-id: http://skia.googlecode.com/svn/trunk@6965 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix compiler warnings:Gravatar mike@reedtribe.org2012-12-24
| | | | | | | | | - initialization order in SkWriter32.h - size_t -vs- int in rrects.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@6942 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 6938, as running rebaseline.sh did not seem to work.Gravatar mike@reedtribe.org2012-12-24
| | | | | | | | | | | | | | | | | | | | | | | | Binary files gm/tests/outputs/compared-against-identical-bytes/output-expected/images/8888/dashing2.png and gm/tests/outputs/compared-against-identical-bytes/output-actual/images/8888/dashing2.png differ diff -r '--exclude=.*' gm/tests/outputs/compared-against-identical-bytes/output-expected/json-summary.txt gm/tests/outputs/compared-against-identical-bytes/output-actual/json-summary.txt 5c5 < "checksum" : 2249048307642991938 --- > "checksum" : 16595425910463109922 diff -r '--exclude=.*' gm/tests/outputs/compared-against-identical-bytes/output-expected/stdout gm/tests/outputs/compared-against-identical-bytes/output-actual/stdout 4c4 < ----- max pixel mismatch for 8888/dashing2 is 16 --- > ----- max pixel mismatch for 8888/dashing2 is 64 6c6 < 8888/dashing2 pixel_error 16 --- > 8888/dashing2 pixel_error 64 failed in: compare_directories gm/tests/outputs/compared-against-identical-bytes/output-expected gm/tests/outputs/compared-against-identical-bytes/output-actual git-svn-id: http://skia.googlecode.com/svn/trunk@6939 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline self-test images after stroke changeGravatar mike@reedtribe.org2012-12-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6938 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make gm's json results include checksums even if run without --readPathGravatar epoger@google.com2012-12-20
| | | | | | Review URL: https://codereview.appspot.com/6979043 git-svn-id: http://skia.googlecode.com/svn/trunk@6917 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-12-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6911 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing picture recording scale bug in gmGravatar junov@chromium.org2012-12-19
| | | | | | Review URL: https://codereview.appspot.com/6965047 git-svn-id: http://skia.googlecode.com/svn/trunk@6901 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding tileGrid scaled playback capability to gm.Gravatar junov@chromium.org2012-12-19
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1021 Review URL: https://codereview.appspot.com/6937077 git-svn-id: http://skia.googlecode.com/svn/trunk@6898 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding gm test steps for rtree and tileGridGravatar junov@chromium.org2012-12-18
| | | | | | | | | | | The new passes are enabled by default, and can be disabled with --nortree and --notileGrid. With this change, the skia buildbots will begin continuously testing rtree and tileGrid. BUG=http://code.google.com/p/skia/issues/detail?id=1014 TEST=gm Review URL: https://codereview.appspot.com/6941072 git-svn-id: http://skia.googlecode.com/svn/trunk@6886 2bbb7eff-a529-9590-31e7-b0007b416f81
* Re-land r6843 with copied gyp file to (hopefully) fix Windows buildGravatar epoger@google.com2012-12-18
| | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=1023 Review URL: https://codereview.appspot.com/6943073 git-svn-id: http://skia.googlecode.com/svn/trunk@6880 2bbb7eff-a529-9590-31e7-b0007b416f81