skia2/bench
mtklein 8bf7b79cf9 Refactor swizzle names and types.
- Plant a flag to say "pretend all the inputs are RGBA".
    This is how libpng thinks.
    This is the opposite of what the implementation had been doing,
    so I've rearranged everything to reflect the new orientation.

  - Rewrite the names to be less mysterious looking.  No more Xs.

  - Make the src type uniformly const void*, to allow for 888 (RGB) srcs.

This should be performance and pixel neutral.  (Please revert if it's not.)

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1626463002
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Review URL: https://codereview.chromium.org/1626463002
2016-01-22 07:42:53 -08:00
..
AAClipBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
AlternatingColorPatternBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
bench_compare.py
bench_util.py
BenchLogger.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
BenchLogger.h
Benchmark.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
Benchmark.h Began logging more gpu stats from nanobench 2015-12-02 09:05:38 -08:00
BezierBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
BigPathBench.cpp Factor out VisualBench timing code into a helper class 2015-10-05 07:23:30 -07:00
BitmapBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
BitmapRectBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
BitmapRegionDecoderBench.cpp Remove dependency on src/android from dm and nanobench 2015-11-13 09:59:11 -08:00
BitmapRegionDecoderBench.h Rename SkBitmapRegionDecoder and Create function 2015-11-06 08:56:32 -08:00
BitmapScaleBench.cpp Valgrind is not a fan of uninitialized Src pixels. 2016-01-19 12:42:49 -08:00
BlurBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
BlurImageFilterBench.cpp SkBlurImageFilter returns input when sigma = 0 2015-12-10 12:08:44 -08:00
BlurRectBench.cpp Add default ctor to SkMask 2015-12-17 11:33:12 -08:00
BlurRectsBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
BlurRoundRectBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ChartBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
check_bench_regressions.py
ChecksumBench.cpp Revert of Consolidate SK_CRASH and sk_throw into SK_ABORT (patchset #5 id:80001 of https://codereview.chromium.org/1610823002/ ) 2016-01-22 06:50:25 -08:00
ChromeBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
CmapBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
CodecBench.cpp Add --zero_init to simulate zero-initialized memory in CodecBench 2016-01-08 14:20:36 -08:00
CodecBench.h Make CodecBench test kPremul and kUnpremul 2016-01-07 14:20:20 -08:00
CodecBenchPriv.h Make CodecBench test kPremul and kUnpremul 2016-01-07 14:20:20 -08:00
ColorCubeBench.cpp Switch SkAutoMalloc to SkAutoTMalloc to avoid cast 2015-12-10 10:44:13 -08:00
ColorFilterBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ColorPrivBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ControlBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
CoverageBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
DashBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
DecodingBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
DecodingBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00
DisplacementBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
DrawBitmapAABench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ETCBitmapBench.cpp Append '\n' character to nanobench error message 2015-12-22 10:50:56 -08:00
FontCacheBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
FontScalerBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
FSRectBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
GameBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
gen_bench_expectations.py
GeometryBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
GLBench.cpp S4 only has 8 texture units on the GLContext we create 2015-10-02 06:49:23 -07:00
GLBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00
GLInstancedArraysBench.cpp remove explicit 'f' in glbench shader 2015-12-11 08:31:17 -08:00
GLVec4ScalarBench.cpp Make appending default precision be controled by GLSL 2015-10-26 08:38:26 -07:00
GLVertexAttributesBench.cpp Make appending default precision be controled by GLSL 2015-10-26 08:38:26 -07:00
GMBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
GMBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00
GradientBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
GrMemoryPoolBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
GrResourceCacheBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
gUniqueGlyphIDs.h
HairlinePathBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ImageBench.cpp Reland of move drawSprite from canvas (patchset #1 id:1 of https://codereview.chromium.org/1529803004/ ) 2015-12-16 08:38:16 -08:00
ImageCacheBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ImageFilterCollapse.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ImageFilterDAGBench.cpp Image filters: simplify filterInputGPU(). 2015-10-26 06:55:47 -07:00
InterpBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
LightingBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
LineBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
MagnifierBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
MathBench.cpp spin off remaining integer overflow fixes 2015-12-08 10:53:01 -08:00
Matrix44Bench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
MatrixBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
MatrixConvolutionBench.cpp Reland of change all factories to return their base-class (patchset #1 id:1 of https://codereview.chromium.org/1540203002/ ) 2015-12-21 08:52:45 -08:00
MemoryBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
MemsetBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
MergeBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
microbench.json
MipMapBench.cpp update mipbuilder bench to exercise all 4 procs 2016-01-15 18:47:38 -08:00
MorphologyBench.cpp Revert "Revert of factories should return baseclass, allowing the impl to specialize (patchset #4 id:60001 of https://codereview.chromium.org/1390523005/ )" 2015-10-06 14:05:32 -07:00
MutexBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
nanobench.cpp Revert of Consolidate SK_CRASH and sk_throw into SK_ABORT (patchset #5 id:80001 of https://codereview.chromium.org/1610823002/ ) 2016-01-22 06:50:25 -08:00
nanobench.h Make NVPR a GL context option instead of a GL context 2015-12-10 06:28:13 -08:00
nanobenchAndroid.cpp Simplify linkages to Android framework internals 2015-10-26 07:21:32 -07:00
nanobenchAndroid.h Simplify linkages to Android framework internals 2015-10-26 07:21:32 -07:00
PatchBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
PatchGridBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
PathBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
PathIterBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
PerlinNoiseBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
PictureNestingBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
PictureOverheadBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
PicturePlaybackBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
PremulAndUnpremulAlphaOpsBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ReadPixBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RecordingBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RecordingBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RectanizerBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RectBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RectoriBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RefCntBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RegionBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RegionContainBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RepeatTileBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ResultsWriter.h Began logging more gpu stats from nanobench 2015-12-02 09:05:38 -08:00
RotatedRectBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
RTreeBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ScalarBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
ShaderMaskBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
Sk4fBench.cpp Unify some SkNx code 2015-12-14 11:25:18 -08:00
SkGlyphCacheBench.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
SkipZeroesBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
SKPAnimationBench.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SKPAnimationBench.h Make nanobench zoom animation time based 2015-06-29 14:06:10 -07:00
SKPBench.cpp Wire up resource cache stats dumping in nanobench 2015-12-02 14:08:25 -08:00
SKPBench.h Began logging more gpu stats from nanobench 2015-12-02 09:05:38 -08:00
skpbench.json
SortBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
StrokeBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
SwizzleBench.cpp Refactor swizzle names and types. 2016-01-22 07:42:53 -08:00
TableBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
TextBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
TextBlobBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
tile_analyze.py
TileBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
TileImageFilterBench.cpp Add a bench to test SkTileImageFilter. 2016-01-05 13:27:43 -08:00
TopoSortBench.cpp Add SkTTopoSort 2015-10-19 12:15:55 -07:00
VertBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
WritePixelsBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
WriterBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
XfermodeBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00