skia2/samplecode
Chris Dalton 6ce447a4ec Eliminate mixed samples as an FBO type or AA type
From now on, sample counts always refer to the number of actual color
samples, and render targets don't have separate color and stencil
sample counts.

If mixed samples support is available when making a
"GrAAType::kCoverage" draw, then an op may attach and use a mixed
sampled stencil buffer internally. But this will all be invisible to
the client.

After this CL, we temporarily won't have a mode to use nvpr with mixed
samples. That will soon be fixed by a follow-on CL that enables nvpr
with mixed samples in the normal "gl" and "gles" configs.

Bug: skia:
Change-Id: I1cb8277f0d2d0d371f24bb9f39cd473ed5c5c83b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/221878
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-06-24 04:08:45 +00:00
..
DecodeFile.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PerlinPatch.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Sample2PtRadial.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Sample.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Sample.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleAAClip.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleAAGeometry.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleAARectModes.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleAARects.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleAndroidShadows.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleAnimatedImage.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleAnimatedText.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleAnimBlur.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleArc.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleAtlas.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleBitmapRect.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleCamera.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleCCPRGeometry.cpp Eliminate mixed samples as an FBO type or AA type 2019-06-24 04:08:45 +00:00
SampleChart.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleChineseFling.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleCircle.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleClip.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleClipDrawMatch.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleClock.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleColorFilter.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleComplexClip.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleCowboy.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleCusp.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleDegenerateQuads.cpp Combine GrPerspQuad and GrQuad 2019-06-05 14:42:21 +00:00
SampleDegenerateTwoPtRadials.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleEffects.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleEmboss.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleFatBits.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleFillType.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleFilter2.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleFilterQuality.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleFlutterAnimate.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleFontCache.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleGlyphTransform.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleGradients.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleHairCurves.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleHairline.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleHairModes.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleHT.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleIdentityScale.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleLayerMask.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleLayers.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleLCD.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleLighting.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleLines.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleLitAtlas.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleLua.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleManyRects.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleMegaStroke.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleMixer.cpp stop calling legacy 255-biased colormatrix 2019-04-30 16:59:36 +00:00
SampleParagraph.cpp Adding TestFontCollection 2019-06-20 20:42:46 +00:00
SamplePatch.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SamplePath.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SamplePathClip.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SamplePathEffects.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SamplePathOverstroke.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SamplePathText.cpp Make FindOrCreateStrikeWithNoDeviceExclusive analog for SkStrikeSpec 2019-06-07 01:29:21 +00:00
SamplePdfFileViewer.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SamplePolyToPoly.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleQuadStroker.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleRectanizer.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleRegion.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleRepeatTile.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleSG.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleShaders.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleShadowColor.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleShadowReference.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleShadowUtils.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleShip.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleSlides.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleStringArt.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleStrokePath.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleStrokeRect.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleSubpixelTranslate.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleSVGFile.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleTextBox.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleTextEffects.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SampleTextureDomain.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleThinAA.cpp stop calling legacy 255-biased colormatrix 2019-04-30 16:59:36 +00:00
SampleTiling.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleUnpremul.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleVertices.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleWritePixels.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleXfer.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SampleXfermodesBlur.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
vertexdump.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00