| Index: src/gpu/GrDrawTargetCaps.h
 | 
| diff --git a/src/gpu/GrDrawTargetCaps.h b/src/gpu/GrDrawTargetCaps.h
 | 
| index 111b35bf74e3af72be8999fa6b6b97790dc5aadb..11347e3cb64c4a2396b9e94054d365281ea846b9 100644
 | 
| --- a/src/gpu/GrDrawTargetCaps.h
 | 
| +++ b/src/gpu/GrDrawTargetCaps.h
 | 
| @@ -7,6 +7,7 @@
 | 
|   */
 | 
|  
 | 
|  #include "SkRefCnt.h"
 | 
| +#include "GrTypes.h"
 | 
|  
 | 
|  #ifndef GrDrawTargetCaps_DEFINED
 | 
|  #define GrDrawTargetCaps_DEFINED
 | 
| @@ -43,6 +44,14 @@ public:
 | 
|      // Will be 0 if MSAA is not supported
 | 
|      int maxSampleCount() const { return fMaxSampleCount; }
 | 
|  
 | 
| +    /**
 | 
| +     * Can the provided configuration act as a render target?
 | 
| +     */
 | 
| +    bool isConfigRenderable(GrPixelConfig config) const {
 | 
| +        SkASSERT(kGrPixelConfigCnt > config);
 | 
| +        return fConfigRenderSupport[config];
 | 
| +    }
 | 
| +
 | 
|  protected:
 | 
|      bool f8BitPaletteSupport        : 1;
 | 
|      bool fNPOTTextureTileSupport    : 1;
 | 
| @@ -61,6 +70,8 @@ protected:
 | 
|      int fMaxTextureSize;
 | 
|      int fMaxSampleCount;
 | 
|  
 | 
| +    bool fConfigRenderSupport[kGrPixelConfigCnt];
 | 
| +
 | 
|      typedef SkRefCnt INHERITED;
 | 
|  };
 | 
|  
 | 
| 
 |