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