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

Unified Diff: include/core/SkImage.h

Issue 2034933003: Store mipmap levels in deferred texture image (Closed) Base URL: https://skia.googlesource.com/skia.git@pipe-mipmap-levels-to-creation
Patch Set: Fixing Windows build. Created 4 years, 6 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
Index: include/core/SkImage.h
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 52a2bf7af76674125225ab82f17a4b84b169debd..26ab496e2067ee73c53726fd2bf46b2d4836d5e0 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -379,7 +379,9 @@ public:
size_t getDeferredTextureImageData(const GrContextThreadSafeProxy&,
const DeferredTextureImageUsageParams[],
int paramCnt,
- void* buffer) const;
+ void* buffer,
+ SkSourceGammaTreatment treatment =
bsalomon 2016/06/13 14:11:39 Should this be here or part of DeferredTextureImag
cblume 2016/06/13 18:17:16 Sounds good. I'll wait to hear from brianosman@. F
Brian Osman 2016/06/13 18:22:09 Yes, kIgnore will match existing (legacy) behavior
+ SkSourceGammaTreatment::kRespect) const;
/**
* Returns a texture-backed image from data produced in SkImage::getDeferredTextureImageData.

Powered by Google App Engine
This is Rietveld 408576698