зеркало из https://github.com/mozilla/moz-skia.git
91359bed48
Reason for revert: Some benchmarks are written in a way that makes this change unsafe (e.g. const char* resPath = GetResourcePath().c_str(); in SkipZeroesBench) and Valgrind and ASAN caught that. We can try again after a more careful cleanup of GetResourcePath(). Original issue's description: > Clean up resourcePath code. > > 1) Make the implementation of SetResourcePath/GetResourcePath of GM and SkBenchmark match with the one in Test. > 2) Make gResourcePath a static pointer to const char and move it inside the classes. > > BUG=None > TEST=make tests && out/Debug/tests > make gm && out/Debug/gm > make bench && out/Debug/bench > R=mtklein@google.com > > Committed: https://skia.googlesource.com/skia/+/52e4f413ffe2d281f9e90ff2147db08083ffcba7 R=tfarina@chromium.org TBR=tfarina@chromium.org NOTREECHECKS=true NOTRY=true BUG=None Author: mtklein@google.com Review URL: https://codereview.chromium.org/320733002 |
||
---|---|---|
.. | ||
BenchTool/BenchTool.xcodeproj | ||
AAClipBench.cpp | ||
BenchGpuTimer_gl.cpp | ||
BenchGpuTimer_gl.h | ||
BenchSysTimer_c.cpp | ||
BenchSysTimer_c.h | ||
BenchSysTimer_mach.cpp | ||
BenchSysTimer_mach.h | ||
BenchSysTimer_posix.cpp | ||
BenchSysTimer_posix.h | ||
BenchSysTimer_windows.cpp | ||
BenchSysTimer_windows.h | ||
BenchTimer.cpp | ||
BenchTimer.h | ||
BicubicBench.cpp | ||
BitmapBench.cpp | ||
BitmapRectBench.cpp | ||
BitmapScaleBench.cpp | ||
BlurBench.cpp | ||
BlurImageFilterBench.cpp | ||
BlurRectBench.cpp | ||
BlurRoundRectBench.cpp | ||
ChartBench.cpp | ||
ChecksumBench.cpp | ||
ChromeBench.cpp | ||
CmapBench.cpp | ||
ColorFilterBench.cpp | ||
ColorPrivBench.cpp | ||
CoverageBench.cpp | ||
DashBench.cpp | ||
DecodeBench.cpp | ||
DeferredCanvasBench.cpp | ||
DeferredSurfaceCopyBench.cpp | ||
DisplacementBench.cpp | ||
ETCBitmapBench.cpp | ||
FSRectBench.cpp | ||
FontCacheBench.cpp | ||
FontScalerBench.cpp | ||
GameBench.cpp | ||
GrMemoryPoolBench.cpp | ||
GrOrderedSetBench.cpp | ||
GrResourceCacheBench.cpp | ||
GradientBench.cpp | ||
HairlinePathBench.cpp | ||
ImageCacheBench.cpp | ||
ImageDecodeBench.cpp | ||
ImageFilterDAGBench.cpp | ||
InterpBench.cpp | ||
LightingBench.cpp | ||
LineBench.cpp | ||
MagnifierBench.cpp | ||
MathBench.cpp | ||
Matrix44Bench.cpp | ||
MatrixBench.cpp | ||
MatrixConvolutionBench.cpp | ||
MemcpyBench.cpp | ||
MemoryBench.cpp | ||
MemsetBench.cpp | ||
MergeBench.cpp | ||
MorphologyBench.cpp | ||
MutexBench.cpp | ||
PathBench.cpp | ||
PathIterBench.cpp | ||
PathUtilsBench.cpp | ||
PerlinNoiseBench.cpp | ||
PicturePlaybackBench.cpp | ||
PictureRecordBench.cpp | ||
PremulAndUnpremulAlphaOpsBench.cpp | ||
QuadTreeBench.cpp | ||
RTreeBench.cpp | ||
ReadPixBench.cpp | ||
RectBench.cpp | ||
RectanizerBench.cpp | ||
RectoriBench.cpp | ||
RefCntBench.cpp | ||
RegionBench.cpp | ||
RegionContainBench.cpp | ||
RepeatTileBench.cpp | ||
ResultsWriter.cpp | ||
ResultsWriter.h | ||
ScalarBench.cpp | ||
ShaderMaskBench.cpp | ||
SkBenchLogger.cpp | ||
SkBenchLogger.h | ||
SkBenchmark.cpp | ||
SkBenchmark.h | ||
SkGMBench.cpp | ||
SkGMBench.h | ||
SkipZeroesBench.cpp | ||
SortBench.cpp | ||
StackBench.cpp | ||
StrokeBench.cpp | ||
TableBench.cpp | ||
TextBench.cpp | ||
TileBench.cpp | ||
TimerData.cpp | ||
TimerData.h | ||
VertBench.cpp | ||
WritePixelsBench.cpp | ||
WriterBench.cpp | ||
XfermodeBench.cpp | ||
bench_compare.py | ||
bench_util.py | ||
benchmain.cpp | ||
check_bench_regressions.py | ||
gUniqueGlyphIDs.h | ||
gen_bench_expectations.py | ||
tile_analyze.py |