Index: include/gpu/GrCaps.h |
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h |
index 3a6d27ba6647214fe2c565f31aa4f8e9f7ddf842..cf5dcebbdb83d1fe229ad4dc35b28ea2621cdb71 100644 |
--- a/include/gpu/GrCaps.h |
+++ b/include/gpu/GrCaps.h |
@@ -194,15 +194,8 @@ public: |
// Will be 0 if MSAA is not supported |
int maxSampleCount() const { return fMaxSampleCount; } |
- bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const { |
- SkASSERT(kGrPixelConfigCnt > config); |
- return fConfigRenderSupport[config][withMSAA]; |
- } |
- |
- bool isConfigTexturable(GrPixelConfig config) const { |
- SkASSERT(kGrPixelConfigCnt > config); |
- return fConfigTextureSupport[config]; |
- } |
+ virtual bool isConfigTexturable(GrPixelConfig config) const = 0; |
jvanverth1
2016/01/07 18:49:37
Why are these virtual? It looks like the config ta
|
+ virtual bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const = 0; |
bool suppressPrints() const { return fSuppressPrints; } |