| Index: src/gpu/GrDrawTargetCaps.h
|
| diff --git a/src/gpu/GrDrawTargetCaps.h b/src/gpu/GrDrawTargetCaps.h
|
| index db2b090512c4cd2b3ad4f57619e6967e973126f5..db4d46855cc84c6f2b9c5ea88cfda42f8dd4e451 100644
|
| --- a/src/gpu/GrDrawTargetCaps.h
|
| +++ b/src/gpu/GrDrawTargetCaps.h
|
| @@ -72,9 +72,9 @@ public:
|
| return fConfigRenderSupport[config][withMSAA];
|
| }
|
|
|
| - bool compressedTextureSupport(GrCompressedFormat format) const {
|
| - SkASSERT(kGrCompressedFormatCount > format);
|
| - return fCompressedFormatSupport[format];
|
| + bool isConfigTexturable(GrPixelConfig config) const {
|
| + SkASSERT(kGrPixelConfigCnt > config);
|
| + return fConfigTextureSupport[config];
|
| }
|
|
|
| protected:
|
| @@ -101,8 +101,7 @@ protected:
|
|
|
| // The first entry for each config is without msaa and the second is with.
|
| bool fConfigRenderSupport[kGrPixelConfigCnt][2];
|
| -
|
| - bool fCompressedFormatSupport[kGrCompressedFormatCount];
|
| + bool fConfigTextureSupport[kGrPixelConfigCnt];
|
|
|
| typedef SkRefCnt INHERITED;
|
| };
|
|
|