387eaff6c1
Measures two different strategies for dealing with color space transform of per-op colors. Assuming we already use vertex colors, is it better to transform them on the CPU, and use float4 color attributes, or transform them on the GPU, and use ubyte4 color attributes? So far, looks like ubyte4 w/GPU transform wins. Change-Id: If49d75303f669fe7f78af8771af906fa0e872577 Reviewed-on: https://skia-review.googlesource.com/142801 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
128 lines
4.0 KiB
Plaintext
128 lines
4.0 KiB
Plaintext
# Copyright 2016 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Things are easiest for everyone if these source paths are absolute.
|
|
_bench = get_path_info("../bench", "abspath")
|
|
|
|
bench_sources = [
|
|
"$_bench/AAClipBench.cpp",
|
|
"$_bench/AlternatingColorPatternBench.cpp",
|
|
"$_bench/AndroidCodecBench.cpp",
|
|
"$_bench/BenchLogger.cpp",
|
|
"$_bench/Benchmark.cpp",
|
|
"$_bench/BezierBench.cpp",
|
|
"$_bench/BigPathBench.cpp",
|
|
"$_bench/BitmapBench.cpp",
|
|
"$_bench/BitmapRectBench.cpp",
|
|
"$_bench/BitmapRegionDecoderBench.cpp",
|
|
"$_bench/BlendmodeBench.cpp",
|
|
"$_bench/BlurBench.cpp",
|
|
"$_bench/BlurImageFilterBench.cpp",
|
|
"$_bench/BlurOccludedRRectBench.cpp",
|
|
"$_bench/BlurRectBench.cpp",
|
|
"$_bench/BlurRectsBench.cpp",
|
|
"$_bench/BlurRoundRectBench.cpp",
|
|
"$_bench/ChartBench.cpp",
|
|
"$_bench/ChecksumBench.cpp",
|
|
"$_bench/ChromeBench.cpp",
|
|
"$_bench/ClipMaskBench.cpp",
|
|
"$_bench/ClipStrategyBench.cpp",
|
|
"$_bench/CmapBench.cpp",
|
|
"$_bench/CodecBench.cpp",
|
|
"$_bench/ColorCanvasDrawBitmapBench.cpp",
|
|
"$_bench/ColorFilterBench.cpp",
|
|
"$_bench/ColorPrivBench.cpp",
|
|
"$_bench/ControlBench.cpp",
|
|
"$_bench/CoverageBench.cpp",
|
|
"$_bench/CubicKLMBench.cpp",
|
|
"$_bench/DashBench.cpp",
|
|
"$_bench/DisplacementBench.cpp",
|
|
"$_bench/DrawBitmapAABench.cpp",
|
|
"$_bench/DrawLatticeBench.cpp",
|
|
"$_bench/EncoderBench.cpp",
|
|
"$_bench/FontCacheBench.cpp",
|
|
"$_bench/FontScalerBench.cpp",
|
|
"$_bench/FSRectBench.cpp",
|
|
"$_bench/GameBench.cpp",
|
|
"$_bench/GeometryBench.cpp",
|
|
"$_bench/GMBench.cpp",
|
|
"$_bench/GradientBench.cpp",
|
|
"$_bench/GrCCGeometryBench.cpp",
|
|
"$_bench/GrMemoryPoolBench.cpp",
|
|
"$_bench/GrMipMapBench.cpp",
|
|
"$_bench/GrResourceCacheBench.cpp",
|
|
"$_bench/HairlinePathBench.cpp",
|
|
"$_bench/HardStopGradientBench_ScaleNumColors.cpp",
|
|
"$_bench/HardStopGradientBench_ScaleNumHardStops.cpp",
|
|
"$_bench/HardStopGradientBench_SpecialHardStops.cpp",
|
|
"$_bench/ImageBench.cpp",
|
|
"$_bench/ImageCacheBench.cpp",
|
|
"$_bench/ImageCacheBudgetBench.cpp",
|
|
"$_bench/ImageFilterCollapse.cpp",
|
|
"$_bench/ImageFilterDAGBench.cpp",
|
|
"$_bench/InterpBench.cpp",
|
|
"$_bench/JSONBench.cpp",
|
|
"$_bench/LightingBench.cpp",
|
|
"$_bench/LineBench.cpp",
|
|
"$_bench/MagnifierBench.cpp",
|
|
"$_bench/MathBench.cpp",
|
|
"$_bench/Matrix44Bench.cpp",
|
|
"$_bench/MatrixBench.cpp",
|
|
"$_bench/MatrixConvolutionBench.cpp",
|
|
"$_bench/MemsetBench.cpp",
|
|
"$_bench/MergeBench.cpp",
|
|
"$_bench/MipMapBench.cpp",
|
|
"$_bench/MorphologyBench.cpp",
|
|
"$_bench/MultitextureImageBench.cpp",
|
|
"$_bench/MutexBench.cpp",
|
|
"$_bench/PatchBench.cpp",
|
|
"$_bench/PathBench.cpp",
|
|
"$_bench/PathIterBench.cpp",
|
|
"$_bench/PathTextBench.cpp",
|
|
"$_bench/PDFBench.cpp",
|
|
"$_bench/PerlinNoiseBench.cpp",
|
|
"$_bench/PictureNestingBench.cpp",
|
|
"$_bench/PictureOverheadBench.cpp",
|
|
"$_bench/PicturePlaybackBench.cpp",
|
|
"$_bench/PolyUtilsBench.cpp",
|
|
"$_bench/PremulAndUnpremulAlphaOpsBench.cpp",
|
|
"$_bench/QuickRejectBench.cpp",
|
|
"$_bench/ReadPixBench.cpp",
|
|
"$_bench/RecordingBench.cpp",
|
|
"$_bench/RectanizerBench.cpp",
|
|
"$_bench/RectBench.cpp",
|
|
"$_bench/RectoriBench.cpp",
|
|
"$_bench/RefCntBench.cpp",
|
|
"$_bench/RegionBench.cpp",
|
|
"$_bench/RegionContainBench.cpp",
|
|
"$_bench/RepeatTileBench.cpp",
|
|
"$_bench/RotatedRectBench.cpp",
|
|
"$_bench/RTreeBench.cpp",
|
|
"$_bench/ScalarBench.cpp",
|
|
"$_bench/ShaderMaskBench.cpp",
|
|
"$_bench/ShaderMaskFilterBench.cpp",
|
|
"$_bench/ShadowBench.cpp",
|
|
"$_bench/ShapesBench.cpp",
|
|
"$_bench/Sk4fBench.cpp",
|
|
"$_bench/SkGlyphCacheBench.cpp",
|
|
"$_bench/SKPAnimationBench.cpp",
|
|
"$_bench/SKPBench.cpp",
|
|
"$_bench/SkRasterPipelineBench.cpp",
|
|
"$_bench/StreamBench.cpp",
|
|
"$_bench/SortBench.cpp",
|
|
"$_bench/StrokeBench.cpp",
|
|
"$_bench/SwizzleBench.cpp",
|
|
"$_bench/TableBench.cpp",
|
|
"$_bench/TextBench.cpp",
|
|
"$_bench/TextBlobBench.cpp",
|
|
"$_bench/TileBench.cpp",
|
|
"$_bench/TileImageFilterBench.cpp",
|
|
"$_bench/TopoSortBench.cpp",
|
|
"$_bench/VertBench.cpp",
|
|
"$_bench/VertexColorSpaceBench.cpp",
|
|
"$_bench/WritePixelsBench.cpp",
|
|
"$_bench/WriterBench.cpp",
|
|
]
|