aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/ColorPrivBench.cpp
Commit message (Collapse)AuthorAge
* make most of SkColorPriv.h privateGravatar Cary Clark2017-09-15
| | | | | | | | | | | | | created new file src/core/SkColorData.h for internal consumption. Note that many of the functions there are unused as well. Bug: skia: 6898 R: reed@google.com Change-Id: I25bfd5a9c21f53558c4ca65a77eb5d322d897c6d Reviewed-on: https://skia-review.googlesource.com/46848 Commit-Queue: Cary Clark <caryclark@google.com> Reviewed-by: Mike Reed <reed@google.com>
* Remove const from `const int loops`.Gravatar mtklein2015-10-01
| | | | | | | | This drives me nuts, and prevents `while (loops --> 0)`. BUG=skia: Review URL: https://codereview.chromium.org/1379923005
* Fix for nexus 5 crashing in GL benchesGravatar joshualitt2015-09-30
| | | | | | | | | | GLBenches do not expect gl state to change between onPerCanvasPreDraw and *PostDraw, but we do a clear and sometimes we clear as draw. This causes us to bind vertex objects / programs / etc. This change creates two new virtual methods which are called right before and immediately after timing. BUG=skia: Review URL: https://codereview.chromium.org/1379853003
* Style Change: SkNEW->new; SkDELETE->deleteGravatar halcanary2015-08-26
| | | | | | DOCS_PREVIEW= https://skia.org/?cl=1316123003 Review URL: https://codereview.chromium.org/1316123003
* C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla}Gravatar mtklein2015-03-25
| | | | | | | | | NOPRESUBMIT=true BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=1037793002 Review URL: https://codereview.chromium.org/1037793002
* Fix up all the easy virtual ... SK_OVERRIDE cases.Gravatar mtklein2015-01-09
| | | | | | | | | | | | This fixes every case where virtual and SK_OVERRIDE were on the same line, which should be the bulk of cases. We'll have to manually clean up the rest over time unless I level up in regexes. for f in (find . -type f); perl -p -i -e 's/virtual (.*)SK_OVERRIDE/\1SK_OVERRIDE/g' $f; end BUG=skia: Review URL: https://codereview.chromium.org/806653007
* Remove Sk prefix from some bench classes.Gravatar tfarina2014-06-19
| | | | | | | | | | | | | | | | This idea came while commenting on https://codereview.chromium.org/343583005/ Since SkBenchmark, SkBenchLogger and SkGMBench are not part of the Skia library, they should not have the Sk prefix. BUG=None TEST=make all R=mtklein@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/347823004
* Make sure four_byte_interp benches the entire FourByteInterp call.Gravatar commit-bot@chromium.org2013-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | Relative bench performance still says switch to Fast. Desktop: four_byte_interp_slow_256 11.68 four_byte_interp_slow_255 12.11 four_byte_interp_fast_256 7.17 four_byte_interp_fast_255 8.17 N5: four_byte_interp_slow_256 28.49 four_byte_interp_slow_255 25.08 four_byte_interp_fast_256 19.40 four_byte_interp_fast_255 21.69 BUG= R=reed@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/102053006 git-svn-id: http://skia.googlecode.com/svn/trunk@12512 2bbb7eff-a529-9590-31e7-b0007b416f81
* Simplify benchmark internal API.Gravatar commit-bot@chromium.org2013-12-03
| | | | | | | | | | | | | | | | | | I'm not quite sure why I wrote such a convoluted API with setLoops()/getLoops(). This replaces it with a loops argument passed to onDraw(). This CL is largely mechanical translation from the old API to the new one. MathBench used this->getLoops() outside onDraw(), which seems incorrect. I fixed it. BUG= R=djsollen@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/99893003 git-svn-id: http://skia.googlecode.com/svn/trunk@12466 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix off-by-one in four_byte_interp benches.Gravatar mtklein@google.com2013-12-03
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/100563002 git-svn-id: http://skia.googlecode.com/svn/trunk@12451 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add four_byte_interp benches.Gravatar commit-bot@chromium.org2013-12-02
Desktop: running bench [640 480] four_byte_interp_slow_256 NONRENDERING: cmsecs = 6.18 running bench [640 480] four_byte_interp_slow_255 NONRENDERING: cmsecs = 6.83 running bench [640 480] four_byte_interp_fast_256 NONRENDERING: cmsecs = 5.02 running bench [640 480] four_byte_interp_fast_255 NONRENDERING: cmsecs = 5.88 N5: running bench [640 480] four_byte_interp_slow_256 NONRENDERING: cmsecs = 22.84 running bench [640 480] four_byte_interp_slow_255 NONRENDERING: cmsecs = 25.11 running bench [640 480] four_byte_interp_fast_256 NONRENDERING: cmsecs = 18.89 running bench [640 480] four_byte_interp_fast_255 NONRENDERING: cmsecs = 22.32 BUG= R=reed@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/93933003 git-svn-id: http://skia.googlecode.com/svn/trunk@12444 2bbb7eff-a529-9590-31e7-b0007b416f81