diff options
Diffstat (limited to 'src/gpu/GrTextureParamsAdjuster.h')
-rw-r--r-- | src/gpu/GrTextureParamsAdjuster.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrTextureParamsAdjuster.h b/src/gpu/GrTextureParamsAdjuster.h index 7279ed6252..c02f5b34f7 100644 --- a/src/gpu/GrTextureParamsAdjuster.h +++ b/src/gpu/GrTextureParamsAdjuster.h @@ -185,7 +185,7 @@ protected: * Return the maker's "original" texture. It is the responsibility of the maker to handle any * caching of the original if desired. */ - virtual GrTexture* refOriginalTexture() = 0; + virtual GrTexture* refOriginalTexture(bool willBeMipped) = 0; /** * Return a new (uncached) texture that is the stretch of the maker's original. @@ -197,7 +197,7 @@ protected: * Subclass may override this if they can handle creating the texture more directly than * by copying. */ - virtual GrTexture* generateTextureForParams(const CopyParams&); + virtual GrTexture* generateTextureForParams(const CopyParams&, bool willBeMipped); GrContext* context() const { return fContext; } |