Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: include/core/SkImage.h

Issue 2227323002: Revert of Store mipmap levels in deferred texture image (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/deferredtextureimagedata.cpp ('k') | src/image/SkImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImage.h
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index cc0f1f16553d014c8929b82f9f02d99fb904d372..fd20e5e0e521f712848be9bdd5d6d2c481d2cd99 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -396,9 +396,7 @@
size_t getDeferredTextureImageData(const GrContextThreadSafeProxy&,
const DeferredTextureImageUsageParams[],
int paramCnt,
- void* buffer,
- SkSourceGammaTreatment treatment =
- SkSourceGammaTreatment::kIgnore) const;
+ void* buffer) const;
/**
* Returns a texture-backed image from data produced in SkImage::getDeferredTextureImageData.
@@ -471,7 +469,7 @@
private:
static sk_sp<SkImage> MakeTextureFromMipMap(GrContext*, const SkImageInfo&,
const GrMipLevel* texels, int mipLevelCount,
- SkBudgeted, SkSourceGammaTreatment);
+ SkBudgeted);
const int fWidth;
const int fHeight;
« no previous file with comments | « gm/deferredtextureimagedata.cpp ('k') | src/image/SkImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698