Chromium Code Reviews

Unified Diff: gm/yuvtorgbeffect.cpp

Issue 2037413002: Add SkSourceGammaTreatment enum so we know how to create mips (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove leftover comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: gm/yuvtorgbeffect.cpp
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp
index 40a2f03f27e223f50ed04541b6e9e9f9d9165311..f0c0955570f255aeb7f5cf25405cd5b783e7f3f9 100644
--- a/gm/yuvtorgbeffect.cpp
+++ b/gm/yuvtorgbeffect.cpp
@@ -82,11 +82,11 @@ protected:
SkAutoTUnref<GrTexture> texture[3];
texture[0].reset(GrRefCachedBitmapTexture(context, fBmp[0],
- GrTextureParams::ClampBilerp()));
+ GrTextureParams::ClampBilerp(), false));
texture[1].reset(GrRefCachedBitmapTexture(context, fBmp[1],
- GrTextureParams::ClampBilerp()));
+ GrTextureParams::ClampBilerp(), false));
texture[2].reset(GrRefCachedBitmapTexture(context, fBmp[2],
- GrTextureParams::ClampBilerp()));
+ GrTextureParams::ClampBilerp(), false));
if (!texture[0] || !texture[1] || !texture[2]) {
return;
« no previous file with comments | « gm/texturedomaineffect.cpp ('k') | include/core/SkShader.h » ('j') | src/gpu/SkGr.cpp » ('J')

Powered by Google App Engine