aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar csmartdalton <csmartdalton@google.com>2016-06-10 14:06:32 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-10 14:06:32 -0700
commit2b5f2cbf0d0b580e5277d1d085ce261cb5233111 (patch)
tree8eb0c0d1525a71b06e6becf6bd71c60f3247847b /include
parentf10637f2795b147751ef413237389d230b869360 (diff)
Move multisampleDisableSupport into GrCaps
Non-platform code needs this information in order to make rendering decisions. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2062443002 Review-Url: https://codereview.chromium.org/2062443002
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrCaps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index 9fe727c425..35e2c2ca30 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -158,6 +158,7 @@ public:
bool oversizedStencilSupport() const { return fOversizedStencilSupport; }
bool textureBarrierSupport() const { return fTextureBarrierSupport; }
bool sampleLocationsSupport() const { return fSampleLocationsSupport; }
+ bool multisampleDisableSupport() const { return fMultisampleDisableSupport; }
bool usesMixedSamples() const { return fUsesMixedSamples; }
bool useDrawInsteadOfClear() const { return fUseDrawInsteadOfClear; }
@@ -294,6 +295,7 @@ protected:
bool fOversizedStencilSupport : 1;
bool fTextureBarrierSupport : 1;
bool fSampleLocationsSupport : 1;
+ bool fMultisampleDisableSupport : 1;
bool fUsesMixedSamples : 1;
bool fSupportsInstancedDraws : 1;
bool fFullClearIsFree : 1;