Index: include/core/SkImage.h |
diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
index fd20e5e0e521f712848be9bdd5d6d2c481d2cd99..cc0f1f16553d014c8929b82f9f02d99fb904d372 100644 |
--- a/include/core/SkImage.h |
+++ b/include/core/SkImage.h |
@@ -396,7 +396,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. |
@@ -469,7 +471,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; |