skia2/bench
Chris Dalton b8fff0dfce Make mixed samples detection automatic
Previously, we relied on ops to deduce whether a draw would have
hardware coverage modulation as a result mixed samples. This is
problematic because *any* draw can have mixed samples coverage if
there is a multisampled stencil clip. No ops were checking for stencil
clip, and most just said they never used mixed samples.

Now that the only usecase for mixed samples is the stencil buffer,
this CL makes the processorSet automatically deduce mixed samples
coverage from the stencil settings and fsaaType.

Bug: skia:
Change-Id: Ib69b84bc03b12f6efb8e7d6ed721ae1612785315
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/197281
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2019-03-05 21:27:15 +00:00
..
AAClipBench.cpp
AlternatingColorPatternBench.cpp IWYU -- SkShader.h 2018-01-23 18:08:30 +00:00
AndroidCodecBench.cpp Revert[4] "guard old apis for querying byte-size of a bitmap/imageinfo/pixmap" 2017-10-03 20:03:35 +00:00
AndroidCodecBench.h
BenchLogger.cpp
BenchLogger.h
Benchmark.cpp Remove dead code from Benchmark 2018-08-09 13:07:28 +00:00
Benchmark.h Remove dead code from Benchmark 2018-08-09 13:07:28 +00:00
BezierBench.cpp
BigPathBench.cpp
BitmapBench.cpp Test performance of 565 bitmap scaling 2017-12-06 18:32:29 +00:00
BitmapRectBench.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
BitmapRegionDecoderBench.cpp Remove calls to computeOutputColor- Type and Space 2018-03-13 15:42:52 +00:00
BitmapRegionDecoderBench.h
BlendmodeBench.cpp start to build with no paint-text fields 2019-01-04 04:54:34 +00:00
BlurBench.cpp Remove occluded rrect blur benchmark 2018-08-20 19:01:00 +00:00
BlurImageFilterBench.cpp IWYU -- SkShader.h 2018-01-23 18:08:30 +00:00
BlurRectBench.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
BlurRectsBench.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
BlurRoundRectBench.cpp Revert "Hide setDrawLooper -- deprecate loopers" 2019-02-07 19:00:36 +00:00
ChartBench.cpp Fix benches that aren't really timing what we want 2017-12-18 15:56:02 +00:00
check_bench_regressions.py
ChecksumBench.cpp
ChromeBench.cpp
ClearBench.cpp Prevent op batching in clear benchmark 2019-01-16 16:11:34 +00:00
ClipMaskBench.cpp add conservative bounds to raster tiling 2018-04-12 16:22:30 +00:00
ClipStrategyBench.cpp Add a bench for comparing complex clip strategies 2017-12-24 17:12:42 +00:00
CmapBench.cpp hide SkFont::containsText 2019-02-01 10:54:53 +00:00
CodecBench.cpp Revert[4] "guard old apis for querying byte-size of a bitmap/imageinfo/pixmap" 2017-10-03 20:03:35 +00:00
CodecBench.h
CodecBenchPriv.h remove references to kIndex_8_SkColorType from our tools/tests 2017-07-12 20:25:44 +00:00
ColorCanvasDrawBitmapBench.cpp Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
ColorFilterBench.cpp
ColorPrivBench.cpp make most of SkColorPriv.h private 2017-09-15 16:31:35 +00:00
ColorSpaceXformBench.cpp Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
CompositingImagesBench.cpp Update drawimage composite benchmark to force aa 2018-11-20 17:41:34 +00:00
ControlBench.cpp
CoverageBench.cpp
CubicKLMBench.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
CubicMapBench.cpp add bench for cubicmap 2018-08-15 20:51:57 +00:00
DashBench.cpp
DisplacementBench.cpp bench: Fix a couple presumed copy/paste errors 2019-02-09 12:34:17 +00:00
DrawBitmapAABench.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
DrawLatticeBench.cpp Implement a fast path for solid color lattice rectangle 2017-12-11 18:26:18 +00:00
EncodeBench.cpp Add comment about how to run Decoder benchmarks 2018-11-08 18:12:51 +00:00
FontCacheBench.cpp start to use font for measure, not paint 2018-12-02 21:31:36 +00:00
FSRectBench.cpp
GameBench.cpp Fix occurrences of "-Wextra-semi-stmt" 2018-11-30 23:23:09 +00:00
GeometryBench.cpp add bench for computing convexity 2018-11-28 17:14:17 +00:00
GMBench.cpp Fix benches that aren't really timing what we want 2017-12-18 15:56:02 +00:00
GMBench.h Add benchmark for comparing multitexturing to non-multitexturing image draws. 2017-10-11 20:32:49 +00:00
GradientBench.cpp Remove SkLinearGradient::kForce4fContext_PrivateFlag 2017-06-07 20:24:51 +00:00
GrCCFillGeometryBench.cpp ccpr: Rename GrCCPathParser to GrCCFiller 2018-08-20 20:25:24 +00:00
GrMemoryPoolBench.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
GrMipMapBench.cpp Reland "Reland "Require mips to be allocated at texture creation time and disable late allocations."" 2018-06-08 23:01:44 +00:00
GrResourceCacheBench.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
gUniqueGlyphIDs.h
HairlinePathBench.cpp
HardStopGradientBench_ScaleNumColors.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
HardStopGradientBench_ScaleNumHardStops.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
HardStopGradientBench_SpecialHardStops.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
ImageBench.cpp Fix native_image_to_raster_surface crash in ANGLE msaa configs 2017-06-08 15:37:40 +00:00
ImageCacheBench.cpp
ImageCacheBudgetBench.cpp Move GrContextPriv methods to their own .cpp file 2019-02-06 21:15:58 +00:00
ImageCycleBench.cpp Reland "Move GrGeometryProcessor's textures out of classes and into" 2018-08-07 14:02:49 +00:00
ImageFilterCollapse.cpp
ImageFilterDAGBench.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
InterpBench.cpp make most of SkColorPriv.h private 2017-09-15 16:31:35 +00:00
JSONBench.cpp Fold SkJSON into Skia/utils 2018-06-19 18:23:30 +00:00
LightingBench.cpp
LineBench.cpp
MagnifierBench.cpp bench: Fix a couple presumed copy/paste errors 2019-02-09 12:34:17 +00:00
MathBench.cpp remove SkTCast 2018-06-18 17:22:18 +00:00
Matrix44Bench.cpp re-precate SkMatrix44::SkMatrix44() 2018-10-04 14:01:11 +00:00
MatrixBench.cpp
MatrixConvolutionBench.cpp
MemsetBench.cpp
MergeBench.cpp use drawSimpleText 2019-01-03 18:27:23 +00:00
microbench.json
MipMapBench.cpp Reland "Stop conflating F16 with linear gamma" 2018-08-28 14:23:27 +00:00
MorphologyBench.cpp
MutexBench.cpp
nanobench.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
nanobench.h Switch nanobench to SkJSONWriter 2019-01-28 19:54:26 +00:00
PatchBench.cpp Interpolate patch vertices in destination color space 2018-07-09 23:35:59 +00:00
PathBench.cpp add bench to time relative gain for convexity 2018-12-07 19:02:50 +00:00
PathIterBench.cpp
PathOpsBench.cpp add pathops bench for simplify 2018-11-05 13:15:21 +00:00
PathTextBench.cpp remove breakText, and all utf cache accessors 2019-02-01 15:20:23 +00:00
PDFBench.cpp SkDocument: use auto for MakeDocument(). 2019-01-17 19:16:28 +00:00
PerlinNoiseBench.cpp Hide SkPerlinNoiseShader impl details 2017-05-18 17:24:39 +00:00
PictureNestingBench.cpp
PictureOverheadBench.cpp bench clip overhead during recording 2017-03-06 21:45:02 +00:00
PicturePlaybackBench.cpp start to use font for measure, not paint 2018-12-02 21:31:36 +00:00
PolyUtilsBench.cpp Add new PolyUtils benches 2018-09-20 18:34:20 +00:00
PremulAndUnpremulAlphaOpsBench.cpp
QuickRejectBench.cpp
ReadPixBench.cpp Add SkEncodedOrigin to SkYUVASizeInfo, fix JPEG orientation in GPU decode path 2018-11-30 16:05:36 +00:00
RecordingBench.cpp move skpipe to experimental 2018-09-21 17:20:25 +00:00
RecordingBench.h move skpipe to experimental 2018-09-21 17:20:25 +00:00
RectanizerBench.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
RectBench.cpp Add aa/non-aa, local coord, and perspective modes to rect benchmarks 2018-11-20 21:04:42 +00:00
RectoriBench.cpp Revert "Hide setDrawLooper -- deprecate loopers" 2019-02-07 19:00:36 +00:00
RefCntBench.cpp remove sk_atomic_inc 2018-12-04 19:01:47 +00:00
RegionBench.cpp
RegionContainBench.cpp
RepeatTileBench.cpp remove unneeded code for index8 imagse 2017-07-03 19:07:25 +00:00
ResultsWriter.h Switch nanobench to SkJSONWriter 2019-01-28 19:54:26 +00:00
RotatedRectBench.cpp Add aa/non-aa, local coord, and perspective modes to rect benchmarks 2018-11-20 21:04:42 +00:00
RTreeBench.cpp
ScalarBench.cpp
ShaderMaskFilterBench.cpp Convert A8 D32 mask blitters to Sk4px 2018-04-18 19:52:53 +00:00
ShadowBench.cpp Remove dead code from Benchmark 2018-08-09 13:07:28 +00:00
ShapesBench.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
Sk4fBench.cpp
SkGlyphCacheBench.cpp remove breakText, and all utf cache accessors 2019-02-01 15:20:23 +00:00
SKPAnimationBench.cpp
SKPAnimationBench.h Replace SkFAIL with SK_ABORT. 2017-08-16 15:37:54 +00:00
SKPBench.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
SKPBench.h Don't use MEM_MOVE=true with SkTArrays of sk_sp 2018-09-05 20:11:07 +00:00
skpbench.json
SortBench.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
StreamBench.cpp
StrokeBench.cpp
SwizzleBench.cpp Reland "have SkConvertPixels use SkColorSpaceXformSteps" 2018-09-21 16:18:06 +00:00
TableBench.cpp
TextBlobBench.cpp add bench for textblobbuilder 2018-12-05 19:42:56 +00:00
TileBench.cpp prepare to remove obsolete macros 2018-04-24 19:19:01 +00:00
TileImageFilterBench.cpp
TopoSortBench.cpp Move control of explicit GPU resource allocation to GrContextOptions 2018-02-08 12:36:29 +00:00
TypefaceBench.cpp Benchmark for charToGlyph 2019-02-04 18:03:52 +00:00
VertBench.cpp move vertex-mode enum into SkVertices 2017-04-03 15:50:16 +00:00
VertexColorSpaceBench.cpp Make mixed samples detection automatic 2019-03-05 21:27:15 +00:00
WritePixelsBench.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
WriterBench.cpp