| Index: src/gpu/GrCaps.cpp
|
| diff --git a/src/gpu/GrCaps.cpp b/src/gpu/GrCaps.cpp
|
| index f4c64c3333258f293af520665e8143377ae3cfda..9a3e372633035a8d406059c16f8e027db0bce8c4 100644
|
| --- a/src/gpu/GrCaps.cpp
|
| +++ b/src/gpu/GrCaps.cpp
|
| @@ -91,6 +91,7 @@ GrCaps::GrCaps(const GrContextOptions& options) {
|
| fOversizedStencilSupport = false;
|
| fTextureBarrierSupport = false;
|
| fUsesMixedSamples = false;
|
| + fRasterMultisampleSupport = false;
|
| fSupportsInstancedDraws = false;
|
| fFullClearIsFree = false;
|
| fMustClearUploadedBufferData = false;
|
| @@ -106,6 +107,7 @@ GrCaps::GrCaps(const GrContextOptions& options) {
|
| fMaxTextureSize = 1;
|
| fMaxColorSampleCount = 0;
|
| fMaxStencilSampleCount = 0;
|
| + fMaxRasterSamples = 0;
|
|
|
| fSuppressPrints = options.fSuppressPrints;
|
| fImmediateFlush = options.fImmediateMode;
|
| @@ -162,6 +164,7 @@ SkString GrCaps::dump() const {
|
| r.appendf("Oversized Stencil Support : %s\n", gNY[fOversizedStencilSupport]);
|
| r.appendf("Texture Barrier Support : %s\n", gNY[fTextureBarrierSupport]);
|
| r.appendf("Uses Mixed Samples : %s\n", gNY[fUsesMixedSamples]);
|
| + r.appendf("Raster Multisample Support : %s\n", gNY[fRasterMultisampleSupport]);
|
| r.appendf("Supports instanced draws : %s\n", gNY[fSupportsInstancedDraws]);
|
| r.appendf("Full screen clear is free : %s\n", gNY[fFullClearIsFree]);
|
| r.appendf("Must clear buffer memory : %s\n", gNY[fMustClearUploadedBufferData]);
|
| @@ -178,6 +181,9 @@ SkString GrCaps::dump() const {
|
| r.appendf("Max Render Target Size : %d\n", fMaxRenderTargetSize);
|
| r.appendf("Max Color Sample Count : %d\n", fMaxColorSampleCount);
|
| r.appendf("Max Stencil Sample Count : %d\n", fMaxStencilSampleCount);
|
| + if (this->rasterMultisampleSupport()) {
|
| + r.appendf("Max Raster Samples : %d\n", fMaxRasterSamples);
|
| + }
|
|
|
| static const char* kBlendEquationSupportNames[] = {
|
| "Basic",
|
|
|