Index: include/core/SkImage.h |
diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
index c9c56684604f8b1f12406c67593ed7e0b4b129fc..b373e30fa7941448c2ca314dedd1b77840e162f4 100644 |
--- a/include/core/SkImage.h |
+++ b/include/core/SkImage.h |
@@ -384,7 +384,9 @@ public: |
size_t getDeferredTextureImageData(const GrContextThreadSafeProxy&, |
const DeferredTextureImageUsageParams[], |
int paramCnt, |
- void* buffer) const; |
+ void* buffer, |
+ SkSourceGammaTreatment treatment = |
+ SkSourceGammaTreatment::kIgnore) const; |
/** |
* Returns a texture-backed image from data produced in SkImage::getDeferredTextureImageData. |
@@ -459,7 +461,7 @@ protected: |
private: |
static sk_sp<SkImage> MakeTextureFromMipMap(GrContext*, const SkImageInfo&, |
const GrMipLevel* texels, int mipLevelCount, |
- SkBudgeted); |
+ SkBudgeted, SkSourceGammaTreatment); |
const int fWidth; |
const int fHeight; |