skia2/bench
cdalton e6d2024c68 Flush GrContext between benchmark draw loops
This change updates a small subset of benchmarks to flush the GrContext
between draw loops (specifically SKP benchmarks, SampleApp, and the
warmup in visualbench). This helps improve timing accuracy by not
allowing the gpu to batch across draw boundaries in the affected
benchmarks.

BUG=skia:

Review URL: https://codereview.chromium.org/1427533002
2015-10-26 13:45:29 -07:00
..
subset Add subsetting to SkScanlineDecoder 2015-10-13 12:50:14 -07: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 Make bench_compare executable. 2013-11-12 15:25:31 +00:00
bench_util.py Restore bench_util.py 2014-08-08 17:28:53 -04:00
BenchLogger.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
BenchLogger.h Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
Benchmark.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
Benchmark.h Cleanup timing state machine 2015-10-05 13:58:26 -07: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 Implementation of SkBitmapRegionDecoder using SkAndroidCodec 2015-10-22 07:29:19 -07:00
BitmapRegionDecoderBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00
BitmapScaleBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
BlurBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
BlurImageFilterBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07:00
BlurRectBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07: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 Adds dashboard link for one-line plot on each alert item. 2014-05-13 17:38:17 +00:00
ChecksumBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07: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 Remove const from const int loops. 2015-10-01 09:43:39 -07:00
CodecBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00
CodecBenchPriv.h Add nanobench tests for BitmapRegionDecoder 2015-09-22 11:56:16 -07:00
ColorCubeBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07: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 Misc: Don't run etc1 bench with invalid image and fix VS2015 build warning 2015-10-19 08:29:16 -07: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 Added in framework to get more bench data 2014-06-12 11:27:40 -07:00
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 Make appending default precision be controled by GLSL 2015-10-26 08:38:26 -07: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 Remove const from const int loops. 2015-10-01 09:43:39 -07: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 Remove const from const int loops. 2015-10-01 09:43:39 -07: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 Remove const from const int loops. 2015-10-01 09:43:39 -07: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 Fix the other microbench schema 2014-07-25 08:30:11 -07:00
MipMapBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07: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 Implementation of SkBitmapRegionDecoder using SkAndroidCodec 2015-10-22 07:29:19 -07:00
nanobench.h Style Change: NULL->nullptr 2015-08-27 07:41:16 -07: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 Style Change: NULL->nullptr 2015-08-27 07:41:16 -07: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 Remove const from const int loops. 2015-10-01 09:43:39 -07:00
SkGlyphCacheBench.cpp Remove const from const int loops. 2015-10-01 09:43:39 -07: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 Flush GrContext between benchmark draw loops 2015-10-26 13:45:29 -07:00
SKPBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00
skpbench.json Fix scale type in JSON format 2014-06-26 15:39:31 -07:00
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
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
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