| Index: src/gpu/gl/GrGLCaps.h
|
| diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
|
| index ed673e7ce73cd507a1cc96d5545431bd5029a322..376610d8b0d9636c299f0a4fee95174c89f3634f 100644
|
| --- a/src/gpu/gl/GrGLCaps.h
|
| +++ b/src/gpu/gl/GrGLCaps.h
|
| @@ -120,10 +120,12 @@
|
| const GrGLInterface* glInterface);
|
|
|
| bool isConfigTexturable(GrPixelConfig config) const override {
|
| + SkASSERT(kGrPixelConfigCnt > config);
|
| return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag);
|
| }
|
|
|
| bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const override {
|
| + SkASSERT(kGrPixelConfigCnt > config);
|
| if (withMSAA) {
|
| return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kRenderableWithMSAA_Flag);
|
| } else {
|
| @@ -132,6 +134,7 @@
|
| }
|
|
|
| bool isConfigTexSupportEnabled(GrPixelConfig config) const {
|
| + SkASSERT(kGrPixelConfigCnt > config);
|
| return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseTexStorage_Flag);
|
| }
|
|
|
|
|