Index: include/gpu/GrTexture.h |
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h |
index ddba94065be2600847422bc887b89db46f62f9a0..67902982cf63e26f27b88c0597803e493ff6d655 100644 |
--- a/include/gpu/GrTexture.h |
+++ b/include/gpu/GrTexture.h |
@@ -46,6 +46,7 @@ public: |
protected: |
GrTexture(GrGpu*, LifeCycle, const GrSurfaceDesc&); |
+ GrTexture(GrGpu*, LifeCycle, const GrSurfaceDesc&, bool wasMipMapDataProvided); |
void validateDesc() const; |
@@ -60,7 +61,9 @@ private: |
}; |
MipMapsStatus fMipMapsStatus; |
- // These two shift a fixed-point value into normalized coordinates |
+ bool fIsMaxMipMapLevelSpecified; |
+ int fMaxMipMapLevel; |
bsalomon
2016/01/14 13:57:23
Could this be combined with the Desc's boolean? Ma
Chris Blume
2016/01/20 06:15:08
Done.
|
+ // These two shift a fixed-point value into normalized coordinates |
// for this texture if the texture is power of two sized. |
int fShiftFixedX; |
int fShiftFixedY; |