| Index: include/gpu/GrCaps.h
|
| diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
|
| index 679777f9ddc74caab3c3820d4258e371a0eeb003..5cd9878f4b05d3ef08bf0390de7221dfab355058 100644
|
| --- a/include/gpu/GrCaps.h
|
| +++ b/include/gpu/GrCaps.h
|
| @@ -188,7 +188,9 @@ public:
|
| int maxTileSize() const { SkASSERT(fMaxTileSize <= fMaxTextureSize); return fMaxTileSize; }
|
|
|
| // Will be 0 if MSAA is not supported
|
| - int maxSampleCount() const { return fMaxSampleCount; }
|
| + int maxColorSampleCount() const { return fMaxColorSampleCount; }
|
| + // Will be 0 if MSAA is not supported
|
| + int maxStencilSampleCount() const { return fMaxStencilSampleCount; }
|
|
|
| virtual bool isConfigTexturable(GrPixelConfig config) const = 0;
|
| virtual bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const = 0;
|
| @@ -257,7 +259,8 @@ protected:
|
| int fMaxRenderTargetSize;
|
| int fMaxTextureSize;
|
| int fMaxTileSize;
|
| - int fMaxSampleCount;
|
| + int fMaxColorSampleCount;
|
| + int fMaxStencilSampleCount;
|
|
|
| private:
|
| virtual void onApplyOptionsOverrides(const GrContextOptions&) {};
|
|
|