Index: include/gpu/GrTypes.h |
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h |
index 8a8e08c949910c0b60f5932d5bb817e54acdbe10..774394fcb145d488a030d32e89d47dbb2d691aae 100644 |
--- a/include/gpu/GrTypes.h |
+++ b/include/gpu/GrTypes.h |
@@ -452,7 +452,8 @@ struct GrSurfaceDesc { |
, fWidth(0) |
, fHeight(0) |
, fConfig(kUnknown_GrPixelConfig) |
- , fSampleCnt(0) { |
+ , fSampleCnt(0) |
+ , fIsMipMapped(false) { |
} |
GrSurfaceFlags fFlags; //!< bitfield of TextureFlags |
@@ -474,6 +475,8 @@ struct GrSurfaceDesc { |
* max supported count. |
*/ |
int fSampleCnt; |
+ |
+ bool fIsMipMapped; //!< Indicates if the texture has mipmaps |
}; |
// Legacy alias |